We have a service that outputs a set of monitoring data (channels) in json or xml format. What is the most efficient way of getting these data into PRTG? Do I have to use one sensor per channel - or is it possible to use one sensor per group?
Sample JSON: { "general": { "Exceptions": "0" }, "tcp": { "TCPTelegramsIn": "0", "TCPTelegramsOut": "0", "TCPResponseTime": "0", "TCPErrors": "0", "TCPConnects": "0", "TCPDisconnects": "0", "TCPTelegramsInCL": "9.49940747546472E-43", "TCPTelegramsOutCL": "0", "TCPResponseTimeCL": "0", "TCPErrorsCL": "0", "TCPConnectsCL": "0", "TCPDisconnectsCL": "0" }, "notifications": { "NotificationsIn": "0", "NotificationsOut": "0" }, "m3api": { "M3APICalls": "2.06414875439106E-9", "M3APIErrors": "0", "M3APIResultCounts": "0", "M3APIResponseTime": "8.57911826043786E-8" }, "db": { "DBReads": "8401.19020875096", "DBWrites": "4828.46466000697", "DBErrors": "0" }, "data": { "PSDOrders": "0", "PSDMoveOrders": "0", "PSDPickOrders": "0" } }
[edit] I just wrapped the json code so it's readable
Add comment