Re: To generate snmp trap by the agent

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]



On 13 October 2010 09:39, yogesh m <[email protected]> wrote:
>
> i am just trying that when ever host status is enable i get a trap
>
> agent have the host resource values  in a table
> and for that table having index 0 i am trying to get trap for status
> variable

But you still haven't answered my question:

>> OK - You've defined the routine to generate the trap.
>> When is this routine called?  What does that code look like?

*Somewhere* in your code, there must be a call to the
send_mySysDown_trap() routine, otherwise that trap will
never be generated.
    Where are you calling this routine?

Dave

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.