Page 1 of 3
Graphs not showing in Dashboard
Posted: Tue Dec 13, 2016 11:49 am
by bosecorp
Hi,
We have a problem, the graphs are not showing in only 2 dashboards while rest of the dashboard are working as expected. The error message is "No Data to Display". When I check the same thing in nagios by searching the host I am able to see the values but not graphs in dashboard.
Please help.
Re: Graphs not showing in Dashboard
Posted: Tue Dec 13, 2016 12:09 pm
by dwhitfield
I assume these graphs are locally created? I ask because output of certain remote sources is a known issue. There's not really much we can do about it. It's browser security.
Also, could you be more specific on which graphs are not showing up? Did these graphs previously work?
Lastly, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of Show Profile in the thread (that will at least get us some info).
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
UPDATE:
Code: Select all
PROFILE BUILD FAILED
Array
(
)
CODE: 1
Re: Graphs not showing in Dashboard
Posted: Tue Dec 13, 2016 1:32 pm
by bosecorp
PM you the profile.
Re: Graphs not showing in Dashboard
Posted: Tue Dec 13, 2016 3:26 pm
by dwhitfield
Let's fix the profile issue first, because that *should* be easy and will help us with any other issues.
Execute the following commands (use your XI version download link in the wget command):
Code: Select all
cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.3.0.tar.gz
Once downloaded you'll need to use the name of the downloaded file in the next command, in this example xi-5.2.9.tar.gz is the name being used:
Code: Select all
tar xzf xi-5.3.0.tar.gz nagiosxi/nagiosxi/nagiosxi.sudoers --strip-components 2
Run all these commands to fix your /etc/sudoers file to make sure it has all the correct entries:
Code: Select all
grep -v NAGIOSXI /etc/sudoers > /etc/sudoers.new
mv -f /etc/sudoers.new /etc/sudoers
rm -rf /etc/sudoers.d/nagiosxi
sed -i 's/^Defaults requiretty/#Defaults requiretty/g' /etc/sudoers
cat /tmp/nagiosxi.sudoers >> /etc/sudoers
chmod 440 /etc/sudoers
After making these changes try and follow the directions I sent before.
Re: Graphs not showing in Dashboard
Posted: Wed Dec 14, 2016 12:08 pm
by bosecorp
Hi,
As this is the production environment we will not be able to make changes on the fly. However, we will need your assistance in identifying the issues with the graphs.
Thanks,
Re: Graphs not showing in Dashboard
Posted: Wed Dec 14, 2016 12:16 pm
by dwhitfield
I assume these graphs are locally created? I ask because output of certain remote sources is a known issue. There's not really much we can do about it. It's browser security.
Also, could you be more specific on which graphs are not showing up? Did these graphs previously work?
You don't have a test environment? If you do, are the graphs working on the test machine? Are the graphs working at all, or just not showing in the Dashboard?
Re: Graphs not showing in Dashboard
Posted: Mon Dec 19, 2016 10:57 am
by bosecorp
Is it possible to do a WebEx session as we have this issue going on for a long time.
Re: Graphs not showing in Dashboard
Posted: Mon Dec 19, 2016 11:01 am
by dwhitfield
If you wish to submit a ticket to
[email protected], you are welcome to do so. Please reference this thread if you decide to go that route.
I still don't have answers to the questions I asked: Are these graphs locally created? Did the graphs previously work?
Additionally, you say you've had this problem going for a long time. Do you mean since before Tuesday when you started this thread? If so, when did it start? That will help us when going through the logs. Thanks!
Have you looked at your RRD files? Special characters in RRDs are known to cause issues.
Re: Graphs not showing in Dashboard
Posted: Mon Dec 19, 2016 11:57 am
by bosecorp
Hi,
The graphs are created locally. The graphs were working till 11/29/2016. The problem started on 11/30/2016.
Where do I find RRD file?
Re: Graphs not showing in Dashboard
Posted: Mon Dec 19, 2016 2:25 pm
by avandemore
By default, RRD files are stored in:
/usr/local/nagios/share/perfdata/