[smokeping-users] Re: "unknown section" error
PAUL WILLIAMSON
pwilliamson at mandtbank.com
Fri Jul 26 21:47:01 MEST 2002
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.
Paul
>>> 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
--
John Oliver http://www.john-oliver.net/ joliver at john-oliver.net http://www.mrtg-monitoring.com/
--
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
--
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