'vAutoMate Notifier
Use the Automate Notifier to trigger an Automate task when specified conditions are met.
Connecting to the AutoMate Server
Before you can create an AutoMate notifier, you need to enable the connection to an AutoMate Server. The AutoMate Server must be running on the same machine as the InterMapper Server. For more information see the section on configuring AutoMate (Pg 1) in the Server Settings.
To configure an AutoMate notifier:
- From the Notifier Type dropdown menu, choose AutoMate. The AutoMate Notifier configuration window appears.
- Click Edit Task... The Notifier Task window appears:

- Click Select Task... to select from a list of available tasks.
- In the Run By section, choose whether to execute the task by Path or ID. HelpSystems recommends that you select ID, because it reduces the traffic between InterMapper and AutoMate.
- Enter a Password if one is required by the AutoMate task's security configuration.
- Click OK. The task is selected.
- Set Retry and Consolidation settings as described below and click Test to run the notifier and trigger the task.
Note: If a task is disabled in AutoMate, the task still appears in the available task list, but will not run when the notifier is triggered.
Retry and Consolidation Settings
Use the Retry and Consolidation settings to specify when to run or retry a task.
- Retry limit - Enter the number of times the task will be re-attempted upon failure. By default, the value is 0, and the task is not re-tried.
- Retry interval - Enter the number of seconds between retries.
- Consolidation limit - Enter the maximum number of notifications sent before the task is executed. If it is set to 1, a task is executed each time the notification is sent. If it is greater than 1, the task is executed when the number of notifications reaches the Consolidation limit or the Consolidation period is reached.
- Consolidation period - Enter the number of seconds to wait for additional notifications before running the task, when the Consolidation limit is non-zero. Once a notification has been sent by the notifier, the task is run when either the Consolidation limit or the Consolidation period is reached.
Note: An AutoMate notifier is not triggered again until the selected AutoMate task is complete.
Accessing InterMapper Variables in an AutoMate Task
When an AutoMate notifier is triggered, InterMapper writes data about the triggering device to a CSV file, and grants the AutoMate task access to it. Through this file, AutoMate can access InterMapper variables, which can be used by the task in a wide variety of ways.
In order for AutoMate to access this data from an AutoMate task, the task should include these steps:
- Wait for exclusive access to InterMapper's CSV file. (A timeout value of 30 seconds is recommended.)
- Read the CSV file into a dataset.
- Iterate over the rows of the dataset, gathering the data you need.
- Delete the CSV file.
A sample task that completes these steps is supplied with InterMapper. The file, called NotifierTest.aml can be found at:
%Installation Folder%\InterMapper\docs\samples\automate\
To run the test task:
- Drag this file into the AutoMate Task Administrator.
- Create an Automate notifer.
- Select the the task to be triggered by the Automate notifier. The task presents a dialog that displays received values for all of the parameters listed above. Edit the task in the visual editor to see how to access each parameter.
In the AutoMate task editor, you can access these parameters with this syntax:
%PARAMETERS.[InterMapper variable name]%
Here is a list of available parameters:
- Notifier: %PARAMETERS.NOTIFIER% - the name of the notifier.
- Event: %PARAMETERS.EVENT% - the type of event that triggered the notifier. (Down, Up, Alarm, Warning, etc.)
- Name: %PARAMETERS.NAME% - the first line of the device label.
- ProbeGroup: %PARAMETERS.PROBEGROUP% - the name of the probe group (if any) to which the probe that triggered the notifier belongs.
- MemberProbe: %PARAMETERS.MEMBERPROBE% - the name of the member probe that triggered the notifier (if the probe is a member of a probe group.)
- Address: %PARAMETERS.ADDRESS% - the address of the device.
- Status: %PARAMETERS.STATUS% - the status of the device and whether it has been acknowledged.
- Condition: %PARAMETERS.CONDITION% - the condition of the device.
- Previous condition: %PARAMETERS.PREVCONDITION% - the previous condition of the device.
- Probe is: %PARAMETERS.PROBE% - the probe type used for polling.
- MAC address: %PARAMETERS.MACADDRESS% - the MAC address of the interface associated with the device's address, if the MAC address can be found using SNMP.
- SysUptime: %PARAMETERS.SYSUPTIME% - the amount of time the system has been up.
- Last down: %PARAMETERS.LASTDOWN% - the last time the system went down.
- Time: %PARAMETERS.TIME% - the time the notifier triggered the task.
- Document: %PARAMETERS.DOCUMENT% - the name of the document.
- InterMapper version: %PARAMETERS.VERSION% - the InterMapper version that was running when the notifier was triggered.
- SysContact: %PARAMETERS.SYSCONTACT% - the name of the person responsible for the device (if available).
- SysLocation: %PARAMETERS.SYSLOCATION% - the location of the device.
- Comment: %PARAMETERS.COMMENT% - a user-defined comment (if any) for the device.
- Counts - the total number of devices whose status matches the each of the four specified states below.
down: %PARAMETERS.DOWNCOUNT%
critical: %PARAMETERS.CRITCOUNT%
alarm: %PARAMETERS.ALRMCOUNT%
warn: %PARAMETERS.WARNCOUNT%
- Acknowledge message: %PARAMETERS.ACKMESSAGE% - the message entered when the device was last acknowledged
- Send Counts - the number of times this notifier has been triggered, and the maximum number that will be sent.
send count: %PARAMETERS.SENDCOUNT%
max: %PARAMETERS.MAXSENDCOUNT%
- Map ID: %PARAMETERS.MAPID% - the internal InterMapper ID of the map containing the device that triggered the notifier.
- Device IMID: %PARAMETERS.DEVICEIMID% - the internal InterMapper ID of the device that triggered the notifier.
- Param: %PARAMETERS.PARAM% - the parameters sent to the task.
- Nickname: %PARAMETERS.NICKNAME% - also called the "Smart Name". The device's DNS name, SNMP SysName, or address, tried in that order.
- Shortened nickname: %PARAMETERS.SHORTNICKNAME% - also called the "Short, Smart Name". The first part of the device's DNS name, SNMP SysName, or address, tried in that order.
- Persist name: %PARAMETERS.PERSISTNAME% - the device's domain name.
- Short name: %PARAMETERS.SHORTNAME% - the first label of the device's domain name.
- SystDescr: %PARAMETERS.SYSDESCR% - the description of the device and its software as reported by the sysDescr variable.
- SysName: %PARAMETERS.SYSNAME% - the name of the device as reported by the sysName variable.
- Enterprise ID: %PARAMETERS.ENTERPRISEID% the enterprise ID of the device as reported by the EnterpriseID variable.
- Enterprise serial: %PARAMETERS.ENTSERIALNUM% - the serial number of the device as reported by the EntSerialNum variable.
- Enterprise manuf name: %PARAMETERS.ENTMFGNAME% - the manufacturer name of the device as reported by the EntMfgName variable.
- Enterprise model name: %PARAMETERS.ENTMODELNAME% - the model name of the device as reported by the EntModelName variable.
- Context: %PARAMETERS.CONTEXT% - an internal context description (could include IMID of the device, alarm point, current time, notifier type, notifier IMID, event time, event status, send count).