Ad Widget

Collapse

Discovery within discovery?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Floppe
    Junior Member
    • Feb 2008
    • 14

    #1

    Discovery within discovery?

    Hi,

    I've written a script that discovers IIS application pools and sites hosting a certain webservice. The item prototypes that generates items asking for metrics from above webservice. Then there are many independent items based on the JSON result which works as expected.

    Now i'm stuck in how I should detect and graph dynamic items from every discovered service. Here is an example snippet of the JSON data returned.

    Code:
    {
     ....,
       "Clients": {
            "ConnectedClients": 9,
            "ClientsPerAppVersion": {
                "App version 1": 1,
                "App version 3": 8,
            },
            "ClientsPerAndroidVersion": {
                "Android 7": 1,
                "Android 9": 7,
                "Android 11": 1
            },
            "ClientsPerWebViewVersion": {
                "Chrome/88.0.4324.152": 9
            }
        },
        .....
    }
    Any hints on how I could create graphs from above data. If the JSON data needs to be changed, then that is also possible cause it'ms my own webservice.

Working...