RE: traphandler not working on winows xp/vista
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC0C6F3F50@mailserver.metatv-ds.metatv.com> |
> From: Sridhar S [mailto:[email protected]] > Sent: Friday, June 05, 2009 3:46 AM > I've installed net-snmp 5.4.1 on windows xp/vista.I've a > specified the traphandler in the snmptrapd.conf like I > mentioned below : > > > traphandle 1.3.6.1.6.3.1.1.5.2 c:\usr\handletrap.bat > > traphandle default c:\usr\handletrap.bat > > For the traphandle, I am passing a batch file > (handletrap.bat) which has to be run when specified traps are > received.But when the traps are received , I see handletrap.bat > not run , and not even the default traphandler is getting called. http://www.net-snmp.org/docs/FAQ.html#My_traphandler_script_doesn_t_work_when_run_like_this___why_not_ http://www.net-snmp.org/docs/FAQ.html#How_do_I_handle_traps_and_notifications_ Note the access control clause in the second one. HTH, Mike ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ 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