-
Re: receive a trap
On 12/03/2008, snmp girl <snmp.girl@gmail.com> wrote:[color=blue]
> I try snmpTrapAddr udp:hostname:162
> with hostname: 192.168.192.120
> but It gives me that snmptrapaddr no known as a cmd[/color]
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.
[color=blue]
> ah another question should I create the snmpd.conf file or not[/color]
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.
[url]http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]