snmptrap no send trap !
"Frederic Leger" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <002e01ca53b7$a1dc7260$e5955720$@fr> |
Hello, I have a Windows server (SNMP agent) which need to send a trap to some other servers (SNMP manager). After normal net-snmp install (v5.5.0.1), I use correctly some net-snmp commands (example with snmptranslate). But when I try to send the trap with snmptrap : no trap are generated. Firewall is not active. Example : file "c:\usr\etc\snmp\snmp.conf" contains : # mibdirs C:/usr/mibs persistentDir C:/usr/snmp/persist tempFilePattern C:/usr/temp/snmpdXXXXXX defCommunity public defVersion 1 clientaddr <manager IP address = 192.168.1.3> doDebugging 0 logTimestamp yes showMibErrors yes dumpPacket yes # Test send trap : c:\>snmptrap -v 1 -c public <agent IP address = 192.168.1.2> "" "" 0 UCD-SNMP-MIB::ucdStart "" After few seconds snmptrap quit without message and no packet was sent (check with packet sniffer on the agent). 1/ What is the problem and how can I correct it? 2/ How can I define IP address manager not by snmp.conf but by arguments in command line, or other "dynamic" methods? I do not find anything in help and forum. Regards. -------------------------------------------- Frederic Leger IT infrastructure manager visit our website: http://www.corys.com -------------------------------------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ 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