2,187
edits
m (Moved TOC) |
m (→Clam AV Service: Updated for Zimbra v8) |
||
(One intermediate revision by the same user not shown) | |||
Line 100: | Line 100: | ||
Checks that the Clam Anti Virus service is running. Requires [[Nagios#NRPE|NRPE]] to be installed and running 1st. | Checks that the Clam Anti Virus service is running. Requires [[Nagios#NRPE|NRPE]] to be installed and running 1st. | ||
On the Zimbra server, add the following to <code>/etc/nagios/nrpe.cfg</code> | On the Zimbra server, '''if you're running Zimbra v7 or earlier''', add the following to <code>/etc/nagios/nrpe.cfg</code> | ||
command[check_clamd]=/usr/lib/nagios/plugins/check_clamd -H localhost | command[check_clamd]=/usr/lib/nagios/plugins/check_clamd -H localhost | ||
On the Zimbra server, '''if you're running Zimbra v8''', add the following to <code>/etc/nagios/nrpe.cfg</code> | |||
command[check_clamd]=/usr/lib/nagios/plugins/check_clamd /opt/zimbra/data/clamav/clamav.sock | |||
Add a new service (on Nagios server)... | Add a new service (on Nagios server)... | ||
Line 141: | Line 144: | ||
=== LMTP === | === LMTP === | ||
Checks that [[ | Checks that [[Acronyms#L|LMTP]] (used internal routing of emails through Clam, to mailboxes, etc) is functioning. Requires [[Nagios#NRPE|NRPE]] to be installed and running 1st | ||
On the Zimbra server, add the following to <code>/etc/nagios/nrpe.cfg</code>. Note that you need to update the FQDN for your server in the expected return field. | On the Zimbra server, add the following to <code>/etc/nagios/nrpe.cfg</code>. Note that you need to update the FQDN for your server in the expected return field. | ||
Line 153: | Line 156: | ||
check_command check_nrpe!check_zimbra_lmtp | check_command check_nrpe!check_zimbra_lmtp | ||
} | } | ||
=== Spellcheck === | === Spellcheck === |