diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-07 16:30:15 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-07 16:30:15 +0200 |
commit | 62fc2aed4b5e12d928a10bde65b787200c103a6f (patch) | |
tree | 766acc24724eb499a88d9fb0edb8cda36528e4cb | |
parent | 2b4edba3ad8431f8bd8b7218e9f8a5a5e4ee18ac (diff) | |
download | pingu-62fc2aed4b5e12d928a10bde65b787200c103a6f.tar.bz2 pingu-62fc2aed4b5e12d928a10bde65b787200c103a6f.tar.xz |
pingu.conf: add some new example config options
-rw-r--r-- | pingu.conf | 24 |
1 files changed, 21 insertions, 3 deletions
@@ -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 } |