Graphs not rendering after removing gauge dashlet

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jwelch
Posts: 225
Joined: Wed Sep 05, 2012 12:49 pm

Graphs not rendering after removing gauge dashlet

Post 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?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Graphs not rendering after removing gauge dashlet

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
jwelch
Posts: 225
Joined: Wed Sep 05, 2012 12:49 pm

Re: Graphs not rendering after removing gauge dashlet

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Graphs not rendering after removing gauge dashlet

Post by Box293 »

Try this.
Download xi-2014r2.0.tar.gz
Extract it in /tmp

Code: Select all

cd /tmp/nagiosxi/subcomponents/xidashlets
./install
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked