|Perl: the Markov chain saw|
I have a script that polls thousands of devices with Net::SNMP
If device needs attention I connect via SOCKET in myownmodule.pm and diddle some parameters in the device.
Works AOK but after a random number of diddles like one to a few dozen which are successful, perl stops, no error message, no crash, nothing unique about the device it stops on, echo $? = 0
Successful diddles are reported via STDOUT to a log file. The log file records the last diddle up to the point of executing the updating of a parameter in the device but perl quits talking before the confirming log message.
Upon polling the device afterwards, the update was successful!
This is very annoying because I have thousands of devices to tend to!
I need a clue of where to start looking and/or how I might capture some debug information. It would be rather tedious to run in debug mode.