Description of problem in RHS 3.0 Early Access release:
When configuring Nagios on RHS 3 EA, I followed this workflow:
- Setup allowed_hosts in /etc/nagios/nrpe.cfg
- service nrpe start
- Ran the discovery.py script on my main nagios node
The script will then return that nrpe is inaccessible (though it was running and the firewall is accepting everything).
After restarting nrpe, the script then worked.
I've had to do this on every node, i.e. a 'service nrpe start' && 'service nrpe restart' is required before nrpe will begin working.
nrpe service will be running by default, so "service nrpe start" doesn't have any effect.
We need to do "service nrpe restart" to get it work properly.