Well, not that I actually know how to do this, but internally Zenoss 
does have heartbeats for its daemons. No idea if you're interested in 
diving into the code though.

Alternatively:
Is there a way to test the process by creating a fake job? Something 
analogous to test loading a webpage that would fail when it freezes?

Zenoss does indeed poll and create events, I don't think there is a 
reasonable way to use the built in command data sources etc to create an 
event on the lack of something.

The best idea I have is to instead of send an event to zenoss, write a 
log file with timestamps, and generate a command datasource that checks 
for new writes per some of the log monitoring zenpacks and forum posts, 
and if there isn't a new write in 5 minutes or whatever, it generates an 
event...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



NickH wrote, On 6/30/2009 3:36 PM:
> Unfortunately, the machine itself doesn't become unresponsive. The Automate 
> process spawns child processes which run the tasks. When one of these 
> children freeze, they stop all other tasks from executing, but the 
> non-ephemeral services on the machine look fine, and otherwise its 
> operational.
> 
> What I'm having a hard time doing is figuring out how to get ZenOSS to react 
> to the lack of an event rather than react the event itself. Pointers on how 
> to do this are greatly appreciated.
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=36490#36490
> 
> -------------------- m2f --------------------
> 
> 
> 
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to