[smokeping-users] Re: "unknown section" error

Tobias Oetiker oetiker at ee.ethz.ch
Wed Jul 31 08:58:12 MEST 2002



Friday PAUL WILLIAMSON wrote:

>
> I would bet you can't have a " " in the section.  Make it something like:
>
> ++ hosting.com
>
> and drop the "Colocation".  That space just complicates the directory structure,
> and has nothing to do with what is displayed.

Thanks Paul,

sorry for distributing false info .. it is the space ...

there is currently a limitation in the ParseConfig library that
does not allow to emit a sensible error message for this kind of
error ...

tobi

>
> >>> John Oliver <joliver at john-oliver.net> 07/26/02 03:26PM >>>
>
> ERROR: /etc/mrtg/smokeping.conf, line 77: unknown section 'hosting.com
> Colocation'
> [Fri Jul 26 12:02:45 2002] [error] [client 192.168.20.130] Premature end
> of script headers: /home/httpd/cgi-bin/smokeping
>
> Nothing in the archives :-(
>
> Here's my config file:
>
> [root at mrtg html]# cat /etc/mrtg/smokeping.conf
> # Note that all IP addresses in this file are false, to prevent some
> # machine falling uder a deadly DOS storm because all users keep
> # the same addresses in their config.
>
> *** General ***
>
> owner    = John Oliver
> contact  = hostmaster at pacspro.com
> mailhost = mail.pacspro.com
> sendmail = /usr/sbin/sendmail
> imgcache = /home/httpd/html/.simg
> imgurl   = ../.simg
> datadir  = /usr/local/smokeping/var
> piddir  = /usr/local/smokeping/var
> cgiurl   = http://mrtg.pacspro.com/cgi-bin/smokeping
> smokemail = /usr/local/smokeping/etc/smokemail
> # specify this to get syslog logging
> # syslogfacility = local0
>
>
> *** Database ***
>
> step     = 300
> pings    = 20
>
> # consfn mrhb steps total
>
> AVERAGE  0.5   1  1008
> AVERAGE  0.5  12  4320
>     MIN  0.5  12  4320
>     MAX  0.5  12  4320
> AVERAGE  0.5 144   720
>     MAX  0.5 144   720
>     MIN  0.5 144   720
>
> *** Presentation ***
>
> template = /home/httpd/html/smokeping/index.html
>
> + overview
>
> width = 600
> height = 50
> range = 10h
>
> + detail
>
> width = 600
> height = 200
> unison_tolerance = 2
>
> "Last 3 Hours"    3h
> "Last 30 Hours"   30h
> "Last 10 Days"    10d
> "Last 400 Days"   400d
>
> *** Probes ***
>
> + FPing
>
> binary = /usr/local/bin/fping
>
> *** Targets ***
>
> probe = FPing
>
> menu = Top
> title = Network Latency Grapher
> remark = Welcome to the SmokePing website of xxx Company. \
>          Here you will learn all about the latency of our network.
>
> + SDPS
>
> menu = SDPS
> title = San Diego Professional Services
>
> ++ hosting.com Colocation
>
> menu = hosting.com Colocation
> title = hosting.com Colocation
>
> +++ Router 1
>
> menu = Router 1
> title = Router 1
> host = 192.168.101.1
>
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list