but as a general question what sort of things should i be looking at, or things that could help?Well, you should be looking at line 635 of /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Net/SNMP/Dispatcher.pm, that could give you a clue.
Without myself having done so, I suspect some network error (timeout?). So, something that could help - wrap your $session->trap calls into a block eval:
my $result; eval { local $SIG{__DIE__}; $result = $session->trap( -enterprise=>'.1.3.6.1.3.42', ... ); } if($@) { warn "error calling \$session->trap(): $@\n"; }
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re: SNMP Trap Help
by shmem
in thread SNMP Trap Help
by randomspam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |