Restmon - Json schema uploaded successfully but not listing in MCS template.
We have prepared the schema and uploaded in restmon but that is not reflected in MCS template.
When we add the schema with 1 or 2 attributes, it is showing properly but more attributes are not showing.
The client had used the same QOS names for all of the attributes.
UIM 9.X
UMP 9.X
Restmon probe.
the client had to change the QoS names to unique names.
See the attached full file examples:
Example not working:
"metrics": [
{
"xml_ns": "",
"attributes": {
"uim": {
"conversion": "Suspended:0, yes:1, disabled:2, no:3",
"defaultpublishing": "true",
"qos_name": "QOS_WM_SERVICE_STATE",
"qos_desc": "State",
"qos_abbr": "State",
"metric_type": "1.4:1",
"qos_unit": "State",
"source": "%hostname",
"target": "LXKWMAMSupport.monitorSAPClient.main:monitorSAPClient"
}
},
"value": "$.notIdealSchedulerList[0].actualStatus",
"url": "wmqaapi",
"group": "wmservices",
"helptext" : "Suspended:0, yes:1, disabled:2, no:3"
},
{
"xml_ns": "",
"attributes": {
"uim": {
"conversion": "Suspended:0, yes:1, disabled:2, no:3",
"defaultpublishing": "true",
"qos_name": "QOS_WM_SERVICE_STATE",
"qos_desc": "State",
"qos_abbr": "State",
"metric_type": "1.4:1",
"qos_unit": "State",
"source": "%hostname",
"target": "LXKNotifications.ServiceRequest:ServiceRequestNotification"
}
},
"value": "$.notIdeal_JDBC_PollingNotifications[0].idealNotificationEnabled",
"url": "wmqaapi",
"group": "wmservices",
"helptext" : "Suspended:0, yes:1, disabled:2, no:3"
},
example working:
"metrics": [
{
"xml_ns": "",
"attributes": {
"uim": {
"conversion": "Suspended:0, yes:1, disabled:2, no:3",
"defaultpublishing": "true",
"qos_name": "QOS_WM_SERVICE_STATE",
"qos_desc": "State",
"qos_abbr": "State",
"metric_type": "1.4:1",
"qos_unit": "State",
"source": "%hostname",
"target": "LXKWMAMSupport.monitorSAPClient.main:monitorSAPClient"
}
},
"value": "$.notIdealSchedulerList[0].actualStatus",
"url": "wmqaapi",
"group": "wmservices",
"helptext" : "Suspended:0, yes:1, disabled:2, no:3"
},
{
"xml_ns": "",
"attributes": {
"uim": {
"conversion": "Suspended:0, yes:1, disabled:2, no:3",
"defaultpublishing": "true",
"qos_name": "QOS_WM_SERVICE_SERVICEREQUESTNOTIFICATION_STATE",
"qos_desc": "State",
"qos_abbr": "State",
"metric_type": "1.4:1",
"qos_unit": "State",
"source": "%hostname",
"target": "LXKNotifications.ServiceRequest:ServiceRequestNotification"
}
},
"value": "$.notIdeal_JDBC_PollingNotifications[0].idealNotificationEnabled",
"url": "wmqaapi",
"group": "wmservices",
"helptext" : "Suspended:0, yes:1, disabled:2, no:3"
},