lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
150 stars 87 forks source link

checkpoint hardware-health wrong status with --warningx and --criticalx #82

Closed Benedikt1992 closed 8 years ago

Benedikt1992 commented 8 years ago

E.g. on a checkpoint I have /boot which has 24% sapce free

now the check check_nwc_health --mode hardware-health --name xxx --comunity xxx --warrningx /boot_free_pct=20 --criticalx /boot_free_pct=10 should be OK since the sapce has more than 20% space left. But it is critical!

It seems that the check works like actual value > critical/warning limit => Not OK but it should be actual value < critical/warning limit => Not OK

lausser commented 8 years ago

1) --warrningx -> --warningx

2) https://nagios-plugins.org/doc/guidelines.html#THRESHOLDFORMAT The CRITICAL is correct here. --criticalx /boot_free_pct=10 means: critical, if more than 10

Gerhard

Von: Benedikt Bock [mailto:notifications@github.com] Gesendet: Donnerstag, 12. Mai 2016 12:00 An: lausser/check_nwc_health Betreff: [lausser/check_nwc_health] checkpoint hardware-health wrong status with --warningx and --criticalx (#82)

E.g. on a checkpoint I have /boot which has 24% sapce free

now the check check_nwc_health --mode hardware-health --name xxx --comunity xxx --warrningx /boot_free_pct=20 --criticalx /boot_free_pct=10 should be OK since the sapce has more than 20% space left. But it is critical!

It seems that the check works like actual value > critical/warning limit => Not OK but it should be actual value < critical/warning limit => Not OK

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/lausser/check_nwc_health/issues/82 https://github.com/notifications/beacon/AAMJODWiwuAulWE_hQCHhtKWptRCDA9Tks5qAvobgaJpZM4Ic6Fv.gif

Benedikt1992 commented 8 years ago

Right. My fault.. Thank You