Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Orion Platform > Orion Documentation > Orion Platform Administrator Guide > Monitor SNMP traps > Trap alert variables

Trap alert variables

Created by Magdalena.Markova, last modified by Magdalena.Markova on Nov 29, 2016

Views: 64 Votes: 2 Revisions: 4

The following variables can be used in trap alert messages with the Orion Trap Server. Each variable must begin with a dollar sign and be enclosed in curly braces as, for example, ${>VariableName>}.

Trap alerts may also use any valid node variable.

Trap date and time variables

Trap Date/Time Variable

Description

${AbbreviatedDOW}

Current day of the week. Three character abbreviation.

${AbbreviatedMonth}

Current month of the year. Three character abbreviation.

${AMPM}

AM or PM corresponding to current time (before or after noon)

${D}

Current day of the month

${DD}

Current day of the month (two digit number, zero padded)

${Date}

Current date. (MM/DD/YYYY format)

${DateTime}

Current date and time. (MM/DD/YYYY HH:MM format)

${Day}

Current day of the month

${DayOfWeek}

Current day of the week.

${DayOfYear}

Numeric day of the year

${H}

Current hour

${HH}

Current hour. Two digit format, zero padded.

${Hour}

Current hour. 24-hour format

${LocalDOW}

Current day of the week. Localized language format.

${LongDate}

Current date. (DAY NAME, MONTH DAY, YEAR format)

${LongTime}

Current Time. (HH:MM:SS AM/PM format)

${M}

Current numeric month

${MM}

Current month. Two digit number, zero padded.

${MMM}

Current month. Three character abbreviation.

${MMMM}

Full name of the current month

${MediumDate}

Current date. (DD-MMM-YY format)

${MediumTime}

Current time. (HH:MM AM/PM format)

${Minute}

Current minute. Two digit format, zero padded.

${MonthName}

Full name of the current month

${S}

Current second.

${Second}

Current second. Two digit format, zero padded.

${Time}

Current Time. (HH:MM format)

${Year}

Four digit year

${Year2}

Two digit year

Other trap variables

 

Description

${Application}

SolarWinds application information

${Community}

Node community string

${Copyright}

Copyright information

${DNS}

Fully qualified node name

${Hostname}

Host name of the device triggering the trap

${IP}

IP address of device triggering alert

${IP_Address}

IP address of device triggering alert

${Message}

Message sent with triggered trap and displayed in Trap Details field of Trap Viewer

${MessageType}

Name or type of trap triggered

${Raw}

Raw numerical values for properties sent in the corresponding incoming trap

${RawValue}

Raw numerical values for properties sent in the corresponding incoming trap. The same as ${Raw}

 
Last modified
10:16, 29 Nov 2016

Tags

Classifications

Public