Matt, That will not work, because we don't have all our devices on maps, but yet everything still sends the traps to the system IM is running on.
So we need to log traps that for devices not on maps. Currently these go into the events log. We also would like the events log to be less messy, by not having the snmp traps in them. Steve -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Stevens Sent: Thursday, June 23, 2005 1:39 PM To: InterMapper Discussion Subject: Re: [IM-Talk] Wish List > 3) Ability to log SNMP TRAPS to it's own log file. You can do this with a notifier. Add Command Line notifier and use something like "trap-receiver.pl '${MESSAGE}'" as the Command. then put a script like the following in your Tools folder within Intermapper Settings. #!/usr/bin/perl open(LOGFILE, ">> /usr/local/share/intermapper/InterMapper_Settings/Tools/trap-log"); print LOGFILE "@ARGV[0]\n"; close(LOGFILE); This will put all your Traps into a file called trap-log. -- matt ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED] ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [EMAIL PROTECTED]
