clamav socket check times out
Alex
mysqlstudent at gmail.com
Tue May 7 22:06:38 CEST 2013
Hi,
I have an fc17 box with nagios-3.4.4 and using the clamd plugin, among
others, to check on my systems. For some reason the clamd plugin very
frequently times out when run through nrpe:
command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H
/var/spool/amavisd/clamd.sock -t 15
Even with a timeout period of 15s, it still very frequently reports
the following:
[1367955948] SERVICE ALERT:
mail01;PROCS-clamd;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 15
seconds
[1367955958] SERVICE ALERT: mail01;PROCS-clamd;OK;SOFT;2;CLAMD OK -
3.568 second response time on socket /var/spool/amavisd/clamd.sock
[PONG]
This occurs on multiple servers, not just this mail01 system, and even
when the system is idle. The plugin comes from the package
nagios-plugins-tcp-1.4.16-5.fc17.x86_64 and I'm using clamav-0.97.7.
What is the procedure the check_clamd process uses to query the socket?
What could be the reason for this timeout occurring so frequently?
Could it be an issue with the maximum number of connections for clamd?
Any time I run the command manually, it succeeds, and comes back instantly.
Thanks for any ideas,
Alex
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
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