Re: traphandle in Windows XP
Thomas Anders <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Govindan Ravindran wrote: > Has anyone had success in invoking a command in Windows XP using the > traphandle directive on 'snmptrapd.conf'? The command works separately > on Windows Command Shell but is not being invoked by the traphandle. I'm > trying to invoke certain action when i receive a coldstart trap from > Cisco. I'm seeing the coldstart trap but no action is being invoked. > > I used the following commands (Net-SNMP 5.4): > > to start the snmptrapd: > >>> snmptrapd -c C:/usr/etc/snmp/snmptrapd.conf -Le > > content of snmptrapd.conf: > > authCommunity log public > trapcommunity public > traphandle default cmd /c D:/BootScripts/traphandle.bat You probably want "authCommunity log,execute public", don't you? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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