Regex matching with check_snmp and nagios
Hello There,
I'm trying to generate a critical error when my OID is at "0". but what ever I do it still say "SNMP OK" Code:
# ./check_snmp -H 192.6.2.150 -C public -o SNMPv2-SMI::mib-2.33.1.9.9.0 -r 0 But if I do the same check using a string on a diffrent OID it's working as expected: Code:
# ./check_snmp -H 192.6.2.150 -C public -o SNMPv2-MIB::sysContact.0 -r Com or Is there a bug to filter interger result? Best regards, Angel. |
Wow after few days still no answer!!!
Is my question is unclear or that difficult? Am I the only one to get this kind of issue? Regards, angel. |
If anyone got a lead I'll be thanks full.
Best regards, Angel. |
All times are GMT -5. The time now is 07:57 PM. |