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.
Problems installing graph Explorer
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Problems installing graph Explorer
Are there any files located in the following directory on the VM?
/usr/local/nagiosxi/html/includes/components/graphexplorer
/usr/local/nagiosxi/html/includes/components/graphexplorer
-
- Posts: 5
- Joined: Fri Apr 06, 2012 3:26 pm
Re: Problems installing graph Explorer
Yes, the same files that are in the graphexplorer.zip show up in that directory.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Problems installing graph Explorer
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
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
-
- Posts: 5
- Joined: Fri Apr 06, 2012 3:26 pm
Re: Problems installing graph Explorer
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.
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.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Problems installing graph Explorer
What linux distro are you on, and do your systems have any umask settings in place as a security policy?
-
- Posts: 5
- Joined: Fri Apr 06, 2012 3:26 pm
Re: Problems installing graph Explorer
Distribution used is CentOS release 6.2 (Final)
umask 002
umask 002
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Problems installing graph Explorer
Many installers expect the stock umask 0027.
This was likely causing the problem.
This was likely causing the problem.
-
- Posts: 5
- Joined: Fri Apr 06, 2012 3:26 pm
Re: Problems installing graph Explorer
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.
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.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Problems installing graph Explorer
Yes, it kind of depends on what the component does, some need to be able to just read, some write, some execute...