Sounds to me like the trap.cfg file must be different on the other machine. You could get ride of the comment lines (lines that start with '#'). Compare the cfg files for differences.
<SNMP> is reading a line from the file in $naspath. The line gets split into the @token array and the elements compared with strings.
In reply to Re^3: Need help with SNMP script
by Lotus1
in thread Need help with SNMP script
by Xandrex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |