Re: How to send a mail if trapsnmpd is not responding

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008
Vishal N
 
Posts: n/a
Default Re: How to send a mail if trapsnmpd is not responding

--===============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 &lt;<a href="mailto:D.T.Shield@liverpool.ac.uk">D.T.Shiel d@liverpool.ac.uk</a>&gt; 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 &lt;<a href="mailto:vishalnandanwar@gmail.com">vishalnand anwar@gmail.com</a>&gt; wrote:<br>&gt; 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. &nbsp;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. &nbsp;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> &nbsp; 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. &nbsp;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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0