Page 3 of 4

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 11:14 am
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.

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 1:36 pm
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

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 1:55 pm
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>

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 2:01 pm
by scottwilkerson
Does this machine have rrdcached enabled? This could cause what you are seeing

Code: Select all

service rrdcached status

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 2:08 pm
by mrochelle
rrdcached: unrecognized service. Don't believe I do.

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 3:03 pm
by abrist
Any chance your script is returning a string and not a number?

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 3:12 pm
by mrochelle
I would not think so since the same script works if the check interval is smaller.

Re: Problem Graphing Host with 4hr Check Interval

Posted: Tue Apr 30, 2013 3:59 pm
by abrist
Let us know what happens with the other host this evening.

Re: Problem Graphing Host with 4hr Check Interval

Posted: Wed May 01, 2013 10:17 am
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>

Re: Problem Graphing Host with 4hr Check Interval

Posted: Wed May 01, 2013 12:02 pm
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?