[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hearbeat

From: Jan-Henrik Haukeland
Subject: Re: hearbeat
Date: Tue, 8 Nov 2005 00:58:00 +0100

This hack should do what you want. The idea is to use a test that always will fail and only run this test every hour. Ugly, but should work.

set daemon 60
check file path /var/run/
       alert address@hidden with mail-format {see manual}
       if timestamp != 1 second then alert
       every 59 cycles

On 7. nov. 2005, at 17.50, Sorin S. wrote:

Hi Martin,
I wanted a heartbeat message to be sure the monit is
up and running as I can't open the firewalls to access
the monit console. The clients are particularly uneasy
to open firewalls externally for monitoring purposes.
But email is security friendly enough and can be
routed with ease.

The message can contain any text with some useful info
(for example:
<server_name>,`date`,`uptime`, etc
and the subject can be the actual FQDN of the box.

I can then parse the mbox for the heartbeat messages
and alert if I haven't got one from monit in a certain
This is particularly usefull is one has hundreds of
machines to look after.
It might be strange, but in my experiece it is
Let me know what you think about it...

--- Martin Pala <address@hidden> wrote:


can you explain the idea little bit more? (how it is
expected to work -
e.g. what should the mail contain, etc.)


Sorin S. wrote:
Would be possible to have monit sending a
email (or something else) on a configurable
That would make it easy to monitor lots of
without the need to open a port...

To unsubscribe:

To unsubscribe:

Jan-Henrik Haukeland
Mobil +47 97141255

reply via email to

[Prev in Thread] Current Thread [Next in Thread]