aboutsummaryrefslogtreecommitdiffstats
path: root/pingu.conf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-31 12:50:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-31 12:50:08 +0000
commitc9fe03878b1808e9c33e3f9b16964a142331253b (patch)
treed8ab10ddfac0de0f9f67e8eca4da84a22a1d2a77 /pingu.conf
parent0392773d57e3fca5efade2298d641c22202d624a (diff)
downloadpingu-c9fe03878b1808e9c33e3f9b16964a142331253b.tar.bz2
pingu-c9fe03878b1808e9c33e3f9b16964a142331253b.tar.xz
pingu: cofigurable timeout/retry. default values. invert -d
- make timeout and retry configurable - possible to set default action, timeout and retry values - the -d option means "daemonize" rather than "debug mode".
Diffstat (limited to 'pingu.conf')
-rw-r--r--pingu.conf22
1 files changed, 13 insertions, 9 deletions
diff --git a/pingu.conf b/pingu.conf
index 215b25c..51c7573 100644
--- a/pingu.conf
+++ b/pingu.conf
@@ -2,17 +2,21 @@
# comments are prefixed with #
# global option
-interval 3
+interval 1
+retry 3
+timeout 1.0
-router 10.65.67.11
+host 10.65.67.11
+name ISP-1
interface eth1
-provider ISP-1
-up-action echo "isp 1 went up" >> /tmp/pingu.log
-down-action echo "iso 1 went down" >> /tmp/pingu.log
+timeout 0.3
+retry 2
+up-action echo "isp 1 went up"
+down-action echo "iso 1 went down"
-#router 10.2.0.3
+#host 10.2.0.3
+#name ISP-2
#interface eth0
-#provider ISP-1
-#up-action /etc/pingu/isp1 up
-#down-action /etc/pingu/isp1 down
+#up-action /etc/pingu/isp2 up
+#down-action /etc/pingu/isp2 down