Re: receive a trap

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 12/03/2008, snmp girl <[email protected]> wrote:
> I try snmpTrapAddr udp:hostname:162
> with hostname: 192.168.192.120
> but It gives me that snmptrapaddr no known as a cmd

I believe that Mike was suggesting this as a configuration
directive, rather than a DOS command.
   Personally,  I'd tend to specify this on the command
line directly:

    snmptrapd -f -Le  udp:192.168.192.120:162


But you will still need to create the snmptrapd.conf
file, to set the trap access control stuff.




> ah another question should I create the snmpd.conf file or not

Are you going to be working with the Net-SNMP agent,
or just the trap receiver?    snmpd.conf is used with the agent.
snmptrapd.conf is used with the trap receiver.

I would tend to suggest that you concentrate on one at a time.
Get the trap receiver working first, and *then* worry about
the agent.

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