SteScho / manubulon-snmp

Set of Icinga/Nagios plugins to check hosts and hardware with the SNMP protocol.
GNU General Public License v2.0
73 stars 71 forks source link

check_snmp_storage: fix SNMP error handling, see #33 #45

Closed sbraz closed 6 years ago

sbraz commented 6 years ago

It turns out the call to session->errors was already here but it was never reached because of the sort placed before it. I moved the sort after the check for an undefined $result.

fixes #33

dnsmichi commented 6 years ago

Thanks 👍