Hello,

I cannot at present get the traphandle to call the traphandle script.

At present I can run the snmptrapd and I have configured the snmp.conf to
receive traps.
I can see the coldStart trap being received but my script is not run.

Within the snmptrapd.conf file I added the following line:

traphandle .1.3.6.1.6.3.1.5.1 /usr/bin/perl /usr/local/share/snmp/cold.pl

The perl script runs fine by itself.

I have placed the snmptrapd.conf within the directory /usr/local/share/snmp.

I cannot see the cold.pl script being ran since no output from the script is
seen.

Have I got to set some environment variable? I am running the trapd using:

./snmptrapd -f -Le

Any ideas? I know this should be obvious? Just missing something....

Cheers,
Garyc



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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

Reply via email to