Simply add a community to the informsink line: informsink <host> public
should solve the timeout. Baumgart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Goodenough Sent: Freitag, 22. Oktober 2004 11:12 To: [EMAIL PROTECTED] Subject: Re: Is there a standard "I have been rebooted" trap? On Friday 22 October 2004 09:27, Dave Shield wrote: > > > 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? > > The agent will automatically generate a coldStart trap, whenever it > starts up. You just need to have a "trapsink" (or "trap2sink", etc) > directive in the snmpd.conf file, to tell it where to send this trap. > > Dave That is exactly what I needed to know. Thanks. Interestingly when I looked at the man file for snmp.conf it said that all I needed was an informsink line (or at least that was the way I read it), so I added "informsinc <host> public" to snmpd.conf. This gave me persistant snmpd: send_trap: Timeout messages. When I changed snmpd.conf to read:- trapcommunity public trap2sink <host> informsink <host> it started to work. Is the man file in need of updating to make it clearer that you need all of them? 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
