matteocorti / nagios_plugins

18 stars 7 forks source link

check_updates should report "warning" instead of "critical" on non-critical updates #99

Closed matteocorti closed 8 years ago

matteocorti commented 8 years ago

Original reporter: anonymous

Currently non-critical updates spawn a critical nagios state. I'd suggest security fixes deserve critical, but a simple non-security-related available update to eject or man should not be given such a high-level alert.

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

Hi,

no it doesn't but I see that I have to update the documentation.

To achieve what you want you can just give a high value to both (I could add an option to achieve the same)

./check_updates --critical=10000 --warning=10000

will always return critical if a security update is available

But anyway thanks for the suggestion. I will

Matteo

matteocorti commented 8 years ago

Original reporter: matteo@corti.li

I added the --security-option in version 1.6.0