search cancel

Reports are not running successfully

book

Article ID: 6648

calendar_today

Updated On:

Products

CA eHealth

Issue/Introduction

Reports are not running successfully and in the logs for the failed reports, lines such as the below are seen:

 

Error: Symbol undefined for Stats (appService) inboundPortUtil noInbPortActWCal. 

Report failed. 

Environment

eHealth and all supported versions and operating systems

Cause

It is likely that when setting up the report it was done via the command line and the -vars switch was entered with data that was surrounded by double quotes ("), for example:

$NH_HOME/bin/nhReport -scheduled -rptType trend -rptName Standard -subjType element -elemType routerSwitch -subjName [email protected] subCompsType appService -autoRange lastMonth -vars "inboundPortUtil noInbPortActWCal" -protocols all -divBy time -namesType aliases -chartType line -chartOpts standard -gran asIs -web  $(SUBJECT)_$(DATE)_$(TIME) -webUser admin -namesType names

Resolution

For the -vars switch you need to specify multiple variables separated by comma WITHOUT double quotes.  For example:

$NH_HOME/bin/nhReport -scheduled -rptType trend -rptName Standard -subjType element -elemType routerSwitch -subjName [email protected] subCompsType appService -autoRange lastMonth -vars inboundPortUtil noInbPortActWCal -protocols all -divBy time -namesType aliases -chartType line -chartOpts standard -gran asIs -web  $(SUBJECT)_$(DATE)_$(TIME) -webUser admin -namesType names