Smarts NCM 9.4: The output of cmstatus is partly broken; cmstatus command output: summary does not match detail
search cancel

Smarts NCM 9.4: The output of cmstatus is partly broken; cmstatus command output: summary does not match detail

book

Article ID: 331116

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


The cmstatus utility is located here:

<VOYENCE_HOME>/Healthcheck/cmstatus

In Smarts NCM 9.4, the output of the cmstatus utility is partly broken. In the cmstatus command output the summary does not match detail.

The output of cmstatus is party broken.

For example:

# ./cmstatus cmd
Operation Summary:
First Run Tasks Restarted Running Canceled Completed
Sun May 3 13:15:04 2015 1430732584 56 19 2361 14

Type Thread Tasks In Completed Restarted Canceled Sec.
-----------------------------------------------------------------------------
push 0 0 0 0 0 0
pull 192927488 2379 2361 0 0 130
discovery 192927488 9 8 56 0 296
hwpull 0 0 0 0 0 0
cutthru 0 0 0 0 0 0
dasllet 0 0 0 0 0 0
quick cmd 0 0 0 0 0 0
resync 0 0 0 0 0 0
cancel 0 0 0 0 0 0
pullall 0 0 0 0 0 0
timer 0 0 0 0 0 0
healthchec 192927488 260 260 0 0 0

The issue is with the Operation summary line which in the above example shows 2361 Canceled tasks and 14 completed tasks. This does not match the info below the summary lines:
2361 completed (instead of cancelled).
0 cancelled tasks.

The thread number often also shows as a large negative number.

Environment

VMware Smart Assurance - NCM

Cause

This is a known issue in Smarts NCM 9.4.

Resolution

This issue is resolved in patch 2 for Smarts NCM 9.4.

Please upgrade to this patch to attain the fix.