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?
{
"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?