aboutsummaryrefslogtreecommitdiffstats
path: root/pingu.conf
diff options
context:
space:
mode:
Diffstat (limited to 'pingu.conf')
-rw-r--r--pingu.conf44
1 files changed, 22 insertions, 22 deletions
diff --git a/pingu.conf b/pingu.conf
index 55f7ee2..b54861a 100644
--- a/pingu.conf
+++ b/pingu.conf
@@ -1,30 +1,30 @@
# comments are prefixed with #
-# global option
-interval 10
-retry 3
+# global options. Those can bi overidden in the host definition
+interval 30
+retry 5
+required 3
timeout 1.0
-# route-script will be executed every time anything changes status.
-# All gateways that are "up" are sent as parameter.
-route-script /etc/pingu/route-script
+
+# interface definitions
+interface eth1 {
+ # define a route table to use. If unset it will be picked auto.
+ # Setting this to 0 means do not manage routes for this interface
+ # route-table 1
+}
+
+interface dummy0 {
+}
# host to ping
-host 10.65.67.1
-name ISP-1
-# bind to interface
-interface eth1
-# set the source ip
-source-ip 10.65.67.12
-timeout 0.3
-retry 2
-up-action echo "isp 1 went up"
-down-action echo "iso 1 went down"
+host 10.65.0.1 {
+ label ISP1
+ bind-interface eth1
+}
-#host 10.2.0.1
-#name ISP-2
-#interface eth0
-#source-ip 10.2.0.3
-#up-action /etc/pingu/isp2 up
-#down-action /etc/pingu/isp2 down
+host 192.168.1.5 {
+ label Dummy Local
+ bind-interface dummy0
+}