performance graphs stopped working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jeephigh
Posts: 14
Joined: Tue May 17, 2016 3:54 pm

Re: performance graphs stopped working

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: performance graphs stopped working

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jeephigh
Posts: 14
Joined: Tue May 17, 2016 3:54 pm

Re: performance graphs stopped working

Post 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!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: performance graphs stopped working

Post 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?
Former Nagios employee
https://www.mcapra.com/
Locked