LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-10-2009, 09:56 AM   #1
DrStrangepork
LQ Newbie
 
Registered: Aug 2009
Posts: 22

Rep: Reputation: 15
Nagios plugin check_snmp not returning correct information


I compiled the check_snmp plugin for Nagios, and I am trying to check for system uptime. The plugin is not returning the full system uptime string. See here:

# ./check_snmp -H server -C public -o .1.3.6.1.2.1.25.1.1.0
SNMP OK - 11:55.13
# snmpget -c public -v 1 server .1.3.6.1.2.1.25.1.1.0
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (55153772) 6 days, 9:12:17.7

check_snmp only returns the HH:MM info. Any idea why or how to fix it?
 
Old 09-23-2009, 07:03 PM   #2
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 126

Rep: Reputation: 20
Nagios

Can't access my Nagios server right now but are you sure the check_snmp plugin is using snmp v 1? Just a thought...
Have you tried the Nagios forum? It's a pretty good one.
 
Old 09-25-2009, 10:43 AM   #3
DrStrangepork
LQ Newbie
 
Registered: Aug 2009
Posts: 22

Original Poster
Rep: Reputation: 15
I am using v1. I have worked around the issue, but I am still curious about it. Maybe I will try the Nagios forum. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use Nagios plugin? dwarf007 Linux - Software 20 10-03-2011 06:11 AM
using nagios check_snmp plugin to get snmp info from computer umarzuki Linux - Networking 2 09-08-2009 03:12 AM
nagios check_snmp not found sp149 Linux - Server 8 06-11-2009 09:50 PM
Nagios check_snmp plugin not found ataru Linux - Server 8 04-10-2009 02:18 PM
firefox-32 returning library / plugin errors Broder Linux - Desktop 1 12-21-2006 05:09 AM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration