Good morning,
I'm experiencing an issue that I haven't before while attempting to add 4 new servers to XI.
XI is not recognizing the servers when I try to add them through Auto-Discovery. It comes back with 0 New/0 Found.
I have verified connectivity to each server, I am able to telnet on port 5666 back to my XI server from the servers I'm trying to add, I have verified with my Network team that all necessary permits are in place (confirmed via telnet) and I have verified that Windows firewall is not enable on the devices. I have even reinstalled the NSClient on each server to no avail.
I'm at a loss for what else it could be.
Any advice would be greatly appreciated. Thank you.
Difficulty adding new servers to XI
Re: Difficulty adding new servers to XI
Are you running the Auto-Discovery wizard against individual IPs or you are using a range, e.g. "192.168.1.0/24"? Have you modified the /etc/sudoers file from the "default"?
If you know the IP addresses of your target machines, and you already installed NSClient++ agent on each one, why don't you just run the Windows Server wizard instead?I have even reinstalled the NSClient on each server to no avail.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Difficulty adding new servers to XI
I'm running auto-discover against individual IP addresses.
As far as I'm aware the /etc/sudoers file has not been modified recently. The only major change we've made in the last week was upgrading our environment to 5.5.7.
Hmmm, so it appears that when using the Windows Server wizard I'm able to add the device to Nagios. My question though, what is different between adding servers using auto-discovery versus adding them with a specific wizard? I've always used auto-discovery without issue.
As far as I'm aware the /etc/sudoers file has not been modified recently. The only major change we've made in the last week was upgrading our environment to 5.5.7.
Hmmm, so it appears that when using the Windows Server wizard I'm able to add the device to Nagios. My question though, what is different between adding servers using auto-discovery versus adding them with a specific wizard? I've always used auto-discovery without issue.
Re: Difficulty adding new servers to XI
The auto-discovery wizard used to be able to scan individual IP addresses. I believe this is a bug that was introduced in the later versions of XI. It will be fixed in the Nagios XI 5.5.8 that should be released sometime next week. If you don't want to wait, you could try the following workaround:I'm running auto-discover against individual IP addresses.
1. Backup you Nagios XI instance - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
2. Make a backup of the original autodiscover_new.php file
Code: Select all
cp -p /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php.orig4. Make sure the permissions are set correctly:
Code: Select all
chown root.nagios /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php
chmod 640 /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.phpThe typical use of the Auto-Discovery wizard is to check for any network devices attached to a subnet. It scans ports, and finds services that are using these ports. It's very convenient but it doesn't provide as much detail as an agent would do. Having an agent installed on the remote box (NCPA, NSClient++, NRPE, etc.) and running a specific wizard would allow you to monitor a lot more metrics.My question though, what is different between adding servers using auto-discovery versus adding them with a specific wizard? I've always used auto-discovery without issue.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Difficulty adding new servers to XI
Ok, perfect. Thanks for your help.
We'll just use the wizards for now and wait for 5.5.8.
You can close this request. Have a great day!
We'll just use the wizards for now and wait for 5.5.8.
You can close this request. Have a great day!
Re: Difficulty adding new servers to XI
I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!