I tried get information with help default plugin "check_procs" on local server. But in web interface i can see UNKNOWN Status.
There are my settings:
In server.cfg
Code: Select all
define service{
use local-service ; Name of service template to use
notification_interval 0
hostgroup_name Servers
service_description Total Processes
check_command check_procs
}
Code: Select all
command[check_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200
Code: Select all
define command{
command_name check_procs
command_line $USER1$/check_procs -H $HOSTADDRESS$ -w 500 -c 300
}
Thanks!