Hello.
There is a problem.
There sensor1 and sensor2. In the sensor1, the dependence on sensor2 On sensore1 set mail notification when passing the sensor in the status of "down", and also the reduction of the same notice in the mail. The sensor is in the status of "down" and a notice has been sent previously. Sensor2 goes into the status "down" and Sensor1 pauses. What happens: given notice that the sensor1 has restored the value of a "not down." because the status of transferred to the status of "Pause" After the restoration work sensor2 the following occurs: It should send a message that sensor1 moved to the status of "down".
How to make so that no data updates and the following occurred: Sensora2 the transition to the status of "down", its dependent status sensors are moved into the "Pause" and have given notice and memorize the previous state. After restoring Sensor2, dependent sensors should check the current status of the status of the transition to the status of a "pause" and if on remains the same, it does not send a notification.
If whether the current version of the solution of the problem or not?
Article Comments
I write on Russia.
???? ??????1 ? ??????2. ? ???????1 ????????? ??????????? ?? ???????2. ? ???????1 ???????? ??????????? ?? ????? ??? ???????? ??? ????????? ? ??????? "??????(Down)", ? ??? ?????? ????? ????????? ??? ?? ????????? ??????????? ?? ?????.
????????: ??????1 ????????? ? ????????? «??????(Down)» ? ??????????? ???? ?????????? ??? ???????? ? ??? ?????????. ??????2 ????????? ? ????????? "??????(Down)" ? ?????????????? ?? ??????????? ??????1 ????????? ? ????????? ?????. ??? ??????????: ???????? ??????????? ? ??? ??? ??????1 ??????????? ????????? ?? "?? ??????", ?????? ??? ????????? ? ????????? "?????". ????? ?????????????? ?????? ???????2 ?????????? ?????????: ??????1 (???????? ???????????) ??????? ?? ????????? "?????" ? ????????? ???? ????????? ?.?. ??? ???????? ? ????????? "??????(Down)" ???????????? ??????????? ?? ???? ?? ????? .
??? ??????? ???, ?????: ??? ???????? ??????1 (???????? ???????????) ? ????????? "?????" ?? ??????????? ??????????? ?? ?????, ? ???????????? ?????????? ??? ?????????(?.?. ? ????? ?????? "??????(Down)". ????? ?? ??????1 ?????? ?? ????????? "?????", ?? ????? ???????? ??? ?????????, ??????????? ????????? ? ?????????? ??????? ???? ?? ???????? ? "?????" ? ???? ??? ?? ?????????? ?? ?? ???????? ?????????? ??????????? ?? ?????. ???? ?? ??????? ????? ?????? ??? ????
Mar, 2016 - Permalink
????, ??? ??????? ?? ??? ??????? ???-?? ?? ?????, ? ?????. ?? ?????? ?????????:
[Sensor 1] ---[depends on]---> [Sensor 2] 1. [Sensor 1] DOWN 2. [Sensor 2] PAUSED 3. [Sensor 1] Notification DOWN 4. [Sensor 1] Notification UP [Sensor 2] STILL DOWN 5. [Sensor 2] Notification DOWN
??? ?????? ? ?? ????, ??? ?? ??????, ?? ?? ?????? 5, ?? ??? ???
Important note This was translated via google translate and might contain errors and misspellings.
Mar, 2016 - Permalink
?? ??????..
??? ?????????? ??????: [Sensor 1] ---[depends on]---> [Sensor 2]
- 1. [Sensor 1] -> DOWN -> send notify
- 2. [Sensor 2] -> DOWN -> [Sensor 1] -> PAUSE -> Notify("sensor1 Message: paused by dependency")
- 3. [Sensor 2] -> UP -> [Sensor 1] ->STILL DOWN-> Notify("sensor1 Message: Sensor is down")
- 4. [Sensor 1] -> UP -> Notify("sensor1 Message: Sensor is up")
??? ??????? ????????: [Sensor 1] ---[depends on]---> [Sensor 2]
- 1. [Sensor 1] -> DOWN -> send notify
- 2. [Sensor 2] -> DOWN -> [Sensor 1] -> PAUSE -> sensor1 without Notify
- 3. [Sensor 2] -> UP -> [Sensor 1] ->STILL DOWN-> sensor1 without notify
- 4. [Sensor 1] -> UP -> Notify("sensor1 Message: Sensor is up")
Mar, 2016 - Permalink
English
That should work when you make sensor 1 depend on sensor 2 and add a "When condition clears" notification to sensor one. The problem is step 3. That won't work properly. You could create a HTTP notification that acknowledges the sensor, but it may or may not work depending on how fast the original sensor will go into a down state :/ It's some kind of race condition...
???????
??? ?????? ????????, ????? ?? ??????? ?????? 1 ??????? ?? ??????? 2 ? ???????? "????? ??????? ???????" ??????????? ?????? ???????. ???????? ??????????? ? ???, ??? ??? 3. ?? ????? ???????? ??????? ???????. ?? ?????? ??????? ?????????? HTTP, ?????????? ??????, ?? ?? ????? ??? ?? ????? ???????? ? ??????????? ?? ????, ????????? ?????? ???????????? ?????? ???????? ? ????????? ????: / ??? ?????? ???? ????? ????????? ...
Note This has been translated using Google Translate and may contain errors.
Mar, 2016 - Permalink
?? ????? ??? ?????? ??? ?????????
??? ?????????????: ????? ????? ???????? ???????? ? ??????? ??????????? ???????? UP. ?.?. ??????????? ????? ?????? ??????? ? ????????? UP. ????? ????? ????? ????? ????????? ????? ??????? ? ??????.
English: I do not understand how this setup.
For developers: I think will be useful to add to the value of the trigger UP notice. those. notification when the sensor is moved to the UP state. Then it will be easy to set up a scheme which I have described.
Note This has been translated using Google Translate and may contain errors.
Mar, 2016 - Permalink
???????
?????????? ????? ??????????? "??? ?????????? ??????? ???????" - ? ?????????, ??? ????????, ??? ?????????? ?? ???? ? ????? ?????? ?????????, ??????? ?? ?? ????? ???? ??????? ??? ???
English
There is a notification option "When condition clears" - unfortunately, this means going from down into any other state, so it might not be useful for you
Note This has been translated using Google Translate and may contain errors.
Mar, 2016 - Permalink
English It can be done in the next version of the opportunity to notice the transition of the sensor status in UP ??????? ????? ??????? ? ????????? ?????? ??????????? ?????? ??????????? ??? ???????? ??????? ??????? ? UP
Note This has been translated using Google Translate and may contain errors.
Mar, 2016 - Permalink
Sorry it probably won't get implemented as we can cover most cases with "when condition clears". Adding more states to alerts is not a simple task and requires an awful lot of testing to do :(
Mar, 2016 - Permalink
Not really, as the issue was rather unclear back then. Could you describe your specific use case, please?
PRTGapi |
Feature Requests |
WMI Issues |
SNMP Issues
Kind regards,
Stephan Linke, Tech Support Team
Apr, 2019 - Permalink
I implemented the scheme I needed using an additional shim when a notification is triggered, which goes to my script on the site and processes notifications in the way I need.
The script is on the PCP and messages are sent after it through the telegram bot. There are much fewer false alerts and monitoring has become more pleasant and understandable.
I also made a forced bypass of not closed alerts in the morning, so as not to miss events that occurred at night and on weekends. we are not working 24x7.
I think prtg developers should think about this functionality, tk. the product is good, but there are many false alerts, unlike zabbix, and there are many things that are better, for example, conditions and formulas when processing monitoring results.
Aug, 2021 - Permalink
I'm afraid that I'm unable to understand what you mean. Could you post the question again in russian if possible? I'll ask my colleague to translate it then :)
Mar, 2016 - Permalink