[Top][All Lists]

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

Re: Problem monitoring a PID file

From: Phil Guier
Subject: Re: Problem monitoring a PID file
Date: Wed, 16 Jul 2003 21:23:24 -0700 (PDT)

It was actually version 3.1 that worked. Problem fixed!
Thanks for all your hard work on monit. I have gone through many hours of researching various monitoring applications and they are either much too complicated or were lacking an essential ingredient. Monit is the perfect fit for my application. I'm looking forward to your next release.

Jan-Henrik Haukeland <address@hidden> wrote:
Phil Guier writes:

> First some background info. I am using monit to monitor httpd and sshd on
> a remotely located voicemail system. I would like to also monitor the
> daemon that is running the voicemail application but it doesn't "listen"
> on any port. Netstat shows that it is a Unix socket.
> The application is AsteriskPBX and all I want to do is monitor the
> file in /var/run/ and if monit doesn't see it, it will email
> me.
> Here is the code snippet:
> check asterisk with pidfile /var/run/
> alert address@hidden
> with mail-format {subject: Asterisk is down!}
> When I shut down asterisk, and the pidfile is gone, monit doesn't email me
> or even post an entry to the /var/log/monit logfile. (BTW-the sshd and
> httpd pidfile checks work just fine. They also specify hosts and ports. )
> What am I doing wrong?

You are not doing anything wrong, it's us :-) Seems like the code was
changed and that you will have to define at least a start statement
for monit to send you a report. This is a bug and we will certainly
re-add this feature in the upcomming monit release, so your statement
will work again.

I think you will have to go back to monit-3.0 to get what you need.
(Check the change log though since bugs have been fixed. Check that
they do not affect you if you decide to go for the 3.0 release).

Jan-Henrik Haukeland

To unsubscribe:

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
reply via email to

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