IBM Support

IV73318: JSON FORMAT ERROR WITH SCOM PROBE COMMAND PORT VIA HTTP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • SCOM probe V3 installed on Windows server 2012 R2 which is the
    RMS host of SCOM 2012; Omnibus 8.1 installed on RHEL 6.6.
    
    Try to set up the Command Port module via HTTP for the SCOM
    probe, and executed the nco_http to send the command of
    "version" to SCOM probe, it keeps reporting JSON
    format error, However, it works fine when typed in "nco_http
    -uri http://<hostname>:6971/probe/common".
    
    ****************************************************
    netcool@host2:/opt/IBM/tivoli/netcool/omnibus/etc # nco_http
    -uri http://host1:6971/probes/nco_p_scom2012 -datatype
    application/json -data '{"command":"version","params":[]}'
    -method POST
    2015-03-03T17:01:18: Warning: W-UNK-103-001: HTTP Server
    returned an error: 400 Bad Request
    2015-03-03T17:01:18: Information: I-UNK-104-002: Error in JSON
    format, please check JSON parameter key
    ****************************************************************
    ***
    At the same time, in the SCOM probe log file on host 1, it
    shows the following errors:
    ****************************************************
    2015-03-03T17:01:18: Debug: D-NHT-105-002: [HTTP Listener]:
    Connection from 'host1' (xxx.xxx.xxx.xxx) on socket '324'.
    Accepted connections = 1, Max connections = 500.
    2015-03-03T17:01:18: Debug: D-NHT-105-008: [HTTP Listener]:
    Data available from 'host' (xxx.xxx.xxx.xxx) on socket '324'.
    2015-03-03T17:01:18: Debug: D-NHT-105-028: [WorkPoolThread]:
    Successfully got a work item. Items left on work queue is '0'.
    2015-03-03T17:01:18: Debug: D-NHT-105-009: [WorkPoolThread]:
    Received HTTP request from 'host' (xxx.xxx.xxx.xxx)  on socket
    '324'.
    2015-03-03T17:01:18: Information: I-UNK-000-000: Property
    NHttpd.BasicAuth is empty, allowing connection with no
    authentication
    2015-03-03T17:01:18: Debug: D-NHT-105-025: [WorkPoolThread]:
    Connection from 'host' (xxx.xxx.xxx.xxx)  on socket verified to
    be still connected '324'.
    2015-03-03T17:01:18: Information: I-UNK-000-000: Calling
    NSProbeBidirCB
    2015-03-03T17:01:18: Information: I-UNK-000-000:
    NSProbeBidirCB: Thread id is 0127EAD0
    2015-03-03T17:01:18: Debug: D-CSP-000-000: Parsing JSON
    {"command":"version","params":[]}
    2015-03-03T17:01:18: Error: E-CSP-000-000: Error in JSON
    format, please check JSON parameter key
    2015-03-03T17:01:18: Debug: D-CSP-000-000: Sending
    bidirectional response
    2015-03-03T17:01:19: Debug: D-UNK-000-000: BufferFlushInterval
    expired. Last flush 1 seconds ago
    2015-03-03T17:01:19: Debug: D-UNK-000-000: Flushing events to
    object servers
    2015-03-03T17:01:19: Debug: D-UNK-000-000: 0 buffered alerts
    2015-03-03T17:01:19: Debug: D-NHT-105-008: [HTTP Listener]:
    Data available from 'host' (xxx.xxx.xxx.xxx)  on socket '324'.
    2015-03-03T17:01:19: Debug: D-NHT-105-028: [WorkPoolThread]:
    Successfully got a work item. Items left on work queue is '0'.
    2015-03-03T17:01:19: Debug: D-NHT-105-015: [WorkPoolThread]:
    Disconnection detected on socket '324'. Dropping connection.
    2015-03-03T17:01:20: Debug: D-UNK-000-000: BufferFlushInterval
    expired. Last flush 1 seconds ago
    2015-03-03T17:01:20: Debug: D-UNK-000-000: Flushing events to
    object servers
    2015-03-03T17:01:20: Debug: D-UNK-000-000: 0 buffered alerts
    2015-03-03T17:01:20: Debug: D-NHT-105-001: [HTTP Listener]:
    Disconnection from 'host' (xxx.xxx.xxx.xxx)  on socket '324'.
    Accepted connections = 0, Max connections = 500.
    2015-03-03T17:01:20: Debug: D-CSP-000-000: Retrieving all
    available alerts...
    2015-03-03T17:01:20: Debug: D-CSP-000-000: 0 alerts retrieved
    2015-03-03T17:01:21: Debug: D-UNK-000-000: BufferFlushInterval
    expired. Last flush 1 seconds ago
    2015-03-03T17:01:21: Debug: D-UNK-000-000: Flushing events to
    object servers
    2015-03-03T17:01:21: Debug: D-UNK-000-000: 0 buffered alerts
    **********************************************************
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the HTTP/HTTPS command port module for the          *
    * Microsoft SCOM 2012 probe.                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * HTTP command parsing did not parse spaces and double quotes  *
    * in the intended manner.                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to probe-nco-p-scom2012-3_1                          *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IV73318

  • Reported component name

    MSFT SYS CTR 20

  • Reported component ID

    5724P09MS

  • Reported release

    100

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-05-15

  • Closed date

    2015-05-27

  • Last modified date

    2015-05-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R100 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 May 2015