Trial version Auto-discovery and check for updates issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Trial version Auto-discovery and check for updates issues

Post 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!!
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Trial version Auto-discovery and check for updates issue

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Trial version Auto-discovery and check for updates issue

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Trial version Auto-discovery and check for updates issue

Post 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.
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Trial version Auto-discovery and check for updates issue

Post by lynrob »

I added a pic to help explain what I was talking about.
You do not have the required permissions to view the files attached to this post.
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Trial version Auto-discovery and check for updates issue

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Trial version Auto-discovery and check for updates issue

Post 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"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
lynrob
Posts: 30
Joined: Wed Sep 21, 2011 12:29 pm

Re: Trial version Auto-discovery and check for updates issue

Post by lynrob »

Evidently, it was an IE issue. Switching to Firefox solved the problem. Thanks for following up!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Trial version Auto-discovery and check for updates issue

Post by mguthrie »

Also, you can report and view current known bugs at tracker.nagios.com : )
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Trial version Auto-discovery and check for updates issue

Post 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?
Locked