monit-general
[Top][All Lists]
Advanced

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

Re: monit with systemd services


From: Werner Flamme
Subject: Re: monit with systemd services
Date: Mon, 31 Dec 2012 20:14:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

[29.12.2012 11:59] [Frank Murphy]:
> Having had a quick look at man monit.
> Online FAQ, ang Goole.
> 
> I still can't workout how to put,
> a monit syntax to watch rsyslog,
> most of the systemd stated services,
> use no pid.

What OS are you using? In openSUSE 12.2, you have /var/run/rsyslogd.pid
to watch.

You might add something like "-i /var/run/rsyslogd.pid" to the
SYSLOGD_OPTIONS variable set in /etc/sysconfig/rsyslog if it is not
already there.

Following the man page (man 8 rsyslogd), the -i option for rsyslogd
means "Specify an alternative pid file instead of the default one.  This
option must be used if multiple instances of rsyslogd should run on a
single machine."

HTH
Werner



reply via email to

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