Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > SAM 6.4 Administrator Guide > Create and manage alerts for SAM > Alert on custom properties for SAM

Alert on custom properties for SAM

Table of contents
No headers

Updated: 3-9-2017

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.

  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.

  • You can view results of your Syslog message action in the Web Console or through the Syslog Viewer on your Orion server.
  • To view the results of your SNMP Trap action, click Start > All Programs > SolarWinds Orion > Syslog and SNMP Traps > Trap Viewer.
 
Last modified
12:24, 17 Mar 2017

Tags

Classifications

Public