Hi, >> 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 > > Perfect, thanks. I should have realized there would be a check_clamd > plugin (from nagios-plugins-tcp-1.4.15-4.fc15.x86_64 in my case).
I should add that in my specific case, I used the following: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock This failed with permission denied because /var/spool/amavisd was inaccessible to user nagios. I've changed the permissions to 711 so user nagios can access the directory which is owned by user amavis. Is this correct, or is it preferrable to add user nagios to the amavis group, or somehow run check_clamd as user amavis? Thanks again, Alex ------------------------------------------------------------------------------ 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@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@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