39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# *** Hosts' parameters ***
|
|
host 10.0.0.1 {
|
|
hostname = "10.0.0.1"
|
|
lpt_pin = 2
|
|
}
|
|
host 10.0.0.2 {
|
|
hostname = "10.0.0.2"
|
|
lpt_pin = 3
|
|
}
|
|
host 10.0.0.254 {
|
|
hostname = "10.0.0.254"
|
|
lpt_pin = 4
|
|
}
|
|
# log verbosity: 0 - normal mode, 1 - verbose, 2 - most verbose
|
|
debug = 2
|
|
# *** Threshold parameters ***
|
|
# Number of failures while hosts checking, that triggers SMS sending
|
|
failures_first = 1
|
|
# Number of failures while hosts checking, that triggers host's reset, if no reaction was received
|
|
failures_second = 3
|
|
# Number of failures while hosts checking, that clean host's failure statistics
|
|
failures_third = 9
|
|
# *** Notification parametes ***
|
|
# Use LPT for reset target devices?
|
|
# Note: first LPT pin is for management and it should not be used
|
|
lpt_enable = true
|
|
# LPT port address(usually 0x378 is LPT1)
|
|
lpt_port = 0x378
|
|
# Use SMS messages for control and reports?
|
|
sms_enable = false
|
|
# Phone model for Gammu
|
|
phone_model = "at"
|
|
# Phone connection type
|
|
phone_connection = "at"
|
|
# Phone device
|
|
phone_device = "/dev/ttyACM0"
|
|
# recipient of SMS messages(if sending is enabled)
|
|
sms_recipient = "+79999999999"
|