git-svn-id: svn://192.168.202.10@2888 3d104415-ff17-0410-8863-d5cf3c621b8a

This commit is contained in:
jamesp
2018-01-10 18:15:35 +00:00
parent ee3c5097e9
commit b5e1dc0374
55 changed files with 4266 additions and 0 deletions
+153
View File
@@ -0,0 +1,153 @@
*** General ***
owner = ViciNOC
contact = admin@localhost
mailhost = localhost
sendmail = /usr/sbin/sendmail
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
imgcache = /var/lib/smokeping/cache
imgurl = /smokeping/cache
datadir = /var/lib/smokeping/data
piddir = /var/run/smokeping/
cgiurl = http://X.X.X.X/cgi-bin/smokeping
smokemail = /etc/smokeping/smokemail
tmail = /etc/smokeping/tmail
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no
*** Alerts ***
to = noc@somedomain
from = vicinoc@localhost
# This rule checks for 3 periods (3 * 5min default) where
# the rtt is >100ms
+rttdetect
type = rtt
# in milli seconds
pattern = >100,>100,>100
edgetrigger = yes
comment = RTT > 100ms
# This rule checks for one period (1 * 5mins) of >60% loss
+hostdown
type = loss
# in percent
pattern = >60%
edgetrigger = yes
comment = Massive loss for 5 mins
# This rule checks for one period (1 * 5mins) of >10% loss
+someloss
type = loss
# in percent
pattern = >10%
edgetrigger = yes
comment = Some loss for 5 mins
*** 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 = /etc/smokeping/basepage.html
+ 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
#+ hierarchies
#++ owner
#title = Host Owner
#++ location
#title = Location
*** Probes ***
+ FPing
binary = /usr/sbin/fping
*** Slaves ***
secrets=/etc/smokeping/smokeping_secrets
+boomer
display_name=boomer
color=0000ff
+slave2
display_name=another
color=00ff00
*** Targets ***
probe = FPing
menu = Top
title = Network Latency Grapher
remark = ViciNOC Network Health Monitor
+ ViciNOC
title = ViciNOC Local Server
host = 127.0.0.1
@include /etc/smokeping/smokeping-viciserver.conf
@include /etc/smokeping/smokeping-viciagents.conf
@include /etc/smokeping/smokeping-carriers.conf
@include /etc/smokeping/smokeping-other.conf