From 62fc2aed4b5e12d928a10bde65b787200c103a6f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 7 Oct 2011 16:30:15 +0200 Subject: pingu.conf: add some new example config options --- pingu.conf | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/pingu.conf b/pingu.conf index b54861a..f502bca 100644 --- a/pingu.conf +++ b/pingu.conf @@ -1,7 +1,7 @@ # comments are prefixed with # -# global options. Those can bi overidden in the host definition +# global options. Those can be overidden in the host definition interval 30 retry 5 required 3 @@ -9,17 +9,35 @@ timeout 1.0 # interface definitions interface eth1 { + # label used by pinguctl + label ISP via 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 + # route-table 10 + + # minimum hosts online to consider the gateway online + required-hosts-online 1 + + # execute action when gateway goes up + # gateway-up-action echo "ISP via eth1 is ONLINE" + + # execute action when gateway goes down + # gateway-down-action echo "ISP via eth1 is OFFLINE" } interface dummy0 { + label Dummy ISP } # host to ping host 10.65.0.1 { - label ISP1 + label My Host + bind-interface eth1 +} + +host 8.8.8.8 { + label Google public DNS (via eth1) bind-interface eth1 } -- cgit v1.2.3