Page 1 of 2

Performance Graph-No data found

Posted: Wed Sep 15, 2021 4:40 am
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

Re: Performance Graph-No data found

Posted: Wed Sep 15, 2021 2:05 pm
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

Re: Performance Graph-No data found

Posted: Fri Sep 24, 2021 3:21 am
by lanxessinfy
Hi,

Thanks a lot.
Now we are able to fetch the performance graph.

Re: Performance Graph-No data found

Posted: Fri Sep 24, 2021 3:45 pm
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!

Re: Performance Graph-No data found

Posted: Mon Sep 27, 2021 9:24 am
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

Re: Performance Graph-No data found

Posted: Tue Sep 28, 2021 9:25 am
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

Re: Performance Graph-No data found

Posted: Wed Sep 29, 2021 12:46 am
by lanxessinfy
Hi,

I have sent you the requested files.

Thanks

Re: Performance Graph-No data found

Posted: Wed Sep 29, 2021 2:21 pm
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

Re: Performance Graph-No data found

Posted: Thu Sep 30, 2021 5:49 am
by lanxessinfy
Hi,

I have sent you the requested files.

but, one admin is able to generate the reports.

Thanks

Re: Performance Graph-No data found

Posted: Fri Oct 01, 2021 9:19 am
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