1. Home
  2. Docs
  3. ClusterControl
  4. Components
  5. ClusterControl Controller
  6. Startup File

Startup File

To customize the cmon startup process, you can define the Command Line Arguments in a custom file, instead of hacking up the init script directly. The CMON init script (or systemd) will append all configuration options defined inside /etc/default/cmon when starting up the cmon process and translates those options into command line arguments. For example:

$ cat /etc/default/cmon

In the example above, cmon will bind into those IP addresses and listen to port 9500 once started. If you filter out the ps output from the server, you should get the following:

/usr/sbin/cmon --rpc-port=9500 --bind-addr=',,' --events-client='' --cloud-service='
Was this article helpful to you? Yes No