# OpManager variables [![Workflow variables in OpManager: Cisco ACI topology](https://www.manageengine.com/network-monitoring/images/cisco-aci-topology.jpg)](https://www.youtube-nocookie.com/embed/gijlHhIkTzg) Variables in OpManager are used to insert real-time data into workflows, notification messages, and webhook payloads. They act as dynamic fields that automatically pull in values like device name, IP address, alarm severity, and timestamp when an event is triggered. For example, in a notification profile, you can use variables to include the device name and alarm details in an email or SMS. In workflows, variables let you perform actions based on the specific device or alarm that triggered the workflow. When sending data to external systems via webhook, variables ensure the payload contains accurate, relevant details from OpManager events. The following variables help you automate responses, get useful alerts, and integrate with other tools without manually specifying any values. | Variable Category | Variable Name | Description | |---|---|---| | **Device Properties** | $DeviceField(type) | Type of the device | | **Device Properties** | $DeviceField(ipAddress) | IP address of the device | | **Device Properties** | $DeviceField(snmp) | Whether SNMP is enabled (True/False) | | **Device Properties** | $DeviceField(dependent) | Name of the parent device | | **Device Properties** | $DeviceField(hardDiskSize) | Disk size in gigabytes | | **Device Properties** | $DeviceField(ramSize) | RAM size in megabytes | | **Device Properties** | $DeviceField(vendor) | Device vendor name | | **Alarm Variables** | $alarmid | Numerical ID assigned to the alarm | | **Alarm Variables** | $message | Message of the alarm | | **Alarm Variables** | $rcaLinkOfTheAlarm | Root Cause Analysis profile name | | **Alarm Variables** | $displayName | Source that triggered the alarm | | **Alarm Variables** | $category | Category of the source | | **Alarm Variables** | $stringseverity | Severity level (Attention, Trouble, Service Down, Critical & Clear) | | **Alarm Variables** | $strModTime | Timestamp indicating when the alarm was last modified | | **Alarm Variables** | $eventType | Type of the alarm | | **Alarm Variables** | $entity | Unique identifier of the alarm | | **Alarm Variables** | $lastPolledValue | Last collected value of the monitor | | **Interface Properties** | $IntfField(ifDescr) | Interface description | | **Interface Properties** | $IntfField(displayName) | Display name of the interface | | **Interface Properties** | $IntfField(IFAlias) | Interface alias | | **Interface Properties** | $IntfField(ifName) | Interface name | | **Interface Properties** | $IntfField(ipAddress) | IP address of the interface | | **Interface Properties** | $IntfField(ifPhysAddress) | Physical address (MAC) of the interface | | **Interface Properties** | $IntfField(index) | Interface index | | **Interface Properties** | $IntfField(ifCircuitID) | Circuit identification number | | **Interface Properties** | $IntfField(ifSpeedIn) | Incoming speed | | **Interface Properties** | $IntfField(ifSpeedOut) | Outgoing speed | | **Monitor Properties** | $MonitorField(monitorName) | Display name of the monitor | | **Monitor Properties** | $MonitorField(instance) | Instance name of the monitor | | **Monitor Properties** | $MonitorField(protocol) | Protocol used by the monitor | | **Custom Fields for Devices** | $CustomField(Building) | Building name or location | | **Custom Fields for Devices** | $CustomField(Cabinet) | Cabinet or rack number | | **Custom Fields for Devices** | $CustomField(Comments) | Additional comments | | **Custom Fields for Devices** | $CustomField(Contact Name) | Contact person name | | **Custom Fields for Devices** | $CustomField(Department) | Department name | | **Custom Fields for Devices** | $CustomField(Floor) | Floor number | | **Custom Fields for Devices** | $CustomField(SerialNumber) | Device serial number | | **Custom Fields for Devices** | $CustomField(Telephone Number) | Contact telephone number | | **Custom Fields for Interfaces** | $IntCustomField(Circuit ID) | Custom circuit ID | | **Custom Fields for Interfaces** | $IntCustomField(Comments) | Custom comments | | **Custom Fields for Interfaces** | $IntCustomField(Contact Name) | Contact person name | | **Custom Fields for Interfaces** | $IntCustomField(SLA) | Service Level Agreement | | **Custom Fields for Interfaces** | $IntCustomField(Telephone Number) | Contact telephone number | | **Notification Profile Properties** | $ProfileField(name) | Name of the notification profile | Additionally, the following variables can be used while executing workflows: | Variable | Description | |---|---| | ${DeviceName} | Displays the device DNS name. | | ${WorkflowName} | Displays the name of the workflow. | | ${Device.DisplayName} | Shows the display name of the device | | ${IPAddress} | Displays the IP address of the device. | | ${Date} | Displays the current time. |