Monitoring clamd.amavisd

Alex mysqlstudent at gmail.com
Wed Oct 19 07:38:10 CEST 2011


Hi,

I need to monitor the clamd.amavisd binary, but having difficulty with
the check_procs command. When using the following check_procs, it
isn't able to identify any running processes:

# /usr/lib64/nagios/plugins/check_procs -w 1: -c 1: -C clamd.amavisd -u amavis
PROCS CRITICAL: 0 processes with command name 'clamd.amavisd', UID =
496 (amavis)

However, the process is there:

# ps ax|grep clam
 1066 ?        Ssl    1:13 clamd.amavisd -c /etc/clamd.d/amavisd.conf
--pid /var/run/clamd.amavisd/clamd.pid

If I change the check_procs to just look for "clamd", it matches, but
it also matches clamdscan, which also runs periodically, and I don't
want it to do that.

Do you have any suggestions for what the problem may be? Is it because
of the dot between clamd.amavisd?

Thanks for any ideas.
Best regards,
Alex

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list