Problems installing graph Explorer

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jps
Posts: 5
Joined: Fri Apr 06, 2012 3:26 pm

Problems installing graph Explorer

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

Re: Problems installing graph Explorer

Post by mguthrie »

Are there any files located in the following directory on the VM?

/usr/local/nagiosxi/html/includes/components/graphexplorer
jps
Posts: 5
Joined: Fri Apr 06, 2012 3:26 pm

Re: Problems installing graph Explorer

Post by jps »

Yes, the same files that are in the graphexplorer.zip show up in that directory.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Problems installing graph Explorer

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jps
Posts: 5
Joined: Fri Apr 06, 2012 3:26 pm

Re: Problems installing graph Explorer

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

Re: Problems installing graph Explorer

Post by mguthrie »

What linux distro are you on, and do your systems have any umask settings in place as a security policy?
jps
Posts: 5
Joined: Fri Apr 06, 2012 3:26 pm

Re: Problems installing graph Explorer

Post by jps »

Distribution used is CentOS release 6.2 (Final)
umask 002
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Problems installing graph Explorer

Post by scottwilkerson »

Many installers expect the stock umask 0027.

This was likely causing the problem.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jps
Posts: 5
Joined: Fri Apr 06, 2012 3:26 pm

Re: Problems installing graph Explorer

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Problems installing graph Explorer

Post by scottwilkerson »

Yes, it kind of depends on what the component does, some need to be able to just read, some write, some execute...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart