Generic SNMP monitor using snmpget
Published Mar 12, 2015
Version 1.0Was this article helpful?
Why is this monitor failing when the 'echo' is done in function response ()?
i have re-downloaded this and it still fails to complete the script. i have put it on another system and it also fails to complete the script.
If I log right after the echo it doesn't appear in the log.
It have tried moving the echo response and it doesn't matter. It seems that as soon as the echo is issued the process finishes and nothing else is processed including the remove of the pid file. The next time it runs it finds the file and errors trying to kill the process (that had finished!).