WCC Monitor Unable to run from Service account
search cancel

WCC Monitor Unable to run from Service account

book

Article ID: 219739

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

Autosys R11.3.6 Sp2 has been installed and WCC version is R11.4.7

While trying to run wcc_monitor.sh using service account (test), getting error.

when run from my Individual ID, its run successfully.

What exactly the user should have access to run wcc_monitor ID ?

 ./wcc_monitor.sh -u test -p t$&t -d ALL
[1] 101551
bash: t: command not found...
[root@ibntest004856 bin]# Workload Control Center Monitoring Batch Interface

Initialization.....................E410013 Wrong command line parameters

# tail /opt/CA/WorkloadAutomationAE/wcc/log/application/cli/wcc_monitor.log
[ <main> [] ] ERROR 2021-07-16 05:15:08,562  com.ca.wcc.monitoring.cli.CLIManager command line error
org.apache.commons.cli.MissingOptionException: Missing required option: [-r reload monitoring flow , -d reload content from WAAE server, -x export view definition script, -i import view definition script, -? print help]
        at org.apache.commons.cli.Parser.checkRequiredOptions(Parser.java:299)
        at org.apache.commons.cli.Parser.parse(Parser.java:231)
        at org.apache.commons.cli.Parser.parse(Parser.java:85)
        at com.ca.wcc.monitoring.cli.CLIManager.callCLICommand(CLIManager.java:199)
        at com.ca.wcc.monitoring.cli.Main.main(Main.java:101)

 

Environment

Release : 11.3.6

Component : CA WORKLOAD AUTOMATION ADVANCED INTEGRATION FOR HADOOP

Resolution

The problem was with the special characters $& used in the password. The issue is resolved if we pass the password with double quotes.

./wcc_monitor.sh -u test -p "t$&t" -d ALL
Workload Control Center Monitoring Batch Interface

Initialization.....................
Authenticating with EEM.....

I410008 Delete content request was send successfully for servers:
        R12