AutoMate Notifier
Use the AutoMate Notifier to run 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 in the Server Settings.
To configure an AutoMate notifier:
- From the Notifier Type menu, select AutoMate. The AutoMate Notifier configuration window is displayed.
- Click Edit Task. The Notifier Task window is displayed.

- Click Select Task.
- In the Run By area, select Path or ID to specify how to execute the task. HelpSystems recommends using ID because it reduces the traffic between Intermapper and AutoMate.
- In the Password text box, type a password if one is required by the AutoMate task's security configuration.
- Click OK.
- Specify the Retry and Consolidation settings.
- Click Test to run the notifier and execute the task.
Retry and Consolidation Settings
Use the Retry and Consolidation settings to specify when to run or retry a task.
- Retry limit - the number of times a task is retried after a failure. By default, the value is 0 and the task is not tried again.
- Retry interval - the number of seconds between retries.
- Consolidation limit - 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 - the number of seconds to wait for additional notifications before running the task when the Consolidation limit is not zero. After a notification is sent by the notifier, the task is run when the Consolidation limit or the Consolidation period is reached.
Accessing Intermapper Variables in an AutoMate Task
When an AutoMate notifier runs, 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.
Before AutoMate can access this data from an AutoMate task, the task should include the following steps:
- Wait for exclusive access to Intermapper's CSV file. (A timeout 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 in the following location:
%Installation Folder%\Intermapper\docs\samples\automate\
To run the test task:
- Drag the file mentioned above into the AutoMate Task Administrator.
- Create an Automate notifer.
-
Select the task to run by the AutoMate notifier.
A dialog that shows the received values for all parameters is displayed.
-
Edit the task in the visual editor to see how to access each parameter.
You can access these parameters using the following syntax:
%PARAMETERS.[Intermapper variable name]%
Available parameters are as follows:
- Notifier %PARAMETERS.NOTIFIER% - the name of the notifier.
- Event %PARAMETERS.EVENT% - the type of event that triggered the notifier. (Down, Up, Alarm, Warning, and so on.)
- 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 ran 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 following states:
- down - %PARAMETERS.DOWNCOUNT%
- critical - %PARAMETERS.CRITCOUNT%
- alarm - %PARAMETERS.ALRMCOUNT%
- warn - %PARAMETERS.WARNCOUNT%
- Acknowledge message %PARAMETERS.ACKMESSAGE% - the message 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% - the device's DNS name, SNMP SysName, or address, tried in that order. This is also called the Smart Name.
- Shortened nickname %PARAMETERS.SHORTNICKNAME% - the first part of the device's DNS name, SNMP SysName, or address, tried in that order. This is also called the Short, Smart Name.
- 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 (this might include the IMID of the device, alarm point, current time, notifier type, notifier IMID, event time, event status, or send count).
- Port Name - %PARAMETERS.IFPORTNAME% - the name of the port that triggered the notifier.
- Port Number - %PARAMETERS.IFPORTNUM% - the number of the interface that triggered the notifier.
- Interface Name - %PARAMETERS.IFNAME% - the name of the interface that triggered the notifier.
- Interface Index - %PARAMETERS.IFINDEX% - the index of the interface that triggered the notifier.
Copyright Help/Systems LLC and its group of companies. The content in this document is protected by the Copyright Laws of the United States of America and other countries worldwide. The unauthorized use and/or duplication of this material without express and written permission from HelpSystems is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to HelpSystems with appropriate and specific direction to the original content. HelpSystems and its trademarks are properties of the HelpSystems group of companies. All other marks are property of their respective owners.