%VARIABLES%
Sometimes you need to add a variable to a Rule for parameters, such as the name of the server being tested – hard-coding each server name would be a huge amount of needless work
For Rules that need variables there is a %VARIABLE% button
This help page is a master list of the variables and their meanings
Example
For these two variables of %AGNodeName% and %AGNodeTryCount% Argent extracts the server name and the TCP/IP try count and substitutes them when the test is run
If the Monitoring Group listed three servers, TEST1, TEST2, and TEST3, then the above System Command Rule becomes
C:\NTRESOURCEKIT\DCDIAG.EXE TEST1
C:\NTRESOURCEKIT\DCDIAG.EXE TEST2
C:\NTRESOURCEKIT\DCDIAG.EXE TEST3
Where TEST1, TEST2 and TEST3 are %AGNodeName%
%AGAliasName%
Node’s alias name if present
If not present, a null string is returned
%AGBrokenRuleName%
Name of Rule causing the event to be fired to the main Argent Console screen
%AGClusterName%
Name of cluster if this Node is a cluster object
If not a cluster object, a null string is returned
%AGClusterObject%
Name of cluster object if this node is a cluster object
If not a cluster object, a null string is returned
%AGConsoleComment%
The console comment of the Rule causing the event to be fired to the main Argent Console screen
%AGEventDetail%
Summary of the event
%AGHighDetail%
A detailed description of event
%AGHighDetailAsString%
Long description of event with new lines replaced with spaces
This is useful for sending SMS messages and emails
%AGLowDetail%
Event summary
%AGEventID%
Each event on Argent Console screens (A1X) is assigned an ID, which is incremented and reset to 1 when reaching 99999
%AGNodeDelayMS% (Millisecond)
The Node’s TCP/IP timeout in milliseconds
This value is specified in node property of CMDB-X
%AGNodeDelayS% (Second)
The Node’s TCP/IP timeout in seconds
This value is specified in node property of CMDB-X
%AGNodeName%
The Node name causing the event to be fired to the main Argent Console screen
%AGNodeTryCount%
The Node’s TCP/IP retry count
This value is specified in node property of CMDB-X
%AGNodeType%
The Node type
%AGRelatorName%
The name of Relator causing the event to be fired to the main Argent Console screen
%AGReportNamesAsString%
The names of reports included in this Alert for automatic report distribution
%AGRuleDesc%
The Rule’s Description field
%AGService%
The Name of service causing the event to be fired to the main Argent Console screen
%AGUniqueID%
The internal unique ID of the event
This value is the column ‘pckey‘ of AAC_Console table
This value is the primary key of the SQL table
SQL Server backend maintains this field
%Date%
The date when the Rule was broken
This is the date on the local machine
%Time%
The time when the Rule was broken
This is the time on the local machine
Contact Information
These variables are from the CMDB-X
%EmailAddress%
The email address specified for the Node in the CMDB-X
If not specified, a null string is returned
%PhoneNumber%
The phone number specified for the Node in the CMDB-X
If not specified, a null string is returned
%RemoteDesktop%
The remote desktop command specified for the Node in the CMDB-X
If not specified, a null string is returned
This is the command line to start remote desktop process when right clicking on Argent Console (A1A) screen and select ‘Windows Remote Desktop‘
%SupportURL%
The support URL specified for the Node in the CMDB-X
If not specified, a null string is returned
This is the command line to launch the support website when right clicking on Argent Console (A1A) screen and select ‘Support URL‘