Solved

Nagios checking sonicwall uptime

Posted on 2014-09-16
2
631 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 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