This commit is contained in:
Benjamin Renard 2021-05-12 11:27:23 +02:00
parent 205277d08e
commit acd6118470

View file

@ -10,7 +10,7 @@ This script use *clamdscan* utility to check a file and verify Clamav daemon sta
apt-get install clamdscan apt-get install clamdscan
git clone https://gogs.zionetrix.net/bn8/check_clamd.git /usr/local/src/check_clamd git clone https://gogs.zionetrix.net/bn8/check_clamd.git /usr/local/src/check_clamd
mkdir -p /usr/local/lib/nagios/plugins mkdir -p /usr/local/lib/nagios/plugins
ln -s /usr/local/src/check_mdb/check_clamd /usr/local/lib/nagios/plugins/ ln -s /usr/local/src/check_clamd/check_clamd /usr/local/lib/nagios/plugins/
echo "command[check_clamd]=/usr/local/lib/nagios/plugins/check_clamd" > /etc/nagios/nrpe.d/clamd.cfg echo "command[check_clamd]=/usr/local/lib/nagios/plugins/check_clamd" > /etc/nagios/nrpe.d/clamd.cfg
service nagios-nrpe-server reload service nagios-nrpe-server reload
``` ```