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 »

Actually they don't appear to be since the check interval is set for 240 mins and the updates in the rrd is every 6 hours?
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 want to see your configuration snapshot tarball, lets move this request to the ticketing system as most tarballs include fairly sensitive information.

Could you open a ticket by sending an email to [email protected]
Reference this thread by link and attach your most recent working configuration snapshot tarball to the email.
See you there.
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.
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 »

mrochelle wrote: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>
Actually running this command is only showing you the items in the 6 hour compression. What we really need to run is the following

Code: Select all

rrdtool fetch /usr/local/nagios/share/perfdata/ET_50015/_HOST_.rrd AVERAGE|grep -v nan
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 »

Following is the output of the last 10 lines:
1367372400: 1.0000000000e+00
1367372460: 1.0000000000e+00
1367372520: 1.0000000000e+00
1367372580: 1.0000000000e+00
1367372640: 1.0000000000e+00
1367372700: 1.0000000000e+00
1367372760: 1.0000000000e+00
1367372820: 1.0000000000e+00
1367387160: 1.0000000000e+00
1367387220: 1.0000000000e+00
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 »

This actually seems correct. The graph isn't going to fill in until the next check as it doesn't have data for the time period. When the next check is run (or if you manually execute the check) it should fill the empty area with an average.
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 »

No, the next period has passed and no data. As long as the check interval remains at 240 minutes, no graph will be generated. I ran the same command on several other hosts that have been at the 240 minutes interval for over several weeks. Following is the output.
rrdtool fetch /usr/local/nagios/share/perfdata/ET_77216/_HOST_.rrd AVERAGE|grep -v nan
1

rrdtool fetch /usr/local/nagios/share/perfdata/ET_77024/_HOST_.rrd AVERAGE|grep -v nan
1

rrdtool fetch /usr/local/nagios/share/perfdata/ET_862507/_HOST_.rrd AVERAGE|grep -v nan
1

None of the indicated Hosts show any data on the graph.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problem Graphing Host with 4hr Check Interval

Post by lmiltchev »

We received the snapshot you went and will continue communicating via email. I am locking this thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked