Using NRPE with multiple monitoring hosts

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
twit
Posts: 1
Joined: Wed Nov 20, 2013 1:49 pm

Using NRPE with multiple monitoring hosts

Post by twit »

Please let me know if there are any concerns on using NRPE on a remote client host and having that single NRPE agent polled by 2 monitoring hosts. I have 2 groups that each have a nagios core monitoring host watching the same client host using NRPE. Some services will be monitored by both monitoring hosts and other services may be custom to a single monitoring host.

I would like to know if we should be concerned about this architecture or if we're doing a bad bad thing.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Using NRPE with multiple monitoring hosts

Post by tmcdonald »

I don't see any reason this wouldn't work. As long as you config it correctly to allow both servers it should be fine. The fact that you can specify multiple servers in the config hints at this. The *only* thing I can think of off the top of my head is a race condition or some blocking being done, but since I haven't looked at the source code personally I can't say really.
Former Nagios employee
Locked