No performance graph

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hzsoliel
Posts: 34
Joined: Fri Sep 28, 2018 1:34 pm

No performance graph

Post by hzsoliel »

My plugin generates the performance data. However, There no performance graph generated. I got "No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear." even after I waited for 30 minutes.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: No performance graph

Post by npolovenko »

Hello, @ hzsoliel. Do other graphs work normally on this XI? Is this a custom plugin that you wrote? Please run it from the command line and show me the output. I would like to see what perfdata it is returning and how it's formatted. Here's more info on how the performance data should be formatted: https://nagios-plugins.org/doc/guidelines.html#AEN200
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hzsoliel
Posts: 34
Joined: Fri Sep 28, 2018 1:34 pm

Re: No performance graph

Post by hzsoliel »

The other graphs are gone too. I exported from another Nagios server and imported into this one. All the graphs are gone.
hzsoliel
Posts: 34
Joined: Fri Sep 28, 2018 1:34 pm

Re: No performance graph

Post by hzsoliel »

This is my first post and I just replied to you. Somehow I can't see my reply so I'm post my reply again. This Nagios server (it is for the development environment) is a brand new installation of 5.4.13 . I imported Nagios backup from staging environment into this server. After the import, all the graphs are gone. Can you help me to find out why I can't see the graphs on this new server.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: No performance graph

Post by npolovenko »

@hzsoliel, Backup and restore script does not include performance graphs. If both XI servers are 32 bit or 64 bit you can try copying and pasting the perfdata from one server over to another. Otherwise, we have this tutorial:
https://support.nagios.com/kb/article.php?id=166
If you don't care about historical data and just want graphs to start working, please send me your system profile. I will take a look at npcd logs and settings to conclude what needs to be done.
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. Then share a link with me in a personal message.
After you send a profile please post something in this thread to bring it back up in the support queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hzsoliel
Posts: 34
Joined: Fri Sep 28, 2018 1:34 pm

Re: No performance graph

Post by hzsoliel »

Thanks for the reply. I have figured out my issue. Our /usr/local/nagios/share/perfdata is a soft link and it points to another filesystem which is dedicated for the performance data. When I restore the backup, this filesystem is not copied over. After I copied the filesystem over to the new Nagios server, I got all my graph back.

In addtion, I read the restore_xi.sh and find it does restore the /usr/local/nagios/share folder. So it restores performance data.

Thanks,

Heather.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No performance graph

Post by lmiltchev »

I am glad that your issue has been resolved! Do you have any further questions or it is ok to lock this topic?
Be sure to check out our Knowledgebase for helpful articles and solutions!
hzsoliel
Posts: 34
Joined: Fri Sep 28, 2018 1:34 pm

Re: No performance graph

Post by hzsoliel »

No. You may go ahead to close this thread.
Locked