On Thu, 26 Jan 2006, Arno Lehmann wrote: > On 1/26/2006 9:13 PM, Hugo van der Kooij wrote: > > On Thu, 26 Jan 2006, Arno Lehmann wrote: > > > > 2006-01-26 20:49:46 RRD: rrdtool create > > /var/spool/nagios/rrd/aragorn/50651c20531d52e9c5eaa48a204e53c4.rrd --step= > > RRA:AVERAGE:0.5:5: RRA:MAX:0.5:5: RRA:MIN:0.5:5: RRA:AVERAGE:0.5:30: > > RRA:MAX:0.5:30: RRA:MIN:0.5:30: RRA:AVERAGE:0.5:120: RRA:MAX:0.5:120: > > RRA:MIN:0.5:120: RRA:AVERAGE:0.5:1440: RRA:MAX:0.5:1440: RRA:MIN:0.5:1440: > > 2006-01-26 20:49:46 RRD: [aragorn][Current Load]:step size should be no > > less than one second > > 2006-01-26 20:49:46 VALUES: [aragorn][Current Load]: 1min=1.58 5min=1.59 > > 15min=1.56
Did some more debugging: The section below seems to be having a bit of a problem: # If the RRD not exists: if ( !( -e $file ) ) { # Adding Graph Value Key's foreach (@blocks) { if ( $service =~ /$_->{service_name}/ ) { # change the default rrdtype if a different is defined my $rrd_type = "GAUGE"; $rrd_type = $_->{rrd_type} if ( exists( $_->{rrd_type} ) ); # setting the heartbeat# if (!defined($heartbeat)) { $heartbeat = $default_heartbeat; $heartbeat = $_->{heartbeat} if ( exists( $_->{heartbeat} )); } # setting the step if (!defined($step)) { $step = $default_step; $step = $_->{step} if ( exists( $_->{step} )); } push @system, "DS:" . $_->{graph_value} . ":" . $rrd_type . ":". $heartbeat. ":U:U"; } } # Adding some default average frames push @system, "RRA:AVERAGE:0.5:5:$heartbeat"; push @system, "RRA:MAX:0.5:5:$heartbeat"; push @system, "RRA:MIN:0.5:5:$heartbeat"; push @system, "RRA:AVERAGE:0.5:30:$heartbeat"; push @system, "RRA:MAX:0.5:30:$heartbeat"; push @system, "RRA:MIN:0.5:30:$heartbeat"; push @system, "RRA:AVERAGE:0.5:120:$heartbeat"; push @system, "RRA:MAX:0.5:120:$heartbeat"; push @system, "RRA:MIN:0.5:120:$heartbeat"; push @system, "RRA:AVERAGE:0.5:1440:$heartbeat"; push @system, "RRA:MAX:0.5:1440:$heartbeat"; push @system, "RRA:MIN:0.5:1440:$heartbeat"; Which I noticed with the following (DEBUG) line added for debugging purposes: if($opt_verbose & $LOG_RRD_STATUS) { $dummy=""; foreach (@system) { $dummy.=$_. ' '; } print_log("DEBUG: step=$step defaultstep=$default_step heartbeat=$heartbeat defaultheartbeat=$default_heartbeat"); print_log("RRD: rrdtool create $file --step=$step $dummy"); } Both $step and $heartbeat were empty for these cases. And the log is missing the DS sections all together. I seem to have the fixed the $step issue a bit the missing DS is a real killer. I need to do even more debugging here. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null