Page 1 of 1

2 nagios-servers IP in NRPE.cfg

Posted: Thu Oct 30, 2014 1:32 pm
by vvz
Hi!

I have 2 nagios servers in subnet and number of monitored hosts with NRPE installed.

In nrpe.cfg on each monitored host I put nagios-server1 IP and nagios-server2 IP like this
allowed_hosts=172.16.37.142, 172.16.37.139
Is it possible configuration? or it may cause any problem in the future?

I was using this kind of configuration for more than a month with no problems at all. Just wanna be sure.

Thank you

Re: 2 nagios-servers IP in NRPE.cfg

Posted: Thu Oct 30, 2014 3:45 pm
by slansing
No, you can have multiple addresses, the reason being, you may want to receive checks from multiple Nagios servers. Let us know if you run into issues!

Re: 2 nagios-servers IP in NRPE.cfg

Posted: Fri Oct 31, 2014 10:54 am
by vvz
thank you, it makes my life easier

Re: 2 nagios-servers IP in NRPE.cfg

Posted: Fri Oct 31, 2014 10:59 am
by tmcdonald
Should we keep this open for you to test or are you okay to close the thread?