Page 1 of 1

Custom monitoring using Nagios?

Posted: Mon Dec 21, 2020 4:42 am
by FrederickCaleb
Hi everyone,

We have created custom monitor and it will take host name / IP address as argument and while running manually it is working fine but when configuring as service, it is throwing error and Nagios is not getting started. PFB details.

command definition :

define command {

command_name check_proc_count
command_line /usr/local/nagios/libexec/check_proc_count_nt $ARG1$
}

service definition :

define service {
use generic-service
host_name testhost
service_description testing
check_command check_proc_count testhost
}