Page 1 of 2
Trial version Auto-discovery and check for updates issues
Posted: Tue Oct 04, 2011 1:19 pm
by lynrob
We are evaluating Nagios Xi for possible use within our NOC. I am brand new to Nagios and have run across a few issues...
When tryng to check for updates from the "check for updates" page within Nagios XI, it fails to run (see attached screen shot). However, if I click on the check for updates icon at the lower left of the screen, I am taken to the Nagios updates web site and it says that I am up to date. How do I find out what Nagios is doing when I click the check for updates button so that I can troubleshoot?
I have tried running auto-discovery and it works great untill I try to apply changes to the config. At that point, it fails. Again, I don't know how to tell exactly what is causing the failure so that I can fix it.
VMWare Player question... I am currently running Nagios XI on a VM and it seems to be doing OK. I have made a lot of changes on the VM in order to get Nagios XI to run. How do I save changes to the VM so that I don't loose my changes if I reboot the VM or its process is killed?
Thanks for your help!!
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 2:28 pm
by lmiltchev
Is your Nagios server behind a proxy? If you are using a proxy, both the updates and applying configuration may fail. Please, read our wiki page on the topic:
http://support.nagios.com/wiki/index.ph ... th_Proxies
Also, are you using any "special characters" in your host/service definitions?
On the VM changes - I believe that your changes should be saved automatically. Have you tried rebooting the VM?
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 3:33 pm
by lynrob
Thanks for your reply. The problem with "Apply Configuration " was an error in the "no_proxy" directive in the wgetrc file. I discovered it after I learned that "apply configuration" runs /usr/local/nagiosxi/scripts/reconfigure_nagios.sh under the covers. When I ran that manually and was able to see the actual error, it was easy to track down the cause.
Unfortunately, "Check for Updates" still fails. Is there a log file somewhere that has the output of the programs the the GUI executes? The GUI doesn't give enough detail about the problem to be of much use troubleshooting. Alternatively, if you can tell me what check for updates runs, I can try running that manually to see if I can get more detail.
I also ran into another problem. I defined a new service in CCM and want to apply it to several host groups. The GUI has a box with grayed out names of hostgroups in it and an icon next to it that says "modify" when I hover over it. Unlike the host configuration GUI which pops up an new available/selected window when I click the icon, this appears to do nothing. After trying this several times, I found that if I scrolled down the page there were 4 or 5 available/selected boxes with arrows between them. All of these were empty except for one which had the names of my host groups in the "Available" box. I selected the appropriate host groups and clicked the right arrow between the boxes and the groups I chose went to the selected box but unlike the host management pop up, there is no save button near the boxes. In the Service Management frame above the boxes there is a "save" button but it doesn't seem to store the values of the selected host groups. Any ideas? I've tried everything I can think of to add host groups to my service definition but nothing works.
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 3:51 pm
by mguthrie
Unfortunately, "Check for Updates" still fails. Is there a log file somewhere that has the output of the programs the the GUI executes? The GUI doesn't give enough detail about the problem to be of much use troubleshooting. Alternatively, if you can tell me what check for updates runs, I can try running that manually to see if I can get more detail.
This is a known bug that we're working on resolving. We'll most likely have an option to specify a proxy address for the http call that checks for the new release.
I also ran into another problem. I defined a new service in CCM and want to apply it to several host groups. The GUI has a box with grayed out names of hostgroups in it and an icon next to it that says "modify" when I hover over it. Unlike the host configuration GUI which pops up an new available/selected window when I click the icon, this appears to do nothing. After trying this several times, I found that if I scrolled down the page there were 4 or 5 available/selected boxes with arrows between them. All of these were empty except for one which had the names of my host groups in the "Available" box. I selected the appropriate host groups and clicked the right arrow between the boxes and the groups I chose went to the selected box but unlike the host management pop up, there is no save button near the boxes. In the Service Management frame above the boxes there is a "save" button but it doesn't seem to store the values of the selected host groups. Any ideas? I've tried everything I can think of to add host groups to my service definition but nothing works.
This is a known issue with some versions of Internet Explorer. Try this in Firefox and see if you have better luck. We're working on revamping the front end of the Core Config Manager to improve some of the IE related issues.
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 3:54 pm
by lynrob
I added a pic to help explain what I was talking about.
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 4:25 pm
by lynrob
Thanks for your reply. I switched to Firefox and the Service Management window now works like a champ. I also appreciate you telling me about the update check proxy issue. Does the manual "check for updates" icon at the lower left of the GUI do the same thing? If so I can make sure to do that periodically.
Is there a place where known issues are listed? In the future I can look there first before bothering you guys.
Thanks again!
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 05, 2011 4:34 pm
by lmiltchev
When you add a new service in the Nagios Core Config Manager, you should be able to associate it with host groups under the "Common Settings" tab in "Service Management". Your "Modify" button should not be "grayed out".
What happens when you click on "Host Groups" under "Monitoring" from the left panel menu in the CCM? Do you see all of the host groups? Are they "active"?
Re: Trial version Auto-discovery and check for updates issue
Posted: Thu Oct 06, 2011 12:25 am
by lynrob
Evidently, it was an IE issue. Switching to Firefox solved the problem. Thanks for following up!
Re: Trial version Auto-discovery and check for updates issue
Posted: Thu Oct 06, 2011 10:48 am
by mguthrie
Also, you can report and view current known bugs at tracker.nagios.com : )
Re: Trial version Auto-discovery and check for updates issue
Posted: Wed Oct 12, 2011 11:51 am
by mguthrie
I'm currently working on a fix for the update check on proxy systems, would you be willing to test the changes on your environment?