51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
## - Configuration file for scrupts check_net.sh and netconfig.sh
|
|
## -
|
|
|
|
LOGGING_CONSOLE=false
|
|
DEBUG=true
|
|
|
|
## - Where are your scripts located?
|
|
## -
|
|
check_script=/root/bin/check_net.sh
|
|
netconfig_script=/root/bin/check_net/netconfig.sh
|
|
|
|
log_file=/var/log/check_net.log
|
|
|
|
|
|
## - Put in your extern devices (refers to your network configuration)
|
|
## -
|
|
## - Notice:
|
|
## - If not using multiple default gatways, declare the list in the order of your
|
|
## - preferred default gatway devices
|
|
## -
|
|
## - Example:
|
|
## - _INITIAL_DEVICE_LIST="eth2:172.16.72.254 ppp-reachout"
|
|
## - _INITIAL_DEVICE_LIST="eth2:172.16.72.254"
|
|
## - _INITIAL_DEVICE_LIST="ppp-reachout"
|
|
## -
|
|
_INITIAL_DEVICE_LIST="ppp-reachout"
|
|
|
|
## - Set to "false" uses "0.0.0.0" as remote gateway instead of the real address
|
|
## -
|
|
USE_REMOTE_GATEWAY_ADDRESS=true
|
|
#USE_REMOTE_GATEWAY_ADDRESS=false
|
|
|
|
## - Set default gw (roundrobin)
|
|
## -
|
|
## - !! SET_MULTIPLE_DEFAULT_GW=true does not work for now..
|
|
## -
|
|
SET_MULTIPLE_DEFAULT_GW=false
|
|
#SET_MULTIPLE_DEFAULT_GW=true
|
|
|
|
|
|
## - Set to false uses "0.0.0.0" as default gateway adress instaed of real remote address
|
|
## -
|
|
USE_DEFAULT_GW_ADDRESS=true
|
|
#USE_DEFAULT_GW_ADDRESS=false
|
|
|
|
|
|
admin_email=root
|
|
from_address="check-inet-devices@`hostname -f`"
|
|
company="ReachOut"
|
|
content_type='Content-Type: text/plain;\n charset="utf-8"'
|