Created
February 18, 2013 08:18
-
-
Save nikushi/4975843 to your computer and use it in GitHub Desktop.
smokeping's config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /usr/local/smokeping/etc/smokeping.conf | |
*** General *** | |
owner = Your Campany | |
contact = [email protected] | |
mailhost = localhost | |
sendmail = /usr/sbin/sendmail | |
imgcache = /usr/local/smokeping/cache | |
imgurl = cache | |
datadir = /usr/local/smokeping/data | |
piddir = /usr/local/smokeping/var | |
cgiurl = http://localhost/smokeping/smokeping.cgi | |
smokemail = /usr/local/smokeping/etc/smokemail.dist | |
tmail = /usr/local/smokeping/etc/tmail.dist | |
syslogfacility = local0 | |
*** Alerts *** | |
to = [email protected] | |
from = smokeping@localhost | |
+someloss | |
type = loss | |
# in percent | |
pattern = >0%,*12*,>0%,*12*,>0% | |
comment = loss 3 times in a row | |
*** 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 = /usr/local/smokeping/etc/basepage.html.dist | |
+ charts | |
menu = Charts | |
title = The most interesting destinations | |
++ stddev | |
sorter = StdDev(entries=>4) | |
title = Top Standard Deviation | |
menu = Std Deviation | |
format = Standard Deviation %f | |
++ max | |
sorter = Max(entries=>5) | |
title = Top Max Roundtrip Time | |
menu = by Max | |
format = Max Roundtrip Time %f seconds | |
++ loss | |
sorter = Loss(entries=>5) | |
title = Top Packet Loss | |
menu = Loss | |
format = Packets Lost %f | |
++ median | |
sorter = Median(entries=>5) | |
title = Top Median Roundtrip Time | |
menu = by Median | |
format = Median RTT %f seconds | |
+ 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/sbin/fping | |
*** Targets *** | |
probe = FPing | |
menu = Top | |
title = Network Latency Grapher | |
remark = Welcome to the SmokePing website of Campany. \ | |
Here you will learn all about the latency of our network. | |
+ Test | |
menu= Test | |
++ Test | |
menu = test | |
title = test | |
alerts = someloss | |
host = 192.168.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment