Page 2 of 2

Re: Configuration Issue?

Posted: Tue Apr 12, 2016 3:44 pm
by lmiltchev
Can you show the actual check that you are running from the command line on the Nagios XI server along with the output of it? Also, show us how the command is defined on the client.

Example:

On XI server:

Code: Select all

# /usr/local/nagios/libexec/check_nrpe -H <client ip> -c check_users -a '-w 2 -c 5'
USERS OK - 1 users currently logged in |users=1;2;5;0
On the client machine:

Code: Select all

command[check_users]=/usr/local/nagios/libexec/check_users $ARG1$

Re: Configuration Issue?

Posted: Thu Apr 14, 2016 3:53 pm
by trafalgargirl
So it turns out it was a badly configured firewall on AWS. I had created a 'nagios' rule but the person who implemented the server didn't use those ... d'oh!!!

Thanks :)

Re: Configuration Issue?

Posted: Thu Apr 14, 2016 3:56 pm
by rkennedy
Doh! Great to hear you got it working :-)

Are we good to mark this thread as resolved?

Re: Configuration Issue?

Posted: Thu Apr 14, 2016 8:03 pm
by eloyd
Wait, can't close it yet. She forgot to say "with more help from Eric Loyd, who figured out it was an AWS issue...." :mrgreen: :P :D