Getting Timeticks result
Posted: Sat Dec 15, 2018 1:34 am
Hi all,
How can set up the Nagios for getting the result like this?
[root@PROBE00 ~]# /usr/local/nagios/libexec/check_snmp -H 10.18.0.254 -C public -o sysUpTime.0
SNMP OK - Timeticks: (395527839) 45 days, 18:41:18.39 |
I'm getting this result:
[root@mail ~]# /usr/local/nagios/libexec/check_snmp -H 10.18.0.254 -C public -o sysUpTime.0
SNMP OK - 395059058 | DISMAN-EVENT-MIB::sysUpTimeInstance=395059058
I've tried to copy switch.cfg, commands.cfg to the 1st machine to the 2nd but nothing changed.
Tks,
NTQ
How can set up the Nagios for getting the result like this?
[root@PROBE00 ~]# /usr/local/nagios/libexec/check_snmp -H 10.18.0.254 -C public -o sysUpTime.0
SNMP OK - Timeticks: (395527839) 45 days, 18:41:18.39 |
I'm getting this result:
[root@mail ~]# /usr/local/nagios/libexec/check_snmp -H 10.18.0.254 -C public -o sysUpTime.0
SNMP OK - 395059058 | DISMAN-EVENT-MIB::sysUpTimeInstance=395059058
I've tried to copy switch.cfg, commands.cfg to the 1st machine to the 2nd but nothing changed.
Tks,
NTQ