Ad Widget

Collapse

Problems creating a discovery rule using JSON

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • doderlein
    Junior Member
    • Jun 2011
    • 5

    #1

    Problems creating a discovery rule using JSON

    We have an application that we can retrieve health info from in JSON format. But I got problems creating a discovery and item prototypes from it. This is the JSON:
    {
    "LdapAuthenticatorHealthCheck" : {
    "healthy" : true
    },
    "RMRestService" : {
    "healthy" : true
    },
    "SlRestService" : {
    "healthy" : true,
    "message" : ""pong""
    },
    "deadlocks" : {
    "healthy" : true
    },
    "oracle.database" : {
    "healthy" : true
    }
    }

    Is it possible to create a discovery rule for this? Which retrieves LdapAuthenticatorHealthCheck, RMRestService, etc. And the create item prototypes from those values?
Working...