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.
vvz
Posts: 187 Joined: Wed Oct 30, 2013 5:15 pm
Post
by vvz » Thu Oct 30, 2014 1:32 pm
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...
Post
by slansing » Thu Oct 30, 2014 3:45 pm
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
Post
by vvz » Fri Oct 31, 2014 10:54 am
thank you, it makes my life easier
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Fri Oct 31, 2014 10:59 am
Should we keep this open for you to test or are you okay to close the thread?
Former Nagios employee