RE: How do I detect kill -9 snmpd?
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC094531F0@mailserver.metatv-ds.metatv.com> |
> 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