One process that has worked for me is: a) write a shell script that tests for a condition b) run the shell script in cron & write status output to a file c) report the output via snmp
In this forum post http://forums.zenoss.com/viewtopic.php?t=7231 I wrote (with a lot of help & advice from Chet Luther) a shell script that tests how long a process has been running for. The time in seconds is written to a file That file is read via snmpd. The zenoss server checks that value (returned by snmpd) against a threshold. You could do something similar by writing the size of file A as a value in bytes to file B, reporting the value in B over snmpd and then testing that value at the Zenoss server. I summarize the steps I followed here: http://www.zenoss.com/community/wiki/tips-and-tricks/HowToTestForAProcessThatRunsTooLong/ Hope this helps, David -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=30561#30561 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
