Page 1 of 1

Graphs not rendering after removing gauge dashlet

Posted: Thu Nov 13, 2014 3:37 pm
by jwelch
Nagios XI 2014R2.0

Per suggestion in another post, I removed the Gauge dashlet. Since then the regular graphs
are not rendering. I just get a spinning icon and "Loading performance graphs... ". I tried
switching browsers to see if it was a caching issue, but no change.
I was going to re-install the Gauge dashlet, but I can't find it on the nagios.com or exchange
websites. Can someone give me a copy of the dashlet so I can re-install it?

Re: Graphs not rendering after removing gauge dashlet

Posted: Thu Nov 13, 2014 5:13 pm
by sreinhardt
Well, looks like that one didn't get uploaded. I don't have a direct link to provide, but if you still have the install tarball, it is located at /tmp/nagiosxi/basedir/html/includes/dashlets/gauges/ moving that entire directory back to /usr/local/nagiosxi/html/includes/dashlets/ should do the trick.

Code: Select all

cp -r /tmp/nagiosxi/nagiosxi/basedir/html/includes/dashlets/gauges /usr/local/nagiosxi/html/includes/dashlets/
chown -R nagios:nagios /usr/local/nagiosxi/html/includes/dashlets/gauges
chmod -R 750 /usr/local/nagiosxi/html/includes/dashlets/gauges

Re: Graphs not rendering after removing gauge dashlet

Posted: Thu Nov 13, 2014 5:36 pm
by jwelch
Thanks for the reply. I found a copy in a previous post just now. Installing that dashlet
restored my regular graphs.

As for just copying the files...I thought the same thing. I tar'd up the gauges dir from
my development server and untar'd it on my production server and the main XI
web page stopped rendering :o (owner/perms looked correct)
Stopping/starting nagios and http had no effect.

Removing the dir fixed that, but still left me without performance data graphs, but
installing the dashlet resolved that for now.

I suspect that performance data graphs should not depend on the gauges dashlet.

Can you take a look and see if you can duplicate this behavior? (maybe my server
is possessed) RHEL6/Nagios XI 2014R2.0

Re: Graphs not rendering after removing gauge dashlet

Posted: Thu Nov 13, 2014 11:17 pm
by Box293
Try this.
Download xi-2014r2.0.tar.gz
Extract it in /tmp

Code: Select all

cd /tmp/nagiosxi/subcomponents/xidashlets
./install