snmptranslate -TB .*time.*

snmptranslate -Td -IR hrSystemUptime

This also could come in mind. But the best way like Dave told coldStart
inform. that should work on all systems that can handle v2 informs, without
need of hrTable.

Baumgart


-----Original Message-----
From: Andy Smith [mailto:[EMAIL PROTECTED]
Sent: Freitag, 22. Oktober 2004 14:37
To: Baumgart Alexander
Cc: Net-Snmp Users (E-mail)
Subject: Re: Is there a standard "I have been rebooted" trap?


Baumgart Alexander wrote:
> If your system support DISMAN-EVENT-MIB u could fire a trap on sysUpTime
> reset perhaps. Look at man snmpd.conf for examples.
> 
> Baumgart

A method that I have used on a manager that did polling but no trap 
receiving was to poll sysUpTime and look for a reset. The chance for a 
false reboot message is higher with this method though, as it is really 
only indicative of the fact that the agent has been restarted. In 
practice, however I have found it to work a good percentage of the time.

Regards,
Andy

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of David
> Goodenough
> Sent: Donnerstag, 21. Oktober 2004 17:30
> To: Carlos Cantu
> Cc: [EMAIL PROTECTED]
> Subject: Re: Is there a standard "I have been rebooted" trap?
> 
> 
> On Thursday 21 October 2004 15:20, Carlos Cantu wrote:
> 
>>> So I thought how about sending out a trap as part
>>>of the boot sequence so that it would get logged centrally.  The
>>
>>question
>>
>>
>>>is what that trap should be and whether there is a "standard" OID etc
>>>that I can use?
>>
>>Sounds like you need a warmStart trap as defined in rfc 1907 or
>>thereabouts.
> 
> 
> Do you know how I generate that with a command line using net-snmp
> so that I can include it in the startup sequence?
> 
> Thanks in advance
> 
> David
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out
more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to