Command Line Monitor
Beside the web interfaces, the Command Line Monitor is available, which also provides monitoring services (see chapter Monitoring services) as well as basic control services for jobs (see chapter Control services). The program can be called by the following command:
bin/monitor.sh
The following command line operations are supported:
usage: monitor.sh
-b,--bcrypt Generate BCRYPT hash for properties file (since 9.13.1) -e,--encrypt Generate encrypted password with AES, key size 256 (since 9.13.1) -c,--command <arg> Command to execute (e.g. shutdown) -h,--host <arg> Set remote host -help,--help Show usage -p,--port <arg> Set remote port -pass,--password <arg> Password -s,--ssl Enable SSL support -user,--username <arg> Username
If a username is specified without a password, the program asks for the password at start. This enables start of the Monitor if no password string is provided in the process list. Alternatively, the password can be specified in the file ColdScheduler.properties with the following parameters:
ClientUsername=operator ClientPassword=password
The Monitor reads all additional parameters that have not been provided on the command line from the ColdScheduler.properties file. When you start the Monitor without parameters, it tries always to connect to the server on the same system.
The parameter “--command <arg>” will only execute a command on the server and then return. It can be used to trigger a shutdown or any other command that is accepted by the Monitor.
Starting from ImageMaster 9.13.1, the following encryption options are supported by “monitor.sh”:
- for a BCRYPT hash use option “-b” or “--bcrypt”
- for an AES encrypted password with key size 256 use option “-e” or “--encrypt”