Where to put Plugin


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?




It would seem you have not defined the “check_procs” object… normally this would live in commands.cfg and you may already have a similar definition for check_local_procs which also points to the check_procs plugin.