Restmon - Json schema uploaded successfully but not listing in MCS template

book

Article ID: 142519

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

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.

 

 

Cause

The client had used the same QOS names for all of the attributes.

Environment

UIM  9.X
UMP 9.X

Restmon probe.

Resolution

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"
   },

Attachments

1578060675940__working-1servicewm_schema.json get_app
1578060472666__not-working-appwm_schema.json get_app