Re: How to send a mail if trapsnmpd is not responding
"Vishal N" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
OK, thanks Dave. On Feb 18, 2008 5:50 PM, Dave Shield <[email protected]> wrote: > On 18/02/2008, Vishal N <[email protected]> wrote: > > I want to send a mail if trapsnmpd is not responding. > > Not responding to who? > The agent, or something else? > Responding to traps or informs, or what? > > It is not possible to do this for traps, since the application generating > a trap has no idea whether it was received or not. That's a fundamental > characteristic of SNMP traps. > > It would in principle be possible to do this for INFORM notifications, > since these _are_ acknowledged. But the current Net-SNMP agent > does not include anything of this sort - sending email is a much > higher level activity than the normal operation of the agent. > > It *might* be possible to tweak the agent code to make it do this, > but I'm not sure how straightforward it would be. The code isn't really > designed with this sort of thing in mind. > > There certainly isn't any documentation for this - you'd be very much > working on your own. > > Dave > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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