Solved

Nagios checking sonicwall uptime

Posted on 2014-09-16
2
588 Views
Last Modified: 2016-11-23
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
Comment
Question by:stlhost
2 Comments
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 40327204
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
 
LVL 2

Author Comment

by:stlhost
ID: 40335258
Had to modify the MIBs thanks
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Before I go to far, let's explain HA (High Availability) and why you should consider it.  High availability is the mechanism used to provide redundancy to any service at the same site and appears as a single service to the users of that service.  As…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now