Monitoring clamd.amavisd
Alan Munday
nagios at walkwith.me.uk
Wed Oct 19 19:24:33 CEST 2011
Alex wrote the following on 19/10/11 06:38:
> 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
>
Alex
I'm checking remote clamd.amavisd processes using check_clamd & nrpe via
the following:
On the remote servers in /etc/nagios/nrpe.cfg:
command[check_clamd]=/usr/lib/nagios/plugins/check_clamd -H
/var/run/clamd/clamd.sock
Then from the nagios server defining a service to call this:
check_command check_nrpe!check_clamd
HTH
Alan
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning at Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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