[HELP]NRPE Command not defined

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

[HELP]NRPE Command not defined

Postby EliteDM » Fri Jul 03, 2020 1:52 pm

Hey there!

I've installed Nagios Core and monitor serval services on a CentOS system - everything works fine.
Now i've added a new debian systemca and there nagios says for example the check_users
"NRPE: Command 'check_users!-w!2!-c!3' not defined"

but on cli it works fine!
/usr/local/nagios/libexec/check_nrpe -H myhost.example -c check_users
USERS OK - 1 users currently logged in |users=1;5;10;0


Code: Select all
define service{
        use                     generic-service
        host_name               myhost.example
        service_description     USERS
        check_command           check_nrpe!check_users!-w 2 -c 3
}


Code: Select all
define command{
        command_name check_nrpe
        command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}


Some hints for me?
EliteDM
 
Posts: 1
Joined: Fri Jul 03, 2020 11:43 am

Return to Community Support

Who is online

Users browsing this forum: No registered users and 15 guests