ManageEngine® Applications Manager 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>
Find below the dollar tag parameters that can be associated with their probable values.
Tags |
Values |
$MONITORNAME |
Name of the Monitor |
$MONITORGROUP |
Name of the monitor group/ sub group/ web application group. |
$ATTRIBUTE |
Various Attributes like Health, Availability, etc., |
$ATTRIBUTEVALUE |
Value of the attribute (eg., response time, memory usage,etc.,) that triggered the alarm. |
$SEVERITYASNUMBER |
1 (Critical/Down) |
$SEVERITY |
Critical, Warning, Clear, Up and Down |
$HOSTIP |
The IP Address of the Host |
$MONITORTYPE |
Various Monitor Types like Tomcat-server, MYSQL-DB-server, Script Monitor, etc., |
$OBJECTNAME |
MBean Object name when associated to Custom Monitor attributes |
$HOSTNAME |
Name of the Host |
$PORT |
Port Number |
$DATE |
Date |
$OID |
SNMP OID |
$RCAMESSAGE |
Root Cause Message like |
$THRESHOLDMESSAGE |
The message specified by the user for the different severity levels in Threshold Profile. |
$URL |
The URL of the monitor from where the action is triggered. |
$TECHNICIAN |
The user who acknowledges the alarm generated. |
$ANNOTATION |
Use the $ANNOTATION tag to add more details on a particular alarm |
$STATUSFROM |
Date/time when the sent status occured |
$Label |
Custom Fields tag for the label of a resource. |
$Configuration Item Id |
Custom Fields tag for the Configuration Item ID of a resource. |
$Department |
Custom Fields tag for the department of a resource |
$Description |
Custom Fields tag giving the description of a resource. |
$Location |
Custom Fields tag for Location Details like Name, Floor, Building, City, State, Country and Postal code |
$User / Owner |
Custom Fields tag for the user or owner assigned. |
$ENTITY
|
Unique 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. |
Limitation of Dollar tags
$ATTRIBUTE $MONITORGROUP |
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. |
$OBJECTNAME | This will work only for JMX custom attributes |
$OID | This will work only for SNMP custom attributes |
$HOSTIP, $HOSTNAME | These will not work for Ping monitor and File Monitor. |
Note: The $ tags will not be replaced when you execute the actions manually. |
Windows Services Action |
Container Actions |