|
This is how the heartbeat service is supposed to work.
When the agent is running, it will periodically send an 'OK' message to Nagios for the heartbeat service. When it shuts down, it sends a 'critical'. On Nagios, you set the freshness check to set status to 'critical' if no status has been received for a while. This way, it will go critical if the service goes down as no more OK messages will be being received. The critical willbe cleared by the periodic 'ok' that is sent by the heartbeat.
For filter services, how you deal with it is up to you. You can either send a OK message when you get a normal progress message (as with heartbeat), or else use freshness checks to set the status to OK after a period of time.
_________________ Steve Shipway UNIX Systems, ITSS, University of Auckland, NZ Woe unto them that rise up early in the morning... -- Isaiah 5:11
|