This extension runs as a continuous task, managed by the AppDynamics Machine Agent. It is capable of receiving SNMP TRAP and INFORM PDUs for SNMP v1, v2c, and v3. The extension also generates metrics regarding incoming SNMP messages and outgoing events to the AppDynamics Controller to determine/monitor its pipeline health.
Please place the extension in the "monitors" directory of your Machine Agent installation directory. Do not place the extension in the "extensions" directory of your Machine Agent installation directory.
Configure the extension by editing the
config.yml file in
If not using SIM, or if metrics and events should correlate to an Application Tier, configure the "tier" under which the metrics need to be reported. This can be done by changing the value of
metricPrefix: "Server|Component:<COMPONENT_ID>|Custom Metrics|SNMP Trap Receiver"
machineAgentConnection to the Machine Agent HTTP Listener.
# Machine Agent HTTP Listener # All of the values should be strings wrapped in double quotes - see defaults for examples # host should remain as localhost, or perhaps loopback "127.0.0.1" host: "localhost" # port default matches Machine Agent default of "8293". If using different port for # the machine agent, e.g., passing JVM arg -Dmetric.http.listener.port=8080, port # value should be set as "8080" port: "8293"
snmpConnectioninformation where applicable.
# SNMP Trap Receiver Connection # All of the values should be strings wrapped in double quotes - see defaults for examples snmpConnection: # snmpProtocol can be "tcp" or "udp" snmpProtocol: "udp" snmpIP: "0.0.0.0" # Port values less than 1024 require Machine Agent to run as root/sudo snmpPort: "16200" # The below configurations are for v3 only - if not using v3, leave as-is snmpUsername: "username" # Auth Protocol Options are "MD5" or "SHA" snmpAuthProtocol: "MD5" snmpAuthPassPhrase: "authpassphrase" # Privacy/Encryption Protocol Options are "AES128", "AES192", "AES256", "DES", or "3DES" snmpPrivacyProtocol: "AES128" snmpPrivacyPassPhrase: "privacypassphrase"
Please copy all the contents of the config.yml file and go to http://www.yamllint.com/ . On reaching the website, paste the contents and press the “Go” button on the bottom left.
By default, the extension assumes SIM, and uses the following default configuration:
# Use this format if using SIM (Server Visibility enabled) Machine Agent metricPrefix: "Custom Metrics|SNMP Trap Receiver"
Metrics will be reported under the following metric tree:
Application Infrastructure Performance|Root|Individual Nodes|<SIM_SERVER_NAME>|Custom Metrics|SNMP Trap Receiver
Alternatively, you can map metrics to a Tier within an application. If doing so, we strongly recommend using the tier specific metric prefix so that metrics are reported only to a specified tier. Please change the metric prefix in your
# Use this format if using plain Machine Agent # This will create it in specific Tier/Component. Make sure to replace <COMPONENT_ID> # with the appropriate one from your environment. metricPrefix: "Server|Component:<COMPONENT_ID>|Custom Metrics|SNMP Trap Receiver"
To find the
Metrics will now be seen under the following metric tree:
Application Infrastructure Performance|<COMPONENT_ID>|Custom Metrics|SNMP Trap Receiver
Please visit this page to get detailed instructions on password encryption. The steps in this document will guide you through the whole process.
Workbench is an inbuilt feature provided with each extension in order to assist you to fine tune the extension setup before you actually deploy it on the controller. Please review the following document on How to use the Extensions WorkBench
Please follow the steps listed in this troubleshooting-document in order to troubleshoot your issue. These are a set of common issues that customers might have faced during the installation of the extension. If these don't solve your issue, please follow the last step on the troubleshooting-document to contact the support team.
Always feel free to fork and contribute any changes directly via GitHub.
|Controller Compatibility||4.5.x or Later|