[smokeping-users] Multi Target Graph -- config example request

Tobias Oetiker tobi at oetiker.ch
Wed Nov 7 15:41:57 CET 2007


Ian,

just quote your whole config file then I can tell you how to write
it ... you still seem focused on hostnames ... the syntax has
nothing todo with hostnames but with slash separated target names
...

cheers
tobi

Today Ian Griswold wrote:

> So when I try config with multiple web servers on a Fping probe I get an
> error with smokeping.pm
>
> CONFIG
> ++ LS_COMP
> menu = LightSpeed ALL
> title = Composite of www1, www2 servers
> remark = Alpharetta LightSpeed 3
> host = /www1.gpcheck.com /www2.gpcheck.com
> alerts = bigloss,rttdetect
>
>
> ERROR
> Can't call method "_pings" on an undefined value
> at /usr/share/perl5/Smokeping.pm line 704.
>
> Any Ideas?
>
> Ian
>
>
>
> On Wed, 2007-11-07 at 13:30 +0100, Tobias Oetiker wrote:
>
> > Hi Ian,
> >
> > ++ DNSJ
> > menu = DNS Root from Init7
> > title = DNS Root Servers as seen from Init7
> > host = /rootns/B /rootns/C /rootns/D \
> >        /rootns/F /rootns/I \
> >        /rootns/J /rootns/K /rootns/L /rootns/M
> >
> >
> > or a more complex one with slaves
> >
> >
> > ++ DNSM
> > menu = DNS Root from ETH
> > title = DNS Root Servers as seen from ETH
> > host = /rootns/B~mipsrv01 /rootns/C~mipsrv01 /rootns/D~mipsrv01 \
> >        /rootns/F~mipsrv01 /rootns/I~mipsrv01 \
> >        /rootns/J~mipsrv01 /rootns/K~mipsrv01 /rootns/L~mipsrv01 \
> >        /rootns/M~mipsrv01
> >
> > the 'hosts' are the 'path names' in the config tree ... the bits
> > after the '~' are slave names ...
> >
> >
> > the config tree looks like this:
> >
> > *** Targets ***
> > +rootns
> > .....
> > ++B
> > ...
> > ++C
> > ...
> >
> > cheers
> > tobi
> >
> >
> >
> > Today Ian Griswold wrote:
> >
> > > OK got 2.2.6 fully working, even the zooming functions, SWEET! but need
> > > an example of the Multi Target Graph config.
> > >
> > > I've read the docs and maybe am just missing it, even tried some logical
> > > guesswork on the config.  But can someone please share a snippet of code
> > > for multiple targets in a single graph?
> > >
> > > Thanks
> > > Ian
> > >
> >
>

-- 
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