This commit is contained in:
root
2025-11-07 11:31:06 +00:00
commit 2859f93882
407 changed files with 99769 additions and 0 deletions

72
debian/patches/proper-sample-conf vendored Normal file
View File

@@ -0,0 +1,72 @@
Description: setup a proper sample configuration
This disables slaves and setups targets that are sure to work (no
slaves, localhost). It also sets up utf8
Author: Antoine Beaupré <anarcat@debian.org>
Forwarded: not-needed
Last-Update: 2019-02-10
Index: b/etc/config.dist.in
===================================================================
--- a/etc/config.dist.in 2018-05-12 17:09:30.386008068 -0400
+++ b/etc/config.dist.in 2018-05-12 17:13:09.471522001 -0400
@@ -48,6 +48,7 @@ AVERAGE 0.5 144 720
*** Presentation ***
template = /etc/smokeping/basepage.html
+charset = utf-8
htmltitle = yes
graphborders = no
@@ -111,13 +112,13 @@ binary = /usr/bin/fping
*** Slaves ***
secrets=/etc/smokeping/smokeping_secrets
-+boomer
-display_name=boomer
-color=0000ff
-
-+slave2
-display_name=another
-color=00ff00
+#+boomer
+#display_name=boomer
+#color=0000ff
+
+#+slave2
+#display_name=another
+#color=00ff00
*** Targets ***
@@ -128,21 +129,16 @@ title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
Here you will learn all about the latency of our network.
-+ Test
-menu= Targets
-#parents = owner:/Test/James location:/
++ Local
-++ James
+menu = Local
+title = Local Network
+#parents = owner:/Test/James location:/
-menu = James
-title =James
-alerts = someloss
-slaves = boomer slave2
-host = james.address
-
-++ MultiHost
-
-menu = Multihost
-title = James and James as seen from Boomer
-host = /Test/James /Test/James~boomer
+++ LocalMachine
+menu = Local Machine
+title = This host
+host = localhost
+#alerts = someloss
+#slaves = boomer slave2