Page 3 of 3

Re: performance graphs stopped working

Posted: Tue Jun 07, 2016 6:10 pm
by jeephigh

tgriep wrote:
You may want to go through this article that has a solution for the error you posted.
https://support.nagios.com/kb/article.php?id=149
If the number of data sources change, that could cause the graphs to not update. Try that and see if that works for you.

Please do this.
I did this. And the script ran successfully but did not update any hosts.
check_ping returns 2 data sources.
check_icmp returns 4 data sources.

Please update your host objects or host template to use check_icmp.
I also did this. I still don't have perf graphs or state history on any hosts in this particular host group.
I did another tail on perfdata with verbose logging enabled. I see the same error
error.PNG
I feel like I must be doing something really dumb, and it may be something really simple. It must be something with my configuration of this hostgroup, I have only made bulk modifications to this hostgroup. I don't get what I'm doing wrong.
Don't give up on me yet, I am willing to put in the work to figure this out. If you have any more suggestions I am open to them.

Re: performance graphs stopped working

Posted: Tue Jun 07, 2016 7:39 pm
by Box293
Just delete the .rrd files that are not working in /usr/local/nagios/share/perfdata/host_name/_HOST_.rrd

This will lose any historical data, but is the simplest way to fix the issue.

The screenshot provided explains that there are 4 datasources in the RRD file yet your plugin only received 3 back. If you really want to fix this you'll need to delete one of the data sources:

https://support.nagios.com/kb/article.php?id=497

Re: performance graphs stopped working

Posted: Wed Jun 08, 2016 3:53 pm
by jeephigh
Post by Box293 ยป Tue Jun 07, 2016 7:39 pm

Just delete the .rrd files that are not working in /usr/local/nagios/share/perfdata/host_name/_HOST_.rrd

This will lose any historical data, but is the simplest way to fix the issue.

The screenshot provided explains that there are 4 datasources in the RRD file yet your plugin only received 3 back. If you really want to fix this you'll need to delete one of the data sources:
I ended up doing this. Since I didn't absolutely need the historical data up to this point. THANK YOU! This worked. It automatically generated the correct data points once I removed the _HOST_.rrd file which then translated into the perf graphs working again. I guess when I first set these hosts up I set them up on a check_ping , I then later did a bulk command change to check_icmp, and it did not generate the correct data points for some reason. Check_ping is just fine for these hosts, so it is working again like I expect it too. Thanks again!

Re: performance graphs stopped working

Posted: Thu Jun 09, 2016 9:11 am
by mcapra
Is there anything else you need assistance with pertaining to performance graphs? Can I lock this thread and mark the issue as resolved?