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.
Article Comments
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
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