AMTrigger.Community

Syntax

%AMTrigger.Community%

Trigger supported

SNMP Trap

Type

String

Description

Returns the community string specified in the SNMP trap when the task was triggered. Each SNMP management host and agent belongs to an SNMP community. An SNMP community is a collection of hosts grouped together for administrative purposes. A community string can be used to authenticate SNMP messages and thus, it can act like a user ID or password that allows access to a router's or other device's statistics.

NOTE: SNMP Community strings are used only by devices which support SNMPv1 and SNMPv2c protocol. SNMPv3 uses username/password authentication, along with an encryption key.

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.

Display the message " The community name is %AMTrigger.Community%" in a message box.

Copy
<AMSHOWDIALOG MESSAGE=" The community name is %AMTrigger.Community%" />

Related Topics