2 nagios-servers IP in NRPE.cfg

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

2 nagios-servers IP in NRPE.cfg

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: 2 nagios-servers IP in NRPE.cfg

Post 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!
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

Re: 2 nagios-servers IP in NRPE.cfg

Post by vvz »

thank you, it makes my life easier
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: 2 nagios-servers IP in NRPE.cfg

Post by tmcdonald »

Should we keep this open for you to test or are you okay to close the thread?
Former Nagios employee
Locked