Applications Systems
Sending Alerts to a Custom Property
Article describes sending Alerts to a Custom Property
First published date
Last published date
Overview
Product section
Resolution
- In the SAM Web Console, navigate to Settings > Manage Custom Properties.
- Create a Node custom property. For example, Email.
- Assign nodes values for this Email property.
- Once this is set, use the following value in the Alert Actions for the E-Mail action you have configured:
${N=SwisEntity;M=CustomProperties.email} - Replace email with the name of the custom property that you would like this to utilize.
The alert populates the email address with the custom property you have defined.
For more information on how to create a Custom Property see Create a custom property using the Manage Custom Properties editor.
NOTE: The format of the Custom Property will change based on the type of Alert. The below presumes the Custom Property is set on the Node Level. If it doubt use the "Insert Variable" button
Node Alert:
${N=SwisEntity;M=CustomProperties.email}
Application Alert:
${N=SwisEntity;M=Node.CustomProperties.email}
Component Alert:
${N=SwisEntity;M=Application.Node.CustomProperties.email}
Volume Alert:
${N=SwisEntity;M=CustomProperties.email}
Note:
If the variable populates instead of the values for it then most likely it's a new value or newly added custom property.
To get new values/custom property to populate requires either a reboot of the main poller, restarting of SolarWinds services, and may require clearing of publications and subscriptions per this article: