SNMP : sysUptime and hrSystemUptime on SGI IRIX [Was [Re: Getting Nagios and AIX SNMP working together happily]]
Michael Weiner
hunter at userfriendly.net
Sat Mar 10 21:19:11 CET 2007
On 3/10/07 2:38 PM, "Raphaël 'SurcouF' Bordet" <surcouf at debianfr.net> wrote:
> 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&f
> name=/usr/relnotes/host_snmp
>
Raphael -
I will check it out, but i DO appreciate your response. I have looked at
that page before, and have been trying to get it working correctly - i must
be missing something but i will happily re-read the page again.
Michael
-------------------------------------------------------------------------
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