- Preface
- Overview
- Adding and Deleting Mobility Services Engines and Licenses
- Synchronizing Mobility Services Engines
- Configuring High Availability
- MSE Delivery Modes
- Configuring and Viewing System Properties
- Mobile Concierge Services
- Managing Users and Groups
- Configuring Event Notifications
- Context-Aware Service Planning and Verification
- Working with Maps
- Monitoring the System and Services
- Performing Maintenance Operations
- MSE System and Appliance Hardening Guidelines
- Index
Configuring Event Notifications
With the Cisco Prime Infrastructure, you can define conditions that cause the mobility services engine to send notifications to specific listeners. This chapter describes how to define events and event groups and how to view event notification summaries.
![]() Note | The Cisco Mobility Services Engines, Synchronize Services, Synchronization History, High Availability, Context Aware Notifications, and MSAP pages from the Services tab is available only in the virtual domain in Release 7.3.101.0. |
- Information About Event Notifications
- Adding and Deleting Event Groups
- Adding, Deleting, and Testing event Definitions
- Prime Infrastructure as a Notification Listener
Information About Event Notifications
- Event Group—Helps you organize event notifications
- Event Definition—An event definition contains the condition that caused the event, the assets to which the event applies, and the event notification destination.
- Event Notification—A mobility services engine sends event notifications to registered listeners over the following transport mechanisms.
Viewing Event Notification Summary
The mobility services engine sends event notifications and does not store them. However, if Prime Infrastructure is a destination of notification events, it stores the notifications it receives and groups them into the following seven categories:
- Absence (Missing)—The MSE generates an absence event when an asset goes missing. In other words, the MSE cannot detect the asset in the WLAN for the specified time.
-
In/Out Area
(Containment)—The MSE generates a containment event when an asset moves in or
out of a designated area.
Note
You define a containment area (campus, building, or floor) using Monitor > Maps. You can define a coverage area using the Map Editor.
- Movement from Marker (Movement/Distance)—The MSE generates a movement event when an asset is moved beyond a specified distance from a designated marker you define on a map.
- Location Changes—The MSE generates location change events when a client station, asset tag, rogue client, or rogue access point changes its location.
- Battery Level—The MSE generates battery level events for all tracked asset tags.
- Emergency—The MSE generates an emergency event for a Cisco CX v.1-compliant asset tag when the panic button of the tag is triggered or the tag becomes detached, is tampered with, becomes inactive, or reports an unknown state. This information is reported and displayed only for Cisco CX v.1-compliant tags.
-
Chokepoint
Notifications—The MSE generates an event when a tag is stimulated by a
chokepoint. This information is reported and displayed only for Cisco CX
v.1-compliant tags.
Note
All element events are summarized hourly and daily.
Note
The Track Group and events must be synchronized with a MSE.
Clearing Notifications
- Missing (Absence)—Elements (clients, tags, rogue access points, or rogue clients) reappear.
- In/Out Area (Containment)—Elements move back in to or out of the containment area.
- Distance—Elements move back within the specified distance from a marker.
- Location Changes—Clear state does not apply to this condition.
- Battery Level—Tags are detected and operate with normal battery level.
![]() Note | In Prime Infrastructure, the Notifications Summary page reflects whether notifications for cleared event conditions have been received. |
Notification Message Formats
Notification Formats in Text
When you specify that notification be sent in text format, the mobility services engine uses a plain-text string to indicate the condition:
Tag 00:02:02:03:03:04 is in Floor <floorName> Tag 00:02:02:03:03:04 is outside Floor <floorName> Client 00:02:02:03:09:09 is in Area <areaName> RogueClient 00:02:02:08:08:08 is outside Building <buildingName> Tag 00:02:02:03:03:06 has moved 105 feet where the trigger distance was 90 feet. Tag 00:02:02:03:03:20 missing for 14 mins, last seen <timestamp>.
![]() Note | Cisco maintains the right to modify the text notification format without notice. |
![]() Note | XML is the recommended format for systems that need to parse or analyze notification contents. |
Notification Formats in XML
- Missing (Absence) Condition
- In/Out (Containment) Condition
- Distance Condition
- Battery Level
- Location Change
- Chokepoint Condition
- Emergency Condition
![]() Note | The XML format is part of a supported API. Cisco provides change notification as part of the Mobility Services Engine API program whenever the API is updated in the future. |
- Missing (Absence) Condition
- In/Out (Containment) Condition
- Distance Condition
- Battery Level
- Location Change
- Chokepoint Condition
- Emergency Condition
Missing (Absence) Condition
Message format for element absence:
<AbsenceTrackEvent missingFor="<time in secs entity has been missing>" lastSeen="time last seen" trackDefn="<name of track definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
Message format for the Clear state:
<AbsenceTrackEvent state="clear" trackDefn="<name of track definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
For example:
<AbsenceTrackEvent state="set" missingFor="34" lastSeen="15:00:20 08 Jun 2009" trackDefn="absenceDef1" entityType="Mobile Station" entityID="00:0c:f1:53:9e:c0"/> <AbsenceTrackEvent state="clear" entityType="Tag" trackDefn="absenceDef1" entityID="00:0c:cc:5b:fc:da"/>
In/Out (Containment) Condition
Message format for element containment:
<ContainmentTrackEvent in="true | false" trackDefn="<name of track definition>" containerType="Floor | Area | Network Design | Building" containerID="<fully quality name of container>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
Message format for the Clear state:
<ContainmentTrackEvent state="clear" trackDefn="<name of track definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
For example:
<ContainmentTrackEvent in="true" trackDefn="myContainerRule1" containerType="Area" containerID="nycTestArea,5th Floor,Bldg-A,Rochester_Group,Rochester,"
![]() Note | The containerID string represents a coverage area called nycTestArea, located in the 5th floor of Bldg-A of the campus Rochester. |
entityType="Tag" entityID="00:0c:cc:5b:fa:44"/> <ContainmentTrackEvent state="clear" entityType="Tag" trackDefn="myContainerRule1" entityID="00:0c:cc:5b:f8:ab"/>
Distance Condition
Message format for elements on the same floor:
<MovementTrackEvent distance="<distance in feet at which the element was located>" triggerDistance="<the distance specified on the condition" reference="<name of the marker specified on the condition>" trackDefn="<name of event definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
Message format for elements located on a different floor:
<MovementTrackEvent optionMsg="has moved beyond original floor" reference="<name of the marker specified on the condition>" trackDefn="<name of event definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
Message format for clear state:
<MovementTrackEvent state="clear" trackDefn="<name of event definition>" entityType="Mobile Station | Tag | Rogue AP | Rogue Client" entityID="<mac address"/>
For example:
<MovementTrackEvent distance="115.73819627990147" triggerDistance="60.0" reference="marker2" trackDefn="distance2" entityType="Mobile Station" entityID="00:0c:41:15:99:92"/>
<MovementTrackEvent optionMsg="has moved beyond original floor" reference="marker2" entityType="Tag" trackDefn="distance2" entityID="00:0c:cc:5b:fa:4c"/>
<MovementTrackEvent state="clear" entityType="Tag"
Battery Level
Example:
<BatteryLifeTrackEvent lastSeen="10:28:52 08 Jun 2009" batteryStatus="medium" trackDefn="defn1" entityType="Tag" entityID="00:01:02:03:04:06"/>
Location Change
Example:
<MovementTrackEvent distance="158.11388300841898" triggerDistance="5.0" reference="marker1" referenceObjectID="1" trackDefn="defn1" entityType="Mobile Station" entityID="00:01:02:03:04:05"/>
Chokepoint Condition
Example:
<ChokepointTrackEvent lastSeen="11:10:08 PST 08 Jun 2009" chokepointMac=“00:0c:cc:60:13:a3” chokepointName= “chokeA3” trackDefn=“choke" entityType="Tag" entityID="00:12:b8:00:20:4f”/>
An example for the Clear state follows:
<ChokepointTrackEvent state="clear" entityType="Tag" trackDefn="choke" entityID=”00:12:b8:00:20:4f”/>
Emergency Condition
An example for element location follows:
<ChokepointTrackEvent lastSeen=”11:36:46 PST June 08 2009" emergencyReason= “detached” trackDefn="emer" entityType="Tag" entityID=”00:12:b8:00:20:50”/>
![]() Note | Emergency events are never cleared. |
Adding and Deleting Event Groups
![]() Note | The Services > Context Aware Notifications page is available only in the root virtual domain. |
Adding Event Groups
To add an event group, follow these steps:
Deleting Event Groups
To delete an event group, follow these steps:
Adding, Deleting, and Testing event Definitions
This section describes how to add, delete, and test event definitions and contains the following topics:
Adding an Event Definition
To add an event definition, follow these steps:
Step 1 | Choose Services > Context Aware Notifications. | ||||||||||||
Step 2 | From the left sidebar menu, choose Notification Definitions. | ||||||||||||
Step 3 | Click the name of the group to which you want to add an event definition. An event settings page appears showing existing event definitions for the event group. | ||||||||||||
Step 4 | From the Select a command drop-down list, choose Add Event Definition. Click Go. | ||||||||||||
Step 5 | At the
Conditions tab, add one or more conditions. For each condition you add, specify
the rules for triggering event notifications.
To add a condition, follow these steps:
|
Deleting an Event Definition
To delete one or more event definitions from the Prime Infrastructure, follow these steps:
Testing Event Definitions
To test one or more event notifications of an event definition, follow these steps:
Prime Infrastructure as a Notification Listener
Prime Infrastructure acts as a notification listener. It translates the traps into user interface alerts and shows them in the following formats:
- Missing (Absence) Absence of Tag with MAC 00:0c:cc:5b:e4:1b, last seen at 16:19:45 08 June 2009.
- In/Out (Containment) Tag with MAC 00:0c:cc:5b:fa:44 is In the Area 'Rochester > Rochester > 5th Floor > nycTestArea'
-
Distance
Tag with MAC 00:0c:cc:5b:fa:47 has moved beyond the distance configured for the marker 'marker2'. Tag with MAC 00:0c:cc:5b:f9:b9 has moved beyond 46.0 ft. of marker 'marker2', located at a range of 136.74526528595058 ft.
-
Battery Level
Tag 00:01:02:03:04:06 has medium battery, last seen 11:06:01 08 June 2009
-
Location Change
Tag 00:01:02:03:04:06 has medium battery, last seen 11:06:01 08 June 2009
-
Location Change
Mobile Station 00:01:02:03:04:05 has moved
158.11388300841898ft, where the trigger distance was 5.0