NRPE: Command xxxx not defined
Posted: Sun Sep 27, 2020 12:28 pm
I am getting the Command not defined error when accessing remote client
It certainly has something to do with arguments because check_apt command works correctly.
ALL other checks return STATUS Unknown
I have followed the guide at https://support.nagios.com/kb/article.php?id=515 to install the NRPE from source on my nagios server. When I test NRPE locally, I get version
NRPE v3.2.1
if I run
it returns
Usage:
check_users -w <users> -c <users>
if I run
it returns the number of users logged on.
Not sure what else to do.
It certainly has something to do with arguments because check_apt command works correctly.
ALL other checks return STATUS Unknown
I have followed the guide at https://support.nagios.com/kb/article.php?id=515 to install the NRPE from source on my nagios server. When I test NRPE locally, I get version
NRPE v3.2.1
if I run
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <remoteip> -c check_users -a -w 5 -c 10Usage:
check_users -w <users> -c <users>
if I run
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <remoteip> -c check_users -a '-w 5 -c 10'
Not sure what else to do.