Hello,
I need check from clamav, the result of diary scan and result of download signatures , I download two scripts but I don't know , how integrate in
the servers, someone can help me ?
Thanks
Check clamav
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Check clamav
Hello, @JBL. What plugins are you trying to use? Can you provide a link? Usually, plugins on the Nagios exchange have instructions on how to use them in the description. Such as this one:
https://exchange.nagios.org/directory/P ... an/details
https://exchange.nagios.org/directory/P ... an/details
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Check clamav
Hello,
I got this scripts:
https://exchange.nagios.org/directory/P ... in/details
https://exchange.nagios.org/directory/P ... 1539165033
I copied the scripts in /usr/lib64/nagios/plugins
I have edited the file commands.cfg and I have added:
define command {
command_name check_update_clamav
command_line /usr/lib/nagios/plugins/check_clamav $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$
}
But I don't know hot to configure in the server this new command
A greeting , thanks
I got this scripts:
https://exchange.nagios.org/directory/P ... in/details
https://exchange.nagios.org/directory/P ... 1539165033
I copied the scripts in /usr/lib64/nagios/plugins
I have edited the file commands.cfg and I have added:
define command {
command_name check_update_clamav
command_line /usr/lib/nagios/plugins/check_clamav $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$
}
But I don't know hot to configure in the server this new command
A greeting , thanks
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Check clamav
The example in the exchange listing just shows this running locally, so the command would look something like this
or
and then you can use the following as $ARG1$ on the service
Code: Select all
/usr/local/libexec/nagios/check_clamav -w 3 -c 4
Code: Select all
define command {
command_name check_update_clamav
command_line /usr/lib/nagios/plugins/check_clamav $ARG1$
}
Code: Select all
-w 3 -c 4