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

persistant alarm state SNMP trap

Votes:

0

Alarms are tapped but clear on the next scan.

alarm persistant snmp-trap

Created on Jul 7, 2017 2:38:28 AM



1 Reply

Votes:

0

Hey vk6xre,
Thanks for your KB-posting.

Actually, it is not possible in PRTG to leave the SMTP Trap sensor in DOWN/ERROR-state until it receives an OK-message.

Please see a summary from our manual, which explains how the sensors changes its status:
Messages are collected until a scanning interval ends. As long as the scanning interval is running, no status change will happen. By default, the sensor will turn into a Down status after a scanning interval has finished and there was at least one error message during this interval. The status will remain Down at least until the succeeding scanning interval has finished. If the sensor did not receive any warning or error message in this scanning interval, its status will turn Up again after the interval.

A workaround could be to create a notification which simulates a DOWN/ERROR-state and to trigger that with a state-trigger. For example, "If State: DOWN for at least 0 seconds --> simulate ERROR-State".

On that way your sensor stays in DOWN/ERROR-state (but with the error-message Simulated error (code: PE034)). To bring the sensor back to OK-state, you have to explicitly click on "Resume".

To to so, the following steps, have to be done:

1) Add a notification
1.1) Please navigate to "Setup >> Account Settings >> Notifications"
1.2) Click on "Add new notification"
1.3) Under "Method", please choose "Always notify ASAP, never summarize"
1.4) Please activate the option "Execute HTTP action" and enter the following URL:

https://[IP of your Core Server]/api/simulate.htm?id=%sensorid&action=1&username=[Your username]&password=[Your password]

1.5) Save the notification
For further details, please refer to this manual

2) Add a state-trigger
2.1) Please navigate to your SNMP-Trap-Receiver-Sensor
2.2) Switch to tab "Notifications"
2.3) Click on "Add State Trigger"
2.4) Please set the values which should reached to trigger the notification (Suggestion: 0 seconds)
2.5) Please choose your "Simulate Error"-notification
2.6) Save the state-trigger
For further details, please refer to this manual

Best regards,
Sven

Created on Jul 7, 2017 4:37:51 AM by  Sven Roggenhofer [Paessler Technical 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.