Graphs not showing in Dashboard
Graphs not showing in Dashboard
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.
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.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Graphs not showing in Dashboard
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:
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
PM you the profile.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Graphs not showing in Dashboard
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):
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:
Run all these commands to fix your /etc/sudoers file to make sure it has all the correct entries:
After making these changes try and follow the directions I sent before.
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 2Code: 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
Re: Graphs not showing in Dashboard
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,
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,
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Graphs not showing in Dashboard
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?
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
Is it possible to do a WebEx session as we have this issue going on for a long time.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Graphs not showing in Dashboard
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.
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
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?
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?
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Graphs not showing in Dashboard
By default, RRD files are stored in:
/usr/local/nagios/share/perfdata/
/usr/local/nagios/share/perfdata/
Previous Nagios employee