monit-general
[Top][All Lists]
Advanced

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

Re: Monitoring clamav


From: Martin Pala
Subject: Re: Monitoring clamav
Date: Fri, 1 Dec 2006 23:11:42 +0100

You can use the pkill command for example:

--8<--
stop program = "/bin/pkill clamd'
--8<--


Martin

On Dec 1, 2006, at 10:44 PM, Dimitri Yioulos wrote:

Martin,

Thanks for your reply.  I certainly should have taken a closer look at
clamd.conf; I would have seen the (disabled) pid directive. This is probably a lesson in Linux 101, but how do I write the part of the directive to stop
clamav if my way of doing it now is to kill the clamav process?

Thanks again.



On Friday 01 December 2006 4:31 pm, Martin Pala wrote:
Hi,

You can use the PidFile option in the clamd.conf to set the path to
the pidfile.

Martin

On Dec 1, 2006, at 8:18 PM, Dimitri Yioulos wrote:
Hello to all.

I've had clamav, installed from source, running on a CentOS 3.8 box
for quite
some time.  Recently, the program has begun to close unexpectedly
due to a
segfault.  Of course, I'm doing what I can to correct this
problem.  Until I
do, I'd like monit to monitor and restart clamav as necessary.
.
I've looked at the monit clamav example directive, but it doesn't
fit my
particular install.  I start the program via the
command "/usr/local/sbin/clamd".  I stop it, if necessary, by
killing the
clamav process.  I'm aware the clamav is using port 3310.  However,
there is
no pid.  Would someone be so kind as to help me write the proper
clamav
directive(s) for monit?

Many thanks.

Diggy

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general





reply via email to

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