What placeholders can I use with PRTG?

Votes:

0

Your Vote:

Up

Down

I want to use placeholders (variables) with PRTG when editing Notifications (email, SMS text messages, execute program, etc.), or in the Email Options.

What placeholders are available with PRTG Network Monitor?

help notifications placeholder prtg variables

Created on Feb 3, 2010 10:03:36 AM by  Daniel Zobel [Paessler Support] (19,863) 3 3

Last change on Feb 24, 2011 1:57:20 PM by  Daniel Zobel [Paessler Support] (19,863) 3 3



1 Reply

Accepted Answer

Votes:

1

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 7 through 9

PRTG 7/8/9 Placeholder Overview

The listed placeholders (variables) can be used in different setting fields:

Other settings

  • For a list of placeholders available in EXE/Script sensor settings, please see More section below.
  • For a list of placeholders available in the Windows GUI's tools settings, please see More section below.

Available Placeholders for Email Options and Notifications

Note: Placeholders are not case sensitive.

PlaceholderMeaningSynonymVersion/Usage Comment
%companyPaessler's copyright string
%comments, %commentssensorComments for sensor
%commentsdeviceComments for device
%cumsincesince when data has been accumulated
%dateevent's date, in user's timezone
%datetimeevent's date and time, in user's timezone
%devicename of the device in which the event was triggered%server
%deviceidID number of the device in which the event was triggeredV7.3.2 or later
%downtime the item was down
%downtimeaccumulated downtime
%groupgroup in which the event was triggered
%groupidID number of the group in which the event was triggeredV7.3.2 or later
%historyhistory of sensor events
%homePRTG's web server URL
%hostIP or DNS name of the device that triggered the event
%lastcheckwhen was the sensor's last scan
%lastdownwhen was the sensor down for the last time
%lastmessagewhat message did the sensor send the last time%message
%lastupwhen was the sensor up for the last time
%lastvaluewhat value did the sensor send the last time
%locationlocation of the device/server for which the event was triggered
%messagewhich message did the sensor send the last time%lastmessage
%namename of the sensor that triggered the event (including sensor type)%sensor
%shortnamename of the sensor that triggered the eventV7.1 or later
%priosensor priority setting%priority
%prioritysensor priority setting%prio
%probeprobe under which the event was triggered
%probeidID number of the probe under which the event was triggeredV7.3.2 or later
%programnamePRTG's official name
%programversionPRTG program version
%sensorname of the sensor that triggered the event%name
%sensoridID number of the sensor that triggered the eventV7.3.2 or later
%servername of the device under which the event was triggered%device
%serviceurlService URL configured for the device under which the event was triggeredV9.1 or later
%settingsmiscellaneous sensor settings, such as username for Windows, http, pop3 credentials, etc
%sincesince when the current status is active%statesince
%sitenamePRTG's web server (computer) name
%statecurrent sensor status%status
%statesincesince when the current status is active%since
%statuscurrent sensor status%state
%systemdatetimedate and time when the notification was sent, in user's timezone
%timeevent's time, in user's timezone
%timezoneuser's timezone name
%toaddressaddress to which the notification was sent
%uptimeaccumulated uptime

Example (with placeholders):

Date/Time: %datetime

Timezone: %timezone

================================================================

Sensor: %name

Priority: %priority

================================================================

Probe: %probe

Group: %group

Device: %device

Example (placeholders have been replaced):

Date/Time: 11.07.2010 08:57

Timezone: W. Europe Standard Time

================================================================

Sensor: PING 48 (PING)

Priority: 5

================================================================

Probe: Local probe

Group: Paessler Netz

Device: Device 1 [Windows ]

More

Created on Feb 3, 2010 10:07:35 AM by  Daniel Zobel [Paessler Support] (19,863) 3 3

Last change on Aug 16, 2011 9:40:42 AM by  Daniel Zobel [Paessler Support] (19,863) 3 3



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.

PRTG
Network Monitor
Intuitive to Use.
Easy to manage.

150.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Visit
www.paessler.com

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

Top Tags


View all Tags