no graph info after upgrade
no graph info after upgrade
Since we migrated nagios to a new server and also updated to the latest version 5.8.1 some graphics stopped being made. What can I check?
Re: no graph info after upgrade
Please attach the RRD and XML file from one of the non-working ones from here:
Please PM me a copy of your profile.zip from the new server, you can download it from Admin > System Profile by clicking the Download Profile button.
EDIT: See here as well for troubleshooting:
https://support.nagios.com/kb/article/n ... ems-9.html
Code: Select all
/usr/local/nagios/share/perfdata/THEHOSTNAMEEDIT: See here as well for troubleshooting:
https://support.nagios.com/kb/article/n ... ems-9.html
Re: no graph info after upgrade
I am experiencing the same issue but just upgraded to 5.8.0.
Re: no graph info after upgrade
@RyanMule, please create a separate topic for yours and do this:
Please attach the RRD and XML file from one a non-working one from here:
Please PM me a copy of your profile.zip, you can download it from Admin > System Profile by clicking the Download Profile button.
Follow this to troubleshoot:
https://support.nagios.com/kb/article/n ... ems-9.html
Please attach the RRD and XML file from one a non-working one from here:
Code: Select all
/usr/local/nagios/share/perfdata/THEHOSTNAME
Follow this to troubleshoot:
https://support.nagios.com/kb/article/n ... ems-9.html
Re: no graph info after upgrade
Hello, I have updated to the latest version of nagios, and I continue with problems, some services do not generate graphics, something curious is that the same nagios server does not generate graphics. What can I check? I have already sent a private message as requested but I have no response
Re: no graph info after upgrade
For that Memory Usage XML file you sent:
That error is saying it's trying to insert 5 metrics from the check output but when trying to insert it the RRD is expecting 6.
RRDs require the same number of metrics from initial creation, it's trying to insert more metrics than the datasource accepts so it's failing to insert. Usually this occurs when the plugin is changed or the service is changed to include more (or less) metrics.
You would need to remove a datasource from the RRD following this guide:
https://support.nagios.com/kb/article/n ... e-497.html
Or you can rename (or delete the RRD file) and it will be rebuilt on the next check with the proper number of metrics and start graphing shortly thereafter.
You can also do this if you run into any that require you add a source (this does it in bulk but won't fix the above issue):
https://support.nagios.com/kb/article/n ... g-149.html
Let me know if you have any questions.
EDIT: I'm also seeing this:
Make sure you have php-pdo installed:
What is the output of this command?
Code: Select all
<RRD>
<RC>1</RC>
<TXT>/usr/local/nagios/share/perfdata/XXXXXXX/Memory_Usage.rrd: expected 6 data source readings (got 5) from 1614135163</TXT>
</RRD>RRDs require the same number of metrics from initial creation, it's trying to insert more metrics than the datasource accepts so it's failing to insert. Usually this occurs when the plugin is changed or the service is changed to include more (or less) metrics.
You would need to remove a datasource from the RRD following this guide:
https://support.nagios.com/kb/article/n ... e-497.html
Or you can rename (or delete the RRD file) and it will be rebuilt on the next check with the proper number of metrics and start graphing shortly thereafter.
You can also do this if you run into any that require you add a source (this does it in bulk but won't fix the above issue):
https://support.nagios.com/kb/article/n ... g-149.html
Let me know if you have any questions.
EDIT: I'm also seeing this:
Code: Select all
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlsrv' (tried: /usr/lib64/php/modules/pdo_sqlsrv (/usr/lib64/php/modules/pdo_sqlsrv: cannot open shared object file: No such file or directory), /usr/lib64/php/modules/pdo_sqlsrv.so (/usr/lib64/php/modules/pdo_sqlsrv.so: cannot open shared object file: No such file or directory)) in Unknown on line 0Code: Select all
yum install php-pdo -y
systemctl restart httpd
systemctl restart php-fpmCode: Select all
rpm -qa | grep phpRe: no graph info after upgrade
If I delete the rdd data file it is generated again correctly, but it is my last option.
I wanted to know if this document works for other plugins than ICMP PING https://support.nagios.com/kb/article.php?id=149
Could this fix all the problems I have?
I have many errors like "Drive_J__Disk_Usage.rrd: additional data found in update argument: 4400082841600"
I wanted to know if this document works for other plugins than ICMP PING https://support.nagios.com/kb/article.php?id=149
Could this fix all the problems I have?
I have many errors like "Drive_J__Disk_Usage.rrd: additional data found in update argument: 4400082841600"
Re: no graph info after upgrade
Hi,
I tried running the "fix_ds_quantity.sh" on my VM.
Since I do not have issue with my graph, nothing is updated.
You can go ahead and try running the script, please backup your XI as suggested before running the script.
Yes, deleting those bad rrd files is your last option. However, you will lose all your OLD histories.
Good luck!!
Regards,
Vinh
I tried running the "fix_ds_quantity.sh" on my VM.
Since I do not have issue with my graph, nothing is updated.
You can go ahead and try running the script, please backup your XI as suggested before running the script.
Yes, deleting those bad rrd files is your last option. However, you will lose all your OLD histories.
Good luck!!
Regards,
Vinh
Re: no graph info after upgrade
Finally this article https://support.nagios.com/kb/article.php?id=149 helped me to fix my problem
Thanks!
Thanks!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: no graph info after upgrade
Great!supportcl wrote:Finally this article https://support.nagios.com/kb/article.php?id=149 helped me to fix my problem
Thanks!
Locking thread