Hi, everyone,
I’m new to Nagios and I am trying to create a command using one included plugin from nagios plugins.
Here is my command:
define service{
use local-service ; Name of service template to use
host_name jacques
service_description Check Evolution
check_command check_procs!0!!evolution
}
When running this at a shell, it returns
PROCS OK: 3 processes with args 'evolution’
When I check the script, I get the error
:Error: Service check command ‘check_procs’ specified in service ‘Check Evolution’ for host ‘jacques’ not defined anywhere!
if I navigate to /usr/local/nagios/libexec, the plugin is there. What am I doing wrong?
Thanks