New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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

Free PRTG
Download >>

 

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


How can I configure sensors using speed limits to keep the status for more than one interval?

Votes:

0

Your Vote:

Up

Down

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 Sep 17, 2019 8:26:33 AM by  Maike Behnsen [Paessler Support]



3 Replies

Accepted Answer

Votes:

1

Your Vote:

Up

Down

This article applies to PRTG Network Monitor 19 or later

Using 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 Go

  1. Open the sensor 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 will set the sensor in a 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.Green IT Preview
    Click to enlarge.
  2. Create a new Notification Template and select Execute HTTP Action. This is where the PRTG API comes into play: HTTP-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 the Object 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 Sep 13, 2019 9:32:16 AM by  Brandy Greger [Paessler Support]



Votes:

0

Your Vote:

Up

Down

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 by  Igoris Seimys (0)



Votes:

0

Your Vote:

Up

Down

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]



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.