I am using nagios-3.0.3 and nagios-plugins-1.4.12
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
'check_local_procs' command definition
command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
service_description Total Processes
ls -al check_procs
-rwxrwxr-x 1 nagios nagcmd 365072 Jul 7 16:04 check_procs
[root@nagios libexec]# pwd
But i am getting the following errors :
Jul 8 20:10:46 nagios nagios: Warning: Return code of 127 for check of service 'Total Processes' on host 'linuxhost' was out of bounds. Make sure the plugin you're trying to run actually exists.
Please help me i am new to nagios.