set alarm

set alarm

Devices supported

Purpose

Required permissions

Syntax

This command is supported in the following products:

Connect Family: Digi Connect EM, Digi Connect Wi-EM, Digi Connect ME, Digi Connect Wi-ME. Setting alarms in GPIO mode is not supported in the Digi Connect SP device.

All Digi Cellular Family products. Setting alarms in GPIO mode is not supported.

Not supported in ConnectPort Display.

Configures device alarms and display current alarm settings. Device alarms are used to send emails or SNMP traps when certain device events occur. These events include changes in GPIO pin states; data patterns detected in the serial stream; and, for Digi Cellular Family products, the average signal strength falling below a specified level for a specified amount of time, and the amount of cellular traffic for a specified period of time, mobile temperature exceeding certain thresholds, and configuration changes to settings associated with the mobile device.

For Digi devices managed by Connectware Manager, the “cwm” option sends all alarms to a Connectware Manager server.

Up to 32 alarms can be configured in Digi Connect products.

To avoid false errors, configure alarms while alarms are disabled, by entering a “set alarm state=off” command, then enable alarms after they are fully configured by entering “set alarm state=on”.

For Digi Connect products with two or more users, permissions must be set to “set permissions s-alarm=read” to display current alarm settings, and to “set permissions s-alarm=rw” to display alarm settings and configure alarms. See "set permissions" on page 157 for details on setting user permissions for commands.

Configure alarms with general options (applies to all alarms)

set alarm [state={onoff}] [mailserverip=ipaddress] [from=string] [cwm={onoff}]

Configure alarms for a range (set multiple alarms)

set alarm range={1-32} [active={onoff}to=stringcc=stringsubject=string priority={normalhigh} mode={matchgpiorssi_gsmcell_datamobile_temp rssi_1xrtt rssi_1xevdoecio_1xrttecio_1xevdo 1xevdo_unavailmobile_unavail} type={emailsnmptrapall}]

70

Chapter 2 Command Descriptions

Page 70
Image 70
Digi 90000566_H manual Set alarm, Devices supported Purpose Required permissions Syntax