Problem Graphing Host with 4hr Check Interval

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Problem Graphing Host with 4hr Check Interval

Post by mrochelle »

I've updated the prior post with the actual returned data. And yes, I'm graphing on the host with the smaller interval.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem Graphing Host with 4hr Check Interval

Post by abrist »

I have not heard of any issues with check interval causing NaNs in perfdata. If you increase the interval on a different host's working check, does it start to generate NaNs as well?

What does the host ET_50015 RRD look like:

Code: Select all

rrdtool dump /usr/local/nagios/share/perfdata/ET_50015/_HOST_.rrd
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.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Problem Graphing Host with 4hr Check Interval

Post by mrochelle »

Interesting. Although I am graphing in 5 min intervals now, the dump is not showing the data. It should have started around 10:00AM today. I can try your suggestion for increasing another host tonight.

<!-- 2013-04-28 01:00:00 CDT / 1367128800 --> <row><v> NaN </v></row>
<!-- 2013-04-28 07:00:00 CDT / 1367150400 --> <row><v> NaN </v></row>
<!-- 2013-04-28 13:00:00 CDT / 1367172000 --> <row><v> NaN </v></row>
<!-- 2013-04-28 19:00:00 CDT / 1367193600 --> <row><v> NaN </v></row>
<!-- 2013-04-29 01:00:00 CDT / 1367215200 --> <row><v> NaN </v></row>
<!-- 2013-04-29 07:00:00 CDT / 1367236800 --> <row><v> NaN </v></row>
<!-- 2013-04-29 13:00:00 CDT / 1367258400 --> <row><v> NaN </v></row>
<!-- 2013-04-29 19:00:00 CDT / 1367280000 --> <row><v> NaN </v></row>
<!-- 2013-04-30 01:00:00 CDT / 1367301600 --> <row><v> NaN </v></row>
<!-- 2013-04-30 07:00:00 CDT / 1367323200 --> <row><v> NaN </v></row>
<!-- 2013-04-30 13:00:00 CDT / 1367344800 --> <row><v> NaN </v></row>
You do not have the required permissions to view the files attached to this post.
Last edited by mrochelle on Tue Apr 30, 2013 2:02 pm, edited 1 time in total.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Problem Graphing Host with 4hr Check Interval

Post by scottwilkerson »

Does this machine have rrdcached enabled? This could cause what you are seeing

Code: Select all

service rrdcached status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Problem Graphing Host with 4hr Check Interval

Post by mrochelle »

rrdcached: unrecognized service. Don't believe I do.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem Graphing Host with 4hr Check Interval

Post by abrist »

Any chance your script is returning a string and not a number?
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.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Problem Graphing Host with 4hr Check Interval

Post by mrochelle »

I would not think so since the same script works if the check interval is smaller.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem Graphing Host with 4hr Check Interval

Post by abrist »

Let us know what happens with the other host this evening.
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.
User avatar
mrochelle
Posts: 238
Joined: Fri May 04, 2012 11:20 am
Location: Heart of America

Re: Problem Graphing Host with 4hr Check Interval

Post by mrochelle »

I changed the monitoring interval back to 240 mins on ET_50015 around 8:00PM last night and as you can see, the graphing stopped.
rrdtool dump /usr/local/nagios/share/perfdata/ET_50015/_HOST_.rrd
<!-- 2013-04-30 01:00:00 CDT / 1367301600 --> <row><v> NaN </v></row>
<!-- 2013-04-30 07:00:00 CDT / 1367323200 --> <row><v> NaN </v></row>
<!-- 2013-04-30 13:00:00 CDT / 1367344800 --> <row><v> NaN </v></row>
<!-- 2013-04-30 19:00:00 CDT / 1367366400 --> <row><v> 1.0000000000e+00 </v></row>
<!-- 2013-05-01 01:00:00 CDT / 1367388000 --> <row><v> NaN </v></row>
<!-- 2013-05-01 07:00:00 CDT / 1367409600 --> <row><v> NaN </v></row>
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problem Graphing Host with 4hr Check Interval

Post by abrist »

Are the checks happening at the same time as the rrd information is recorded? 1:00, 7:00,13:00,19:00 etc?
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.
Locked