- Download latest binary from releases page,
- Run the binary once to create config file
- Edit config file located in
/etc/ctlmon/config.yaml
to your desired choice.
Sample config file in config.example.yml
nodename
=> For reference in the discord webhook, default is hostnameroleid
=> Discord RoleID to be mentioned, to notify people about the downtime of the serviceservices
=> List of services to checkversion
=> Current version of the config file, do not touchwebhookenabled
=> Acts as a killswitch to turn off discord notificationswebhookurl
=> URL of the webhook to send the POST request to
Open your cron file via sudo crontab -e
and add in the following:
* * * * * /PATH/TO/ctlmon // Runs ctlmon commmand every minute