Monitor one PC from two separate Nagios installs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
crisdaniels
Posts: 4
Joined: Wed Dec 23, 2015 9:37 pm

Monitor one PC from two separate Nagios installs

Post by crisdaniels »

Wondering if in the NSC client setup, can I monitor a single PC from two completely separate ( a Nagios and a Nagios XI) installs?

if so , how are the host IP's comma separated ? Not sure how I could add two servers in the NSC client installer or do I just modify the .ini once the install is complete and add the second Nagios server?

Thanks!!!!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Monitor one PC from two separate Nagios installs

Post by hsmith »

My nsclient.ini for example:

Code: Select all

; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges.
allowed hosts = 127.0.0.1, 192.168.4.18, 192.168.4.198, 192.168.4.222, 172.16.0.0/24
After making this change, you'll also need to restart the NSClient service:

Code: Select all

net stop nscp
net start nscp
Does this clear it up?
Former Nagios Employee.
me.
Locked