Commit | Line | Data |
---|---|---|
c5de9e27 AT |
1 | # $Id: sample.cfg,v 1.2 2000/07/25 01:57:01 lord Exp $ |
2 | # | |
3 | #Name, ping_interval, max_delay, upcmd, downcmd, startup condition | |
4 | ||
5 | # Monitor these hosts when they go down | |
6 | r90 1 5 "echo r90 up| mail lord" "echo r90 down| mail lord" | |
7 | noir.crocodile.org 60 10 "echo noir up| mail lord" "echo noir down| mail lord" | |
8 | crocodile.org 60 10 "echo home up| mail lord" "echo home down| mail lord" | |
9 | lizard 1 5 "echo lizard up| mail lord" "echo lizard down| mail lord" | |
10 | ||
11 | # Monitor this host when it is started | |
12 | windoze 60 10 "echo warning windoze is running| mail lord" "echo internet clean again| mail lord" down | |
13 | ||
14 | # If and only if the fast gateway goes down switch to another, slower one. | |
15 | # Assume no valid configuration on startup. | |
16 | gate.ether 1 5 "ifup -s ether" "ifup -s phone" none |