icingaweb2-module-pnp icon indicating copy to clipboard operation
icingaweb2-module-pnp copied to clipboard

Dependency of Module does not match existing Icingaweb version

Open laugmanuel opened this issue 3 years ago • 4 comments

Icingaweb2 reports unmet dependencies:

image

However, the affected Icinga installation uses monitoring in 2.9.2 image

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

laugmanuel avatar Aug 10 '21 12:08 laugmanuel

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)

ryanrudak avatar Oct 05 '21 09:10 ryanrudak

Just to confirm @ryanrudak bug fix solution , when I done that change , dependency is correctly validated.

dpenezic avatar Nov 07 '21 20:11 dpenezic

Confirmed, I had the same issue, and the same fix.

withanhdammit avatar Nov 19 '21 00:11 withanhdammit

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.

jamespo avatar Nov 14 '23 09:11 jamespo