272
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE
ALARM SENSOR ALERT
The commands below set an alert for doorAlarm and windowAlarm, two alarms connected to an environmental sensor called
SensorInRoom3. Both alarms are disabled on Mondays from 08:15 to 14:30.
# config -s \
config.alerts.alert2.alarm1=SensorInRoom3.alarm1 (doorAlarm)
# config -s \
config.alerts.alert2.alarm1=SensorInRoom3.alarm2 (windowAlarm)
# config -s config.alerts.alert2.alarmrange.mon.from.hour=8
# config -s config.alerts.alert2.alarmrange.mon.from.min=15
# config -s config.alerts.alert2.alarmrange.mon.until.hour=14
# config -s config.alerts.alert2.alarmrange.mon.until.min=30
# config -s config.alerts.alert2.description='description'
# config -s config.alerts.alert2.sensor=temp
# config -s config.alerts.alert2.signal=DSR
# config -s config.alerts.alert2.type=alarm
To enable an alarm for the entire day:
# config -s config.alerts.alert2.alarmrange.mon.from.hour=0
# config -s config.alerts.alert2.alarmrange.mon.from.min=0
# config -s config.alerts.alert2.alarmrange.mon.until.hour=0
# config -s config.alerts.alert2.alarmrange.mon.until.min=0
The following command will synchronize the live system with the new configuration:
# config -r alerts
15.1.13 SMTP AND SMS
To set-up an SMTP mail or SMS server with the following details:
TABLE 15-11. SMTP OR SMS SETTINGS
SMTP OR SMS SERVER SETTING
VALUE
Outgoing server address
mail.Black Box.com
Secure connection type
SSL
Sender
john@Black Box.com
Server username
john
Server password
A-little-secret-for-2.
Subject line
SMTP alerts.