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) > Include Custom Property values in Alerts

Include Custom Property values in Alerts

Table of contents
Created by Chris Foley, last modified by Chris Foley on Feb 01, 2017

Views: 39 Votes: 2 Revisions: 5

Overview

This article provides the macros you can use within an Alert Action to pull a Custom Property value from a Node, a Volume, an interface or an Application.

Environment

  • SAM version 6.2.0 or later
  • All Windows versions

Steps

1. Edit the Alert Action you wish to add the Custom Property to.

2. Enter one of the following Macros:

 

  • For the Custom Property of a Node:

${N=SwisEntity;M=Node.CustomProperties.[PropertyName]}

 

  • For the Custom Property of a Volume or an Interface:

${N=SwisEntity;M=CustomProperties.[PropertyName]} 

 

  • For the Custom Property of an Application:

 

SQL:
${SQL: SELECT [PropertyName] FROM APM_ApplicationCustomProperties WHERE ApplicationID =${N=SwisEntity;M=ApplicationID;F=OriginalValue} }

 

SWIS:
${N=SWQL;M=SELECT [PropertyName] FROM Orion.APM.ApplicationcustomProperties WHERE ApplicationID =${N=SwisEntity;M=ApplicationID;F=OriginalValue}}


Note: Replace [PropertyName] with the name of the Custom Property.

 

3. Click Save Changes.

 

 

Last modified
16:07, 1 Feb 2017

Tags

Classifications

Public