Navigation: Contents   Index   Previous   Next

Common Settings for Notifications

For all notification types you have the option to send an email, send a HTTP request to a web server, or to run an external program or batch file.

The first notification option is Email: An email is sent to an address that you specify using an SMTP server. (Note: The configuration for the SMTP server is done under the Extras|Options dialog.)

This option can be enabled by the Send Email checkbox.

Please provide the e-mail address to send the email to. If you want the email to go to multiple addresses please separate these addresses with a comma “,”.

The second field allows one to select a mail template file to be used for this notification. The first line of the template file is used as the email topic. You can use placeholders (see below) inside the template file. If there is an .htm-file with the same filename PRTG will use both files to create a combined text and HTML mail.

The second notification option is HTTP: An http GET request is sent by PRTG:

Please enter a HTTP GET URL and PRTG will – in case the notification is fired – send an HTTP request to this URL. Placeholders (see below) can be used in the URL.

The third notification option is EXE: An EXE file or a batch file is executed by PRTG:

Please provide the path to the EXE file or BAT/CMD file as well as the parameters. Placeholders (see below) can be used in the parameters field.

The fourth notification option is Background: You can choose a color that will be used as the chart background whenever the notification is triggered. This way a chart with a failing sensor can easily be identified on the screen.

For the email template, the HTTP URL, and the execute parameters you can use the following placeholders:

name=_D2HNOVMLPICTURE_>

#group

Name of the sensor’s group

#sensor

Name of the sensor

#message

The message of the notification

#info

The state of the sensor (UP, DOWN, etc.)

#error

Detailed error message

#date

Current date

#time

Current time

Here is a sample for a mail template using placeholders:

name=_D2HNOVMLPICTURE_>

[PRTG] Notification: #info, #sensor

Date: #date #time

Group: #group

Sensor: #sensor

 

#message

name=_D2HNOVMLPICTURE_>

Navigation: Contents   Index   Previous   Next



Copyright © 1998 - 2012 Paessler AG