Documentation forSolarWinds Platform

Alert on custom properties in the SolarWinds Platform

This SolarWinds Platform topic applies only to the following products:

Hybrid Cloud Observability EssentialsHybrid Cloud Observability Advanced

DPAIMIPAMLANAMNCMNPMNTASAMSCMSRMUDTVMANVNQMWPM

The following example creates multiple alerts using the NodeLocation custom property defined in Creating a Custom Property. An alert triggers when a node goes down. Upon triggering, the alert will write to a local log file, send a syslog message, and send an SNMP trap.

The ${variable} syntax is required for variables. For more information on the use of variables, see Variables in the SolarWinds Platform.

  1. Click Alerts & Activity > Alerts in the menu bar, and then click Manage Alerts.
  2. Select the check box next to Node is down, and then click the Duplicate & Edit button.
  3. Click Trigger Condition, and add a child condition. A child condition should already exist for a node being down.
  4. Select the node object, and choose NodeLocation in the field drop-down menu. Enter a comparison and value.
  5. Click the Trigger Actions, and then click Add Action.
  6. Select Log the Alert to a file, and then click Configure Action.
    1. Enter the log filename in the Alert Log Filename field.
    2. In the Message text box, type the following:
      Node ${N=SwisEntity;M=Caption} is currently down.
    3. Click Add Action.
  7. Click Add Action, and select Send a Syslog Message. Click Configure Action.
    1. Type 127.0.0.1 as the Hostname or IP Address of the Syslog Server, and then type the following in the Message field:
      Node ${N=SwisEntity;M=Caption} is currently down.
    2. Click Add Action.
  8. Click Add Action, and select Send SNMP Trap. Click Configure Action.
    1. Type 127.0.0.1 as the SNMP Trap Destination, and then type the following in the Alert Message field:
      Node ${N=SwisEntity;M=Caption} is currently down
      .
    2. Click Next.
    3. Click Add Action.
  9. Click Summary to see if any objects will trigger the alert, and click Submit.

After you have created the alert, it is added to the list of available alerts in the Alert Manager. You can test and view the results of each of your alert actions in the SolarWinds Platform Web Console.