Summary:
We're still using the "Old" SNMP Trap receiver that comes with NPM, meaning we're using the "Trap Viewer" executable on the NPM server to set alerts for SNMP traps.
Question: Anyone have any idea what I can try to get the "Caption" or "host name" of the node to appear in the email alerts?
Details:
We have a trap come in that we send an email alert out for. I'm having issues getting the node name ("the caption" in NPM) in the email. The IP address works fine.
The "default" SNMP alert marco is: ${Hostname}. This doesn't work (for us) in that when the email alert comes in, this field has the device IP address in it.
There is some documentation I found that indicates you can use "any Orion node variable/macro" in a SNMP trap alert, and I chose this one: ${N=SwisEntity;M=Caption} and it's also not working. It literally appears as "${N=SwisEntity;M=Caption}" in the email.
I know there are "alternate formats" for Orion node variables (these have been changing over time) as well as "alternate fields to use" ( like how there are maybe 4 IP address fields/variables to choose from, or multiple "node name" fields (sysname, hostname, caption, etc). Instead of trying them all with the current macro format above (testing this SNMP Trap is not easy), I'm hoping someone will have an alternate macro format to try.