Schedule demo

Replaceable Tags


Alarm Configuration can be further enhanced by 'Replaceable Tags'. An email action is configured, if, for e.g., Tomcat Server goes down. While creating the E-Mail action, you can specify the "Message" as "This resource is running $HOSTNAME at port $PORT. If the Tomcat Server goes down, then email action is triggered with a message that contains the actual name of the Host and Port Number. Hereby the Dollar Tags are replaced with the host in which the tomcat server is running and the exact port of the tomcat server.

Further, if you want Applications Manager to pass arguments to Custom Scripts, which would be invoked as part of 'Execute Program Action', you can make use of Replaceable Tags.

For e.g., in 'Execute Program Action' , you can give the value for 'Program To Execute' to be
<run.bat $HOSTIP $MONITORNAME $PORT>

If the action is invoked then the $tags would be replaced with the then actual values say
<run.bat 191.167.111.27 MyServer 9090>

Note: Replaceable tags are supported in both Success and Failure Notifications, but they apply only to the Windows Services action.

Find below the dollar tag parameters that can be associated with their probable values.

TagDescription
$MONITORNAMEName of the Monitor
$MONITORGROUPName of the monitor group/ sub group/ web application group.

Note: We can exclude any Monitor Group from this Replaceable tag by setting the ExcludeInMGReplaceableTag custom field value to true for the corresponding Monitor Group.

$ATTRIBUTEVarious Attributes like Health, Availability, etc.,
$ATTRIBUTEVALUEValue of the attribute (eg., response time, memory usage,etc.,) that triggered the alarm.
$SEVERITYASNUMBER1 (Critical/Down)
4 (Warning)
5 (Clear/Up)
$SEVERITYCritical, Warning, Clear, Up and Down
$HOSTIPThe IP Address of the Host
$MONITORTYPEVarious Monitor Types like Tomcat-server, MYSQL-DB-server, Script Monitor, etc.,
$OBJECTNAMEMBean Object name when associated to Custom Monitor attributes
$HOSTNAMEName of the Host
$PORTPort Number
$DATEDate and time at which the alarm was generated.
$OIDSNMP OID
$RCAMESSAGERoot Cause Message like
Average Response Time of SQS_Tomcat-server_9095 is critical because its value 652 > 10ms.
[Threshold Details : Critical if value > 10, Warning if value = 10, Clear if value < 10]
$SHORT_MESSAGEDisplays the first 150 characters of the message from $RCAMESSAGE.
$CUSTOM_{COLUMN_NAME}Displays the value of the column name specified for a tabular metric in a custom monitor. To use this tag, replace {COLUMN_NAME}with the exact (case-sensitive) column name of the tabular metric in the custom monitor.

Example:$CUSTOM_name, $CUSTOM_AGE, where name and AGE are the column names of the custom monitor.

Note: This tag is supported only for Script / Custom Monitor and Database Query Monitor.

$THRESHOLDMESSAGEThe message specified by the user for the different severity levels in Threshold Profile.
$URLThe URL of the monitor from where the action is triggered.
$TECHNICIANThe user who acknowledges the alarm generated.
$ANNOTATIONUse the $ANNOTATION tag to add more details on a particular alarm
$STATUSFROMShows the time value in which the attribute's last status occurred
$LabelCustom Fields tag for the label of a resource.
$Configuration Item IdCustom Fields tag for the Configuration Item ID of a resource.
$DepartmentCustom Fields tag for the department of a resource
$DescriptionCustom Fields tag giving the description of a resource.
$LocationCustom Fields tag for Location Details like Name, Floor, Building, City, State, Country and Postal code.
$User / OwnerCustom Fields tag for the user or owner assigned.
$ENTITYUnique identifier for each monitoring object in Applications Manager.
Will be in RESOURCEID_ATTRIBUTEID format, where RESOURCEID is unique for each monitor and ATTRIBUTEID is unique for each metric.
$GROUPHIERARCHYList the hierarchy of monitor groups for a particular monitor/monitor group. Will work for all monitors and monitor groups
$RCAMSG_PLAINTEXTRoot Cause Message without any html content like:
Average Response Time of SQS_Tomcat-server_9095 is critical because its value 652 > 10ms.
[Threshold Details : Critical if value > 10, Warning if value = 10, Clear if value < 10]

You can use it in the Program to Execute field in the Execute Program action.

$MONITOR_DETAILS_PAGE_URLDisplays the URL link redirecting to the monitor's overview page.
$ALERTIDGives a unique ID to each newly generated alert.
$TIMESTAMPGives the timestamp of the current time in milliseconds format.

Limitation of Dollar tags

$ATTRIBUTE
$DATE
$MONITORNAME $MONITORGROUP
$MONITORTYPE
$RCAMESSAGE
$SEVERITY
$SEVERITYASNUMBER
These attributes will work for all the monitors / monitor groups
$HOSTIP
$HOSTNAME
$PORT
These attributes will not work for Monitor groups / URL / URL sequence monitor / Script Monitor / WMI counters / Web Services.
$OBJECTNAMEThis will work only for JMX custom attributes.
$OIDThis will work only for SNMP custom attributes.
$URLThis will work only for URL monitor.
$HOSTIP, $HOSTNAMEThese will not work for Ping monitor and File monitor.
$ATTRIBUTEVALUEThese attribute tags will not work in the Enterprise Edition Central Server.
 
Note: The $ tags will not be replaced when you execute the actions manually and not supported in Alarm Escalation.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally