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

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How can I monitor the overall status of the business process “email”?

Votes:

0

Your Vote:

Up

Down

I monitor many devices and services with PRTG. These ensure that the email system of my company works properly. This includes, for example, POP3 and IMAP email servers, email round trip times, dozens of Microsoft Exchange database performance counters, traffic, the internet connection, and many more related parameters.

This creates many sensors and is too detailed to show to my management and non-technical co-workers. How can I get only one overall status for the whole "email" process to see at a glance if the email system is working or not?

business-process email guides overall-status process prtg sensor-factory status tutorials

Created on Jun 25, 2014 9:34:33 AM by  Gerald Schoch [Paessler Support]

Last change on Mar 29, 2022 7:44:50 AM by  Frank Hadasch [Paessler Support] (0) 1



1 Reply

Accepted Answer

Votes:

0

Your Vote:

Up

Down

This article applies as of PRTG 22

Monitoring the business process "email"

For an at-a-glance status view of all email processes, we recommend that you use the Sensor Factory sensor.

One status for your business process “email”

The following step-by-step guide shows you how to create a Sensor Factory sensor to monitor business processes. As a sample use case, we explain how to monitor (parts of) the email process as a whole. You can take the particular steps and examples below as a baseline and adapt them to your own application scenario.

The Sensor Factory sensor sums up the states of various sensors according to your needs. Provide the address of the channels you are interested in and the sensor uses these channels as its own channels.

You must also define how to handle errors with the sensor. This way, you can exactly specify when the overall status of your email process shows an error. You are then able to publish only one corresponding status icon for your colleagues.

Step 1: Find the IDs of sensors and channels

Decide which channels you want to include in your *ensor Factory sensor. First, you need the IDs of these sensors and their corresponding channels to create the channels for the sensor. These IDs define the address of a channel. You can find

  • sensor IDs on the Overview tab of a sensor.
  • channel IDs in the respective channel settings. Write down these two numbers and enter them into the sensor's Channel Definition field as described below. Other than these two IDs, you do not need more to create the channels of a Sensor Factory sensor.

Step 2: Create channels for the Sensor Factory sensor

  1. Add a Sensor Factory sensor to any suitable device in PRTG, for example, the local probe device.
  2. Define the channels. You can create up to 50 channels in one Sensor Factor sensor. We do not recommend that you create more due to performance considerations.

Note: It is not possible to create a Sensor Factory sensor for other Sensor Factory sensors.

  • The basic syntax for several channel definitions in one Sensor Factory sensor is:
#<1st_channel_id_in_sensor_factory>:<name> [unit]
<formula>
#<2nd_channel_id_in_sensor_factory>:<name> [unit]
<formula>
#<nth_channel_id_in_sensor_factory>:<name> [unit]
<formula>
  • For a basic Sensor Factory sensor, it is enough to provide only the address of channels (that is, without value calculations), so the <formula> tag would have a syntax like channel(sensor_id,channel_id)
  • Put all sensor and channel IDs together to create channels in the sensor as shown in the previous step, with each channel definition in a new line. See the PRTG Manual: Sensor Factory Sensor for details.

Channel definition
Click to enlarge.

Note: The [unit] is optional (you can define any string), and you can use any text for channel names.

You have identified which sensors and which of their channels are important for monitoring the email process status and provided them for the Sensor Factory sensor. You can now specify when the sensor should show the Warning or Down status.

Step 3: Error handling

The easiest way to define the Warning or Down status is to use the predefined options. When at least one source sensor (the sensors whose channels you use in the Sensor Factory sensor) is Down, your Email Process (Sensor Factory) sensor shows the Down status.

Status handling
Click here to enlarge.

Optional: Detailed error definitions

You can also define the Down status more precisely. For this purpose, use the Status Definition field of the Sensor Factory Specific Settings. For example, it is okay for the public status if at least one of the mailbox sensors works fine (that is, either the POP3 or the IMAP mailbox is reachable). You can achieve this with the status() function of PRTG and Boolean expressions. The status() function only needs a sensor ID to get the status of a sensor.

The following expression defines that the*Sensor Factory sensor only shows the Down status if both sensors are in the Down status: status(2760) AND status(3684)

The boolean AND means that all sensor states that are connected must be in the Down status to set the Sensor Factory sensor to the Down status. The status(<sensorID>) function determines the status of the sensor whose ID you provide as parameter and is resolved to true if the sensor status is Down. You can also use OR and NOT.

Status definition
Click to enlarge.

For more details about how to use the status() function, see the PRTG Manual: Sensor Factory Sensor.

Step 4: Show the "email" status to your coworkers

You can now show the status to your coworkers on the dashboards in your office, for example via the green gauge of your created Sensor Factory sensor with the sensor message Email Process OK.

Status icons

You can do this with maps. Open a new or already existing map with the Map Designer and add the Status Icon for your email Sensor Factory sensor. Then publish your map.

You can now view and show an overall status that indicates if all elements of the business process “email” are up and running:

  • Green: The email system is working properly.
  • Yellow: There might be delays in the email system, but it is still working.
  • Red: There are currently issues with the email system and the administrator knows about it.

More

Created on Jun 25, 2014 12:21:59 PM by  Gerald Schoch [Paessler Support]

Last change on Jan 4, 2023 11:54:56 AM by  Brandy Greger [Paessler Support]



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.