Solved

Nagios checking sonicwall uptime

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

739 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