Performance Graph-No data found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lanxessinfy
Posts: 68
Joined: Tue Nov 24, 2020 5:55 am

Performance Graph-No data found

Post by lanxessinfy »

Hi team,

We are using check_nrpe plugin to check the disk space.

Plugin:
./check_nrpe -H 10.25.11.3 -c check_drivesize -a drive=C: 'warning=free<10G' 'critical=free<5G' show-all 'perf-config=*(unit:G)' detail-syntax='{${drive_or_name} ${free} free / ${size} total}' top-syntax='${status}: ${problem_list}'

And when we are pulling report we are unable to get the performance graph. It is showing No data to display.
Please find the attached image
Capture2.PNG
.

Please help us with this.

Note:
Intially we have used check_nt plugin where we used to get the performance graph but As per business requirement we are using checks based on specific value so we are using above plugin currently

Thanks & regards
Vamshi
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance Graph-No data found

Post by ssax »

Try renaming the backend RRD file, this usually occurs when you change the plugin and the number of metrics changes:

Code: Select all

cd /usr/local/nagios/share/perfdata/THEHOSNAME
mv THESERVICENAME.rrd THESERVICENAME.rrd.old
Then force a check, wait 15 minutes, and check again.

If that doesn't resolves it, please follow this KB to debug:

https://support.nagios.com/kb/article/n ... ems-9.html
lanxessinfy
Posts: 68
Joined: Tue Nov 24, 2020 5:55 am

Re: Performance Graph-No data found

Post by lanxessinfy »

Hi,

Thanks a lot.
Now we are able to fetch the performance graph.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance Graph-No data found

Post by ssax »

That's great to hear, let us know when we're okay to lock this up and mark it as resolved.

Thank you!
lanxessinfy
Posts: 68
Joined: Tue Nov 24, 2020 5:55 am

Re: Performance Graph-No data found

Post by lanxessinfy »

Also we have another problem.

we are unable to download the reports even though we have admin access.
Report error.PNG
Please provide the suitable solution.

Thanks
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance Graph-No data found

Post by ssax »

Please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.

Attach this file as well:

Code: Select all

/etc/php.ini
lanxessinfy
Posts: 68
Joined: Tue Nov 24, 2020 5:55 am

Re: Performance Graph-No data found

Post by lanxessinfy »

Hi,

I have sent you the requested files.

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Performance Graph-No data found

Post by benjaminsmith »

Hi,

My apologies for the inconvenience, can you re-send those files to my account. Sean is out of the office today.

In the meantime, I believe you are hitting PHP limits and that's preventing the reporting from completing. Please follow the steps in the KB article below and let us know if the issue is resolved.

Nagios XI - Optimizing The PHP Settings File

Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
lanxessinfy
Posts: 68
Joined: Tue Nov 24, 2020 5:55 am

Re: Performance Graph-No data found

Post by lanxessinfy »

Hi,

I have sent you the requested files.

but, one admin is able to generate the reports.

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Performance Graph-No data found

Post by benjaminsmith »

Hi,

Thank you for the files, the profile looks good. Please edit the /etc/php.ini file, and change the following values to:

Code: Select all

max_input_vars = 50000
memory_limit = 1024M
max_execution_time = 120
Then save the file and re-start httpd

Code: Select all

systemctl restart httpd
See: https://support.nagios.com/kb/article/n ... e-611.html

Then test the report once again as both the nagiosadmin account and a user account. If it fails please attach the PDF to the ticket.

Thanks, Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked