Re: SNMP Trap

"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 05/12/2007, Bojan Andonoski <[email protected]> wrote:
> Hello Dave
>
> Im litle bit lost in this. Because downloaded the library net-snmp-5.4.1.
> And in this folder are lots of files. Dont know how to use them and which
> one is for sending SNMP Traps.

Let's take a step back.
You originally said that you wanted to send traps from an SNMP agent.
Are you using the Net-SNMP agent, or something else?

What circumstances should trigger the traps?


> Whatr are those:
>      send_easy_trap( N, N );
>  or
>       send_v2_trap( vblist );
>
> ???

These are the API calls used by the Net-SNMP agent to generate a trap.
They are part of the agent code, rather than in the main Net-SNMP library.


> I only need a code of the agent(with a simple configuratiion) to send a
> trap to the maneger.I dont have to care about the Manager.

The Net-SNMP agent does have the capabillity of generating traps.
But it would be useful if you could expand a bit regarding exactly
what you're trying to do, and the environment you are working in.

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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.