What API call would I use to list warning and information events an child probes in JSON format? Can I include specific specific child probes or its has to be all?
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.
Hi there,
Following API call should give you the desired output:
https://yourserver/api/table.json?content=sensors&columns=objid,sensor,lastvalue,status,message&id=YOURPROBEID&filter_status=STATUSCODE
For the statuscode please take a look below:
| Status Code | Sensor State |
| 1 | Unknown |
| 2 | Collecting |
| 3 | Up |
| 4 | Warning |
| 5 | Down |
| 6 | NoProbe |
| 7 | PausedbyUser |
| 8 | PausedbyDependency |
| 9 | PausedbySchedule |
| 10 | Unusual |
| 11 | PausedbyLicense |
| 12 | PausedUntil |
| 13 | DownAcknowledged |
| 14 | DownPartial |
Please also include the authentication to get this working.
Kind regards
Felix Wiesneth - Team Tech Support
May, 2022 - Permalink
Hi there,
Following API call should give you the desired output:
For the statuscode please take a look below:
Please also include the authentication to get this working.
Kind regards
Felix Wiesneth - Team Tech Support
May, 2022 - Permalink