Watch4net: APG Report Pack for EMC Smarts Health is not reporting any data for Smarts domains
search cancel

Watch4net: APG Report Pack for EMC Smarts Health is not reporting any data for Smarts domains

book

Article ID: 304682

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




The following conditions, events and system behaviors may be observed with this issue:
  • Watch4net APG Report Pack for EMC Smarts Health is not reporting any data for Smarts domains
  • The following warning message is seen in the Watch4net APG collecting-0-0.log:

WARNING  -- [2013-03-11 15:15:31 GMT] -- SmCollector::threadJob(): error polling INCHARGE-AM-PM
java.lang.Exception: size() : null arg
        at org.apache.commons.jexlmod.parser.ASTSizeFunction.value(ASTSizeFunction.java:67)
        at org.apache.commons.jexlmod.parser.ASTEQNode.value(ASTEQNode.java:71)
        at org.apache.commons.jexlmod.parser.ASTExpression.value(ASTExpression.java:54)
        at org.apache.commons.jexlmod.parser.ASTIfStatement.value(ASTIfStatement.java:60)
        at org.apache.commons.jexlmod.parser.ASTBlock.value(ASTBlock.java:63)
        at org.apache.commons.jexlmod.parser.ASTIfStatement.value(ASTIfStatement.java:63)
        at org.apache.commons.jexlmod.parser.ASTJexlScript.value(ASTJexlScript.java:58)
        at org.apache.commons.jexlmod.ScriptImpl.execute(ScriptImpl.java:48)
        at com.watch4net.apg.v2.collector.plugins.smarts.data.SmScriptValue.processValue(SmScriptValue.java:184)
        at com.watch4net.apg.v2.collector.plugins.polling.PollingContext.pushValues(PollingContext.java:603)
        at com.watch4net.apg.v2.collector.plugins.polling.FetchClassInstanceTask.completed(FetchClassInstanceTask.java:122)
        at com.watch4net.async.EvaluatorTask.notifyComplete(EvaluatorTask.java:155)
        at com.watch4net.async.CompoundEvaluatorTask.notifyComplete(CompoundEvaluatorTask.java:89)
        at com.watch4net.async.EvaluatorTask.run(EvaluatorTask.java:108)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Thread.java:662)
INFO     -- [2013-03-11 15:15:31 GMT] -- OutageDetector::syncOutages(): OutageDetector: synchronizing outages...
INFO     -- [2013-03-11 15:15:31 GMT] -- SmPollingData::updateNextPollingDelay(): INCHARGE-AM-PM: polling failed in 2.365s, next polling in 237.595s...



Environment

VMware Smart Assurance - Watch4Net/M&R

Cause

The above issue has been found to occur in environments where the icStats.sh/icStats.cmd and ICSTATS.import did not have the required "execute" permissions on the Smarts server.

Resolution

If you encounter this issue, do the following:
  1. Ensure the correct execute permissions are set on icStats.sh and ICSTATS.import.
  2. Restart the Smarts domain manager.
  3. After a few polling cycles, confirm that the Smarts health data is present in the Watch4net Front End/Web Portal reports.


Additional Information

The above issue occurs even though the required scripts provided with Watch4net have been deployed in the Smarts installation, and the instructions in /opt/APG/Collecting/Smarts-Collector/Default/contrib/sm-domain-health/README.txt were followed correctly.