SNMP : sysUptime and hrSystemUptime on SGI IRIX [Was [Re: Getting Nagios and AIX SNMP working together happily]]
Raphaël 'SurcouF' Bordet
surcouf at debianfr.net
Sat Mar 10 20:38:45 CET 2007
Le samedi 10 mars 2007 à 11:08 -0500, Michael Weiner a écrit :
> Not trying to highjack this interesting thread, but has anyone managed to do
> the same against SGI IRIX? What annoys me most is that when i query system i
> get the uptime of the actual snmpd instance not the host - which may or may
> not necessarily be the same length of time. I have googled and googled and
> have had no real success.
>
> Anyone doing this that might be able to help?
Hi,
According to SNMPv2-MIB, syUpTime (OID you're talking about) is:
"The time (in hundredths of a second) since the network management
portion of the system was last re-initialized.".
If you want to get host uptime, you've better to check hrSystemUptime
from HOST-RESOURCES-MIB :
"The amount of time since this host was last initialized. Note that
this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because
sysUpTime is the uptime of the network management portion of the
system."
I've never used IRIX but I think you must have "host-snmp" subagent to
be running in order to implements RFC1514 (or HOST-RESOURCES-MIB) :
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=relnotes&fname=/usr/relnotes/host_snmp
Regards,
--
Raphaël 'SurcouF' Bordet
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list