RE: How do I detect kill -9 snmpd?
Vahid K <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the response Mike. Just for clarification... Am I to understand that there is no way to detect snmpd is dead from inside the snmp subaganet? In that case I could call send_v2trap() and wouldn't know snmpd is gone. correct? Thanks > Subject: RE: How do I detect kill -9 snmpd? > Date: Mon, 8 Sep 2008 09:30:17 -0700 > From: [email protected] > To: [email protected]; [email protected] > > > > From: [email protected] > > [mailto:[email protected]] On > > Behalf Of Vahid K > > Sent: Friday, September 05, 2008 12:35 PM > > > I'm using Redhat and Suse Enterprise versions of Linux. I > > have a generic question about snmpd. I have a subagnet which > > at the moment only sends snmp traps using void send_v2trap(). > > If someone does "kill -9 (Processid for snmpd)" is there any > > way to detect it? > > Basically, no. Signal 9 is uninterceptable. That's it's point and purpose. It should nevert be used for routine shutdown, only as a last resort. Agents killed with this signal will not send traps to indicate they are going down, which is why a good NMS never relies solely on traps. > > > HTH, > > Mike > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 > _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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