Singh, Sandeep, VF UK - Technology (TS) wrote:
Hi
I have installed the net-snmp package on Windows 2000 machine.
When i am trying to register snmptrapd the message i am getting is
C:\>snmptrapd -register -Le -f -d 10.98.160.53
C:\>snmptrapd
No log handling enabled - turning on stderr logging
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
NET-SNMP version 5.3.0.1
No access configuration - dropping trap.
No access configuration - dropping trap.
No access configuration - dropping trap.
and it is dropping the traps every time i am registering it with various
options..
See the 'ACCESS CONTROL' section of the snmptrapd man page
(http://www.net-snmp.org/docs/man/snmptrapd.conf.html) to prevent the
traps from being dropped.
The first command you used (with -register) will register snmptrapd as a
*Windows service* and will add the command line options to the registry.
When you start the service using 'net start "Net-SNMP Trap Handler" or
by using the service control panel, it will start snmptrapd using the
command line options you specified. If you run snmptrapd on the command
line, it does not look at the registry for the command line options.
To test on the command line, use:
snmptrapd -Le -f -d 10.98.160.53
Alex
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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