I would like to create a new item in CONTEXT MENUS that when clicked on the alarmed sensor it would pass the %sensorid and run a PowerShell script or http action the same way it does in notifications, but manually.

That would be very interesting.

https://www.paessler.com/manuals/prtg/context_menus#device


Article Comments

Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.

As it stands, those are apart of the Ajax code for our UI, and cannot be user modified.

But I'll add this to our wishlist.


Apr, 2018 - Permalink

I changed the code located in the _ Prtg. Contextmenus. js in the folder C: Program files (x86) Prtg Network Monitor webroot javascript

############################################################## "Sensorsendlinkpermail ": function (t) {window. Open ( "http://< yourpage/function. php?sensorid = " + (T. attr ( "Data-id ") | | T. attr ( "id ")), "_blank ", "toolbar = yes, scrollbars = no, resizable = yes, top = 1, left = 1, width = 300, height = 100 ")}, ##############################################################


Apr, 2018 - Permalink

Did it work? This must be something that was changed recently.


Apr, 2018 - Permalink