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 10
Usage:
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.