Unable to poll Smarts domains successfully
search cancel

Unable to poll Smarts domains successfully

book

Article ID: 338337

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

In the M&R Smarts collector logs, the following polling error is observed as below for Smarts domains:
 

WARNING -- [2016-10-26 10:54:52 CDT] -- PollingEngine::poll(): error polling emc-smarts : TEST-OI (conf/smarts-pm-health.xml)
java.lang.NumberFormatException: For input string: "/opt/InCharge/SAM/smarts/lib/libz.so.1"

Environment

All supported releases of Smarts and Watch4net/M&R

Cause

A code bug on the icStats.sh script on Smarts prevented successful polling by M&R.

Resolution

To resolve this issue, review the following steps:

  1. On the Smarts host, edit the <INSTALL_DIRECTORY>/actions/icStats.sh script.

  2. Find the following line below:

echo `${PS} ${ARGV1} ${PID} ${ARG1} | ${GREP} ${PID}` $CPU_NUM

  1. Add an ampserand (&) after the pipe (|) as below:
echo `${PS} ${ARGV1} ${PID} ${ARG1} |& ${GREP} ${PID}` $CPU_NUM
  1.  Save the changes to the script.