Solved

Nagios checking sonicwall uptime

Posted on 2014-09-16
2
666 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This article is a how to to configure a UCS Ethernet-uplink portchannel via the console. It is easy to do and can be done quite quickly. In certain versions of the UCS manager the portchannel has issues coming up and this is a workaround. I am…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

628 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