Hello Jason,
Thank you for your message.
Regarding what you would like to achieve, you can apply limits via the options below:
- Within the data sent to PRTG (only at the sensor creation)
In the data sent to the HTTP Push Data Advanced sensor, you have the possibility to define limits by using the following elements (documented there: Custom sensors) :
- limitmode
- limitmaxerror
- limitmaxwarning
- limitminwarning
- limitminerror
Here is an example of response which includes the configuration of the limits:
{
"prtg": {
"result": [
{
"channel": "Value",
"value": 20,
"limitmode": 1,
"LimitMaxError": 50,
"LimitMaxWarning": 40
},
...
]
}
}
Note that the limits are applied only once, at the sensor creation and then will be discarded by PRTG for the next data received.
If you have many HTTP Push sensors with the same channels, you can also use the multi-edit feature to apply limits for each of them at once. To do so, go to Sensors > By Type > H.. > HTTP Push Data Advanced then select the sensors you desire to modify and open the Settings menu on the right.
You can also use the API of PRTG via the PowerShell module PRTGAPI to modify all sensor(s) channels limits. Here is the GitHub page of the module as well as its documentation:
https://github.com/lordmilko/PrtgAPI
https://github.com/lordmilko/PrtgAPI/wiki
If you have questions, let me know.
Kind regards.
Add comment