Automation Perl scripts
Some scripts are provided for you to use in MainView Middleware Monitor to automate some actions.
For all of the scripts, you must declare a MainView Middleware Monitor log in account. This is an account that logs into MainView Middleware Monitor and issues commands using MainView Middleware Monitor. The scripts are currently defined to use the super user SA account and default password. Unless the SA account is disabled, the scripts are always able to use MainView Middleware Monitor. We do, however, recommend that you change the user account to one of your own.
The scripts provide some logging capabilities. By default logging might be turned off. (See each script to ensure logging is set to your preference.) When enabled, the scripts write to STDOUT and to AlterQueue.log, startqmgr.log, or ctrlchl.log in the same directory as the associated Perl script. These log files continue to grow indefinitely. For instance, if you have a lot of actions that use the ComMqsoftwareAlterQueue.pl script, you should ensure that the AlterQueue.log is periodically cleared. See the specific Perl script for more details.
These scripts are provided with the installation.
Related topics