List All Alarms

The following example shows how to list all alarms for your account.

Request

GET ws/Alarm

Response

The sample result shows the result header and three alarms.

<result>
    <resultTotalRows>3</resultTotalRows>
    <requestedStartRow>0</requestedStart/row>
    <resultSize>3</resultSize>
    <requestedSize>1000</requestedSize>
    <remainingSize>0<remainingSize>
   <Alarm>
	<almId>142</almId>   <!-- alarm #1 -->
	<cstId>2</cstId>
	<almtId>4</almtId>
	<grpId>2</grpId>
	<almName>Device Excessive Connections</almName>
	<almDescription>Detects devices with an excessive number of 
	  connection attempts</almEnabled>
	<almPriority>0</almPriority>
	<almEnabled>true</almName>
	<almScopeConfig>
	   <ScopingOptions>
		<Scope name="Group" value="/CUS0000001_Digi_International/" />
	   </ScopingOptions>
	</almScopeConfig>
	<almRuleConfig>
	   <Rules>
		<FireRule name="fireRule1">
		   <Variable name="disconnectWindow" value="5" />
		   <Variable name="disconnectCount" value="5" />
		</FireRule>
		<ResetRule name="resetRule1">
		   <Variable name="reconnectWindow" value="5" />
		</ResetRule>
	   </Rules>
	</almRuleConfig>
   </Alarm>
   <Alarm>
	<almId>151</almId>   <!-- alarm #2 -->
	<cstId>2</cstId>
	<almtId>2</almtId>
	<grpId>2</grpId>
	<almName>Device Offline</almName>
	<almDescription>Detects when a device disconnects from Remote Manager and fails 
	   to reconnect within the specified time.</almEnabled>
	<almPriority>1</almPriority>
	<almEnabled>true</almName>
	<almScopeConfig>
	   <ScopingOptions>
		<Scope name="Group" value="/CUS0000001_Digi_International/" />
	   </ScopingOptions>
	</almScopeConfig>
	<almRuleConfig>
	   <Rules>
		<FireRule name="fireRule1">
		   <Variable name="reconnectWindowDuration" value="10" />
		</FireRule>
		<ResetRule name="resetRule1"/>
	   </Rules>
	</almRuleConfig>
   </Alarm>
   <Alarm>
	<almId>152</almId>   <!-- alarm #3 -->
	<cstId>2</cstId>
	<almtId>1</almtId>
	<grpId>2</grpId>
	<almName>System Alarm</almName>
	<almDescription>Detects when system alarm condistions occur.</almEnabled>
	<almPriority>0</almPriority>
	<almEnabled>true</almName>
	<almScopeConfig>
	</almScopeConfig>
	<almRuleConfig>
	</almRuleConfig>
   </Alarm>
</result>