Page 1 of 1

Monitor one PC from two separate Nagios installs

Posted: Wed Dec 23, 2015 9:51 pm
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!!!!

Re: Monitor one PC from two separate Nagios installs

Posted: Mon Dec 28, 2015 11:23 am
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?