What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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 configure sensors using speed limits to keep the status for more than one interval?

Votes:

2

I want my SNMP Trap Receiver, Syslog Receiver, or Event Log sensors to keep the Down status for more than one scanning interval even if the cause does not persist. How can I achieve this?

event-log eventlog prtg snmp-trap snmptraps syslog syslog-sensor trap trap-receiver wmi-eventlog

Created on Feb 14, 2017 7:18:59 PM by  Felix Saure [Paessler Support]

Last change on Jan 4, 2023 2:47:38 PM by  Brandy Greger [Paessler Support]



3 Replies

Accepted Answer

Votes:

1

This article applies as of PRTG 22

Using notification triggers to modify the status of a sensor

By default, PRTG will only change the sensor status for one single scanning interval. If the next scan results in a different status, the status will change accordingly.

There is a workaround that applies to these sensor types:

Steps to follow

  1. Open the channel settings of
    • the New Records channel of the Event Log sensors, or
    • the Errors channel of the Syslog Receiver, or SNMP Trap Receiver sensor.
  2. Enter the value 0,00000001 into the Upper Error Limit (#/s) field. This makes sure that the sensor status will immediately change as soon as an alarm occurs and the limit is exceeded.
    Note: This is the default setting for the Syslog and Trap Receiver sensors.

    Channel settings
    Click to enlarge.
  3. This setting sets the sensor to the Down status as soon as a message that matches the sensor filter rules arrives.
  4. Click the Notification Triggers tab of the sensor and configure it as follows:
    Zero trigger
    Click to enlarge.

This will immediately trigger a message and inform you about the issue.

Advanced steps

We would also like to provide you with information that will allow you to display the Down status in PRTG until it is resolved. Therefore, follow these steps to set up the required API calls as well as the settings in PRTG:

  1. Create a device with a Green IT sensor.Preview
    Click to enlarge.
  2. Create a new notification template and select Execute HTTP Action. This is where the PRTG API comes into play: Notification settings
    Click to enlarge.
  3. Enter this code and fill in the data you need: http(s)://YourServerIP/api/simulate.htm?id=objectid&action=1&username=YourUserAccount&Passhash=YourPasshash
  • You can find the passhash under Setup | System Administration | User Accounts.
  • You can find the correct object ID of the newly created Green IT sensor on its Overview tab:
    Get ID
    Click to enlarge.
  • You can clear the simulated error status by right-clicking the sensor's name and by clicking Resume.

Result

Following this guide will allow you to quickly change the status of one sensor, based on a speed trigger or limit assigned to a particular sensor based on #/s results and to get a persistent overview of previous events.

More

Created on Feb 14, 2017 9:28:41 PM by  Felix Saure [Paessler Support]

Last change on Jan 4, 2023 2:49:09 PM by  Brandy Greger [Paessler Support]



Votes:

0

totally lost in this manual. green IT sensor created for the new device, or can be on existing device? New notification means in setup under account settings? Where is objectid in 'just replace the objectid by the ID value shown on the Overview tab of your Green IT sensor.'? I can see ID in green IT sensor, but where to assign it??? Notification does not contain field named 'objectid'.

Created on Sep 4, 2018 12:45:03 PM



Votes:

0

Hello Igoris,

The Green IT sensor can be added to the same device. If you then add a new notification and choose Execute HTTP Action, you can enter the ID into this webhook:

http(s):YourServerIP/api/simulate.htm?id=objectid&action=1&username=YourUserAccount&Passhash=YourPasshash

This can look like this if the ID of the sensor is 9000: http(s):YourServerIP/api/simulate.htm?id=9000&action=1&username=YourUserAccount&Passhash=YourPasshash

Does this help you creating this workaround?


Kind regards,
Felix Saure, Tech Support Team

Created on Sep 5, 2018 10:22:12 AM by  Felix Saure [Paessler Support]




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.