monit-general
[Top][All Lists]
Advanced

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

Re: postfix, anyone


From: rory
Subject: Re: postfix, anyone
Date: Thu, 8 Aug 2002 01:10:53 -0700 (PDT)

> On Wed, Aug 07, 2002 at 06:35:28PM -0700, Rory Toma wrote:
>> Before I go and figure out how to do this...
>
>> I'm now running monit on my personal server (monit's not just for work
>> anymore!) and one of the things I run is postfix instead of sendmail.
>> Does anyone have a working monitrc statement for postfix? I believe it
>> runs at least master and qmgr regularly. However these are all started
>> from a postfix binary that starts other binaries and then exits, so
>> the hacking pid file into init script doesn't work. I suppose one
>> could modify qmgr and master to write pid files, but it would be nice
>> to work without that.
>
> from my monitrc:
> check master with pidfile /var/spool/postfix/pid/master.pid
>        start program = "/etc/init.d/postfix start"
>        stop  program = "/etc/init.d/postfix stop"
>        port 25 use type tcp with proto smtp
>        alert address@hidden
>

Gee. The pid file is right there... Next time, I'll just look instead of
reading thru the docs. 8-)
Thx.

> it works ...
>
> --
> Igor Homyakov
> <homyakov AT ramax.spb.ru>
>
> --
> To unsubscribe:
> http://mail.freesoftware.fsf.org/mailman/listinfo/monit-general






reply via email to

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