Hello,
I recently changed the way I monitor CPU usage for Windows servers from check_nt to nrpe. So now I noticed some services have nice graphs and others don't., while they are all based on the same policy and created around the same time.
What could be the reason some of them are working fine and others aren't? The difference seems to the bad ones only gather the 1-minute average data and the others also gather the 5-minute and 15-minute data.
I include two screenshots to show the difference:
In the last screenshot you can see he doesn't seem to find the perfdata for 5 and 15 minutes.
Some graphs are failing other not, same config
Some graphs are failing other not, same config
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Some graphs are failing other not, same config
Changing metrics, or even worse, adding or removing metrics from performance data can lead to all sorts of oddities in your graphs. You will most likely have to remove the rrds and xml files associated with these checks. They will be regenerated correctly then after a few minutes. You will lose the previous historical information though.
You will find the rrds in the directory:
Remove the broken rrds/xmls for each of the broken services for each host in question.
You will find the rrds in the directory:
Code: Select all
/usr/local/nagios/share/perfdata/<hostname>Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Some graphs are failing other not, same config
Removed the rrd's and it seemed to work after that. Strange because some worked immediately after cloning the service while others with +- exact the same config didn't work. Anyway it works now.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Some graphs are failing other not, same config
Glad to hear its working, to add to abrist's note even if they are using the same amount of tracks or less than the previous rrd, if the data is returned in different increments or percentages instead of mhz, that would likely be the cause of the changes. As you did, recreating the rrd is about all that can be done without some serious conversion.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Some graphs are failing other not, same config
Spenser, Andy,
This thread can be closed.
Grtz
This thread can be closed.
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net