~ubuntu-branches/debian/squeeze/smokeping/squeeze

« back to all changes in this revision

Viewing changes to doc/examples/config.targetvars-with-Curl

  • Committer: Bazaar Package Importer
  • Author(s): Niko Tyni
  • Date: 2008-08-29 18:29:34 UTC
  • mfrom: (2.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080829182934-ad5b9csusoqn1155
Tags: 2.3.6-3
* Unset LC_ALL in the init script because the daemon needs to 
  reset LC_NUMERIC. (Closes: #489766)
* Fix a bashism in the postinst script. Thanks, lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#
6
6
# This example is included in the smokeping_examples document.
7
7
 
8
 
# Note that all IP addresses in this file are false, to prevent some
9
 
# machine falling under a deadly DOS storm because all users keep
10
 
# the same addresses in their config.
11
 
 
12
8
*** General ***
13
9
 
14
 
owner    = Joe Random
15
 
contact  = joe@some.place.xyz
16
 
mailhost = smtp.mailhost.abc
 
10
owner    = Peter Random
 
11
contact  = some@address.nowhere
 
12
mailhost = my.mail.host
17
13
sendmail = /usr/lib/sendmail
18
 
imgcache = /home/oetiker/public_html/.simg
19
 
imgurl   = ../.simg
20
 
datadir  = /home/oetiker/data/projects/AADJ-smokeping/dist/var
21
 
piddir  = /home/oetiker/data/projects/AADJ-smokeping/dist/var
22
 
cgiurl   = http://people.ee.ethz.ch/~oetiker/smokeping/smokeping.cgi
23
 
smokemail = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/smokemail.dist
24
 
tmail = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/tmail.dist
 
14
# NOTE: do not put the Image Cache below cgi-bin
 
15
# since all files under cgi-bin will be executed ... this is not
 
16
# good for images.
 
17
imgcache = /home/oetiker/public_html/smokeping-ms/cache
 
18
imgurl   = cache
 
19
datadir  = /tmp/smokeping-ms/data
 
20
piddir  = /tmp/smokeping-ms/var
 
21
cgiurl   = http://some.url/smokeping.cgi
 
22
smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
 
23
tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
25
24
# specify this to get syslog logging
26
25
syslogfacility = local0
27
26
# each probe is now run in its own process
29
28
# concurrentprobes = no
30
29
 
31
30
*** Alerts ***
32
 
to = admin@company.xy
 
31
to = alertee@address.somewhere
33
32
from = smokealert@company.xy
34
33
 
35
 
+bigloss
36
 
type = loss
37
 
# in percent
38
 
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
39
 
comment = suddenly there is packet loss
40
 
 
41
34
+someloss
42
35
type = loss
43
36
# in percent
44
37
pattern = >0%,*12*,>0%,*12*,>0%
45
38
comment = loss 3 times  in a row
46
39
 
47
 
+startloss
48
 
type = loss
49
 
# in percent
50
 
pattern = ==S,>0%,>0%,>0%
51
 
comment = loss at startup
52
 
 
53
 
+rttdetect
54
 
type = rtt
55
 
# in milli seconds
56
 
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
57
 
comment = routing mesed up again ?
58
 
 
59
40
*** Database ***
60
41
 
61
42
step     = 300
73
54
 
74
55
*** Presentation ***
75
56
 
76
 
template = /home/oetiker/data/projects/AADJ-smokeping/dist/etc/basepage.html.dist
 
57
template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
 
58
 
 
59
+ charts
 
60
 
 
61
menu = Charts
 
62
title = The most interesting destinations
 
63
 
 
64
sorter = StdDev(entries=>4)
 
65
title = Top Standard Deviation
 
66
menu = Std Deviation
 
67
format = Standard Deviation %f
 
68
 
 
69
sorter = Max(entries=>5)
 
70
title = Top Max Roundtrip Time
 
71
menu = by Max
 
72
format = Max Roundtrip Time %f seconds
 
73
 
 
74
sorter = Loss(entries=>5)
 
75
title = Top Packet Loss
 
76
menu = Loss
 
77
format = Packets Lost %f
 
78
 
 
79
sorter = Median(entries=>5)
 
80
title = Top Median Roundtrip Time
 
81
menu = by Median
 
82
format = Median RTT %f seconds
77
83
 
78
84
+ overview 
79
85
 
92
102
"Last 10 Days"    10d
93
103
"Last 400 Days"   400d
94
104
 
 
105
#+ hierarchies
 
106
#++ owner
 
107
#title = Host Owner
 
108
#++ location
 
109
#title = Location
 
110
 
95
111
# (The actual example starts here.)
96
112
 
97
113
*** Probes ***