[smokeping-users] RRD graph errors with 2.2.6

Tobias Oetiker tobi at oetiker.ch
Thu Nov 1 11:17:50 CET 2007


Hi Russell,

the definition of a slave color is mandatory (smokeping should
enforce this) ...

can you try the following patch

===================================================================
--- lib/Smokeping.pm    (revision 865)
+++ lib/Smokeping.pm    (working copy)
@@ -724,6 +724,8 @@
                 else {
                     $label = "med RTT"
                 }
+                use Data::Dumper;
+                die  "slave: '$slave', Dumpe:
".Dumper($cfg->{Slaves}) if not $medc;
             };

             my $sdc = $medc;

this might give use some interesting info

cheers
tobi

Today Dez Cadena wrote:

> Russell,
>
> have you defined "color" in your "Slaves" section for
> slave.merit.edu ?
>
>
> Russell Dwarshuis wrote:
> > I'm running 2.2.6 on a host like master.merit.edu and I just added a slave
> > with a display_name like slave.merit.edu  Data is being collected
> > successfully in the RRDs, but I'm getting an rrd graph error for the top
> > level of each target from the web site.  A sample of the web page output
> > with the applicable lines is:
> >
> > ERROR: Could not parse color in ''
> > (snip)
> > 'AREA:dmlow1'
> > 'AREA:s2d1#ff000030::STACK'
> > 'LINE1:dm1#ff0000:median RTT from master.merit.edu'
> > (snip)
> > 'AREA:dmlow2'
> > 'AREA:s2d2#::STACK'
> > 'LINE1:dm2#:median RTT from '
> >
> > So it looks like s2d2 and dm2 are missing the color specification, and dm2
> > is also missing "slave.merit.edu" after "from".  The individual host
> > graphs are OK, except the name is also missing on the slave.merit.edu
> > graphs.
> >
> > Is this a bug or am I doing something wrong?
> >
> > Thanks,
> >
> >
> >                                       -Russell Dwarshuis
> >
> >
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902



More information about the smokeping-users mailing list