icingaweb2-module-pnp
icingaweb2-module-pnp copied to clipboard
Dependency of Module does not match existing Icingaweb version
Icingaweb2 reports unmet dependencies:
However, the affected Icinga installation uses monitoring in 2.9.2
Expected Behavior
The module should find the present version of monitoring and not report any unmet dependencies.
Current Behavior
The plugin reports unmet dependencies.
Possible Solution
Steps to Reproduce (for bugs)
Install the plugin an instance with Icingaweb2 2.9.2.
Context
The plugin works fine if it is activated, but a user can not activate it using the current icingaweb2 version (due to unmet dependencies).
Your Environment
- Module version (System - About): Pnp 1.1.0 (Commit 13a50efc38bab127ff865bea2e3b8bd466bec858)
- Icinga Web 2 version and modules (System - About): Icingaweb2 2.9.2 (Commit 07e25a923bd80001e9ab52bbbbc1008aa8befb06)
- Icinga 2 version (
icinga2 --version
): 2.13.0-1 - Operating System and version: RHEL 7.9
- Webserver, PHP versions: HTTPD 2.4.6-97 & PHP 7.3.20
I think the syntax convention in the 'module.info' file has changed.
from old: Depends: monitoring>=2.1.0
to new: Depends: monitoring (>= 2.1.0)
Just to confirm @ryanrudak bug fix solution , when I done that change , dependency is correctly validated.
Confirmed, I had the same issue, and the same fix.
With Icinga DB Web isn't the monitoring module outdated now & not required at all? Ideally the requirements would be updated to require one or other of monitoring or icingadb.