This is a discussion on Re: How to send a mail if trapsnmpd is not responding within the SNMP Users forums, part of the Networking and Network Related category; --===============1944622296== Content-Type: multipart/alternative; boundary="----=_Part_3707_32189442.1203345883538" ------=_Part_3707_32189442.1203345883538 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1944622296==
Content-Type: multipart/alternative; boundary="----=_Part_3707_32189442.1203345883538" ------=_Part_3707_32189442.1203345883538 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, thanks Dave. On Feb 18, 2008 5:50 PM, Dave Shield <D.T.Shield@liverpool.ac.uk> wrote: > On 18/02/2008, Vishal N <vishalnandanwar@gmail.com> 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 > ------=_Part_3707_32189442.1203345883538 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, thanks Dave.<br><br><div class="gmail_quote">On Feb 18, 2008 5:50 PM, Dave Shield <<a href="mailto:D.T.Shield@liverpool.ac.uk">D.T.Shiel d@liverpool.ac.uk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">On 18/02/2008, Vishal N <<a href="mailto:vishalnandanwar@gmail.com">vishalnand anwar@gmail.com</a>> wrote:<br>> I want to send a mail if trapsnmpd is not responding.<br><br></div>Not responding to who?<br> The agent, or something else?<br>Responding to traps or informs, or what?<br><br>It is not possible to do this for traps, since the application generating<br>a trap has no idea whether it was received or not. That's a fundamental<br> characteristic of SNMP traps.<br><br>It would in principle be possible to do this for INFORM notifications,<br>since these _are_ acknowledged. But the current Net-SNMP agent<br>does not include anything of this sort - sending email is a much<br> higher level activity than the normal operation of the agent.<br><br> It *might* be possible to tweak the agent code to make it do this,<br>but I'm not sure how straightforward it would be. The code isn't really<br> designed with this sort of thing in mind.<br><br>There certainly isn't any documentation for this - you'd be very much<br>working on your own.<br><font color="#888888"><br>Dave<br></font></blockquote></div><br> ------=_Part_3707_32189442.1203345883538-- --===============1944622296== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1944622296== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============1944622296==-- |