[Nagiosplug-devel] [ nagiosplug-Bugs-1867716 ] check_snmp invalid performance data

SourceForge.net noreply at sourceforge.net
Sat Jan 12 12:07:27 CET 2008


Bugs item #1867716, was opened at 2008-01-09 15:46
Message generated for change (Comment added) made by pitchfork
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1867716&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Joerg Linge (pitchfork)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp invalid performance data

Initial Comment:
check_snmp produces invalid performance data.

Version:
check_snmp v1859 (nagios-plugins 1.4.11)

Call:
check_snmp -H localhost -C public -o sysUpTime.0

Output:
SNMP OK - Timeticks: (49845368) 5 d | SNMPv2-MIB::sysUpTime.0=Timeticks: (49845368) 5 d

OS: Linux SuSE 2.6.11.4-21.17-bigsmp

Compiler:
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

Kind regards
Jörg




----------------------------------------------------------------------

>Comment By: Joerg Linge (pitchfork)
Date: 2008-01-12 12:07

Message:
Logged In: YES 
user_id=1353850
Originator: YES

sysUpTime.0 was just an example!

I think check_snmp should only provide performance data on interger
values.
Just to be sure the performance data ist valid.
 
Jörg

----------------------------------------------------------------------

Comment By: Thomas Guyot (dermoth)
Date: 2008-01-11 22:55

Message:
Logged In: YES 
user_id=375623
Originator: NO

This is the expected behavior; chhek_snmp doesn't know anything about
TimeTicks

Perhaps passing -Ot would help, but it would require different parsing and
I don't know how it would affect any the the many special data formats in
SNMP.

This would be better suited as a feature request. However it would be much
easier to just write a local check (run trough nrpe or check_by_ssh) that
parse uptime.

Also you should keep in mind that the SNMP uptime is the SNMP daemon
uptime, not the server uptime (in other words you're ok as long as you
don't restart the daemon).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1867716&group_id=29880




More information about the Devel mailing list