Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 724
  • Last Modified:

Nagios checking sonicwall uptime

When checking one sonicwall the uptime is shown correctly, where as the other is incorrect.

[root@nagios ~]# /usr/local/nagios/libexec/check_snmp -H 10.1.1.9 -C public -o sysUpTime.0 -v
/usr/bin/snmpget -Le -t 1 -r 5 -m ALL -v 1 [authpriv] 10.1.1.9:161 sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (20142368) 2 days, 7:57:03.68
SNMP OK - Timeticks: (20142368) 2 days, 7:57:03.68 |

snmpwalk -v 2c -c public 10.1.1.9 system
SNMPv2-MIB::sysDescr.0 = STRING: Dell SonicWALL SRA 4200 (SonicOS SSL-VPN 7.5.0.0-6sv)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.8741.6
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (20164631) 2 days, 8:00:46.31


[root@nagios ~]# /usr/local/nagios/libexec/check_snmp -H 10.2.2.25 -C public -o sysUpTime.0 -v
/usr/bin/snmpget -Le -t 1 -r 5 -m ALL -v 1 [authpriv] 10.2.2.25:161 sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (9689595) 1 day, 2:54:55.95
SNMP OK - Timeticks: (9689595) 1 day, 2:54:55.95 |

10.1.1.9 has been up for 281 days. It is a SRA 4200 and 10.2.2.25 is a NSA 3500. Any clue why the uptime is reported incorrectly?
0
stlhost
Asked:
stlhost
1 Solution
 
SandyCommented:
i think snmp is unable to fetch system uptime.. instead of system's uptime, it is fetching up the snmp's service uptime. Please cross check.

you might need to modify the plugin or use differnt set of MIBs to get the exact details in Nagios Core.

TY/SA
0
 
stlhostAuthor Commented:
Had to modify the MIBs thanks
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now