Page 1 of 1

Problems installing Graph Explorer

Posted: Fri Apr 06, 2012 3:35 pm
by jps
I'm trying to install the Graph Explorer on an evaluation version of Nagios XI version 2011R2.2. I was given access to the Graph Explorer for evaluation purposes as well. This is great, but unfortunately the graph explorer will not install

When I try to add the Graph Explorer using "manage components" in "Admin", I get the message "Component installed" when I upload the component, but it won't show up in the component overview. I installed other components this way and both showed up afterwards.

I tried with both my own account (which has admin rights) and the NagiosAdmin account. This makes no difference. I haven't cleared the browser cache as was sugested, but I tried on a different machine with two browsers, neither will show the graph explorer.

Re: Problems installing Graph Explorer

Posted: Fri Apr 06, 2012 3:38 pm
by mguthrie
Are there any files located in the following directory on the VM?

/usr/local/nagiosxi/html/includes/components/graphexplorer

Re: Problems installing Graph Explorer

Posted: Fri Apr 06, 2012 3:49 pm
by jps
Yes, the same files that are in the graphexplorer.zip show up in that directory.

Re: Problems installing Graph Explorer

Posted: Sun Apr 08, 2012 8:29 pm
by scottwilkerson
Are you sure you are looking for the right name, it displays as "Nagios Graph Explorer", also you should see "Graph Explorer" under
Home -> Performance Graphs

I just tested it under a 2011R2.2 and it installed just fine.

If yo still don't see it, you may need to check your httpd error log to see if you can see anything

Code: Select all

tail -f /var/log/httpd/error_log

Re: Problems installing Graph Explorer

Posted: Tue Apr 10, 2012 6:10 am
by jps
I'm sure I looked for the correct name. I only saw the Host Graphs and not the Graph Explorer.

In the logfile a number of errors came by.

Looking at the installed files revealed that the graph explorer was installed as nagios.users. When I changed owership to the nagios group the explorer showed up in the menu and is now useable.

Re: Problems installing Graph Explorer

Posted: Tue Apr 10, 2012 9:50 am
by mguthrie
What linux distro are you on, and do your systems have any umask settings in place as a security policy?

Re: Problems installing Graph Explorer

Posted: Tue Apr 10, 2012 11:22 am
by jps
Distribution used is CentOS release 6.2 (Final)
umask 002

Re: Problems installing Graph Explorer

Posted: Tue Apr 10, 2012 11:46 am
by scottwilkerson
Many installers expect the stock umask 0027.

This was likely causing the problem.

Re: Problems installing Graph Explorer

Posted: Wed Apr 11, 2012 5:17 am
by jps
Graph Explorer works since I changed the group to Nagios instead of user so no more problems there. Thanks for that.

I did some more tests, I installed the "Custom Logo" component. It is installed with the same rights as the graph explorer, but works immediately and shows a custom logo now. So the behavior of that component is not entirely consistent with the graph explorer component.

Re: Problems installing Graph Explorer

Posted: Wed Apr 11, 2012 1:30 pm
by scottwilkerson
Yes, it kind of depends on what the component does, some need to be able to just read, some write, some execute...