Check Uptime via SNMPv3
Posted: Tue Apr 03, 2018 10:48 pm
Good morning,
What is the correct syntax for checking uptime via SNMPv3? I am trying to create a check to alert if uptime is less than a day using SNMPv3. I can run the check without specifiging values but when trying to add a critical threshold, I receive a critical alerts despite the system being up for a over a day. Could anyone please assist?
08:41:21 up 1 day, 18:34, 1 user, load average: 0.84, 0.80, 0.87
ITOps is the SNMPv3 user name configured.
./check_snmp -H BigFixSISLinux -o sysUpTime.0 -l ITOps -x Password -X Password Uptime -c 8600000:0
SNMP CRITICAL - ITOps *137115* | ITOps=137115;;8600000;
IT-OPS-SYS
What is the correct syntax for checking uptime via SNMPv3? I am trying to create a check to alert if uptime is less than a day using SNMPv3. I can run the check without specifiging values but when trying to add a critical threshold, I receive a critical alerts despite the system being up for a over a day. Could anyone please assist?
08:41:21 up 1 day, 18:34, 1 user, load average: 0.84, 0.80, 0.87
ITOps is the SNMPv3 user name configured.
./check_snmp -H BigFixSISLinux -o sysUpTime.0 -l ITOps -x Password -X Password Uptime -c 8600000:0
SNMP CRITICAL - ITOps *137115* | ITOps=137115;;8600000;
IT-OPS-SYS