ManageEngine® SQLDBManager Plus Replaceable Tags | ||
Alarm Configuration can be further enhanced by 'Replaceable Tags'. An email
action is configured, if, for e.g., SQL 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 SQL 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 SQL server is running and the exact port of the SQL server.
Further, if you want SQLDBManager Plus 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 |
$ATTRIBUTE |
Various Attributes like Health, Availability, etc., |
$SEVERITYASNUMBER |
1 (Critical/Down) |
$SEVERITY |
Critical, Warning, Clear, Up and Down |
$HOSTIP |
The IP Address of the Host |
$HOSTNAME |
Name of the Host |
$PORT |
Port Number |
$DATE |
Date |
$OID |
SNMP OID |
$RCAMESSAGE |
Root Cause Message |
Note: The $ tags will not be replaced when you execute the actions manually.
Windows Services Action |
Viewing Reports |