Re: check_nrpe operations on windows
Posted: Tue Aug 28, 2018 12:38 pm
OK, tgriep, I think you nailed it.
I went step-by-step through the article until I got to the "Update Configuration" File section. More specifically, it was the "allowed_hosts=" line in the "/usr/local/nagios/etc/nrpe.cfg" file. I swear I've looked at this and added before but I was missing my actual server IP address. It even says, "
At this point NRPE will only listen to requests from itself (127.0.0.1). If you wanted your nagios server to be able to connect, add it's IP address after a comma (in this example it's 10.25.5.2): allowed_hosts=127.0.0.1,10.25.5.2."
So I added the server IP after the loopback, ran the test and it looks like it is working (assuming the test below looks correct).
local:/usr/local/nagios/libexec$ ./check_nrpe -H 10.192.3.173
I (0.5.2.35 2018-01-28) seem to be doing fine...
I went step-by-step through the article until I got to the "Update Configuration" File section. More specifically, it was the "allowed_hosts=" line in the "/usr/local/nagios/etc/nrpe.cfg" file. I swear I've looked at this and added before but I was missing my actual server IP address. It even says, "
At this point NRPE will only listen to requests from itself (127.0.0.1). If you wanted your nagios server to be able to connect, add it's IP address after a comma (in this example it's 10.25.5.2): allowed_hosts=127.0.0.1,10.25.5.2."
So I added the server IP after the loopback, ran the test and it looks like it is working (assuming the test below looks correct).
local:/usr/local/nagios/libexec$ ./check_nrpe -H 10.192.3.173
I (0.5.2.35 2018-01-28) seem to be doing fine...