network - remote SimpleMonitor logging

Warning

Do not commit your credentials to a public repo!

This logger is used to send status reports of all monitors to a remote instance. The remote instance must be configured to listen for connections. The key parameter is a shared secret used to generate a hash of the network traffic so the receiving instance knows to trust the data.

Warning

Note that the traffic is not encrypted, just given a hash to validate it.

The remote instance will need the remote, remote_port, and key configuration values set.

If you want the remote instance to handle alerting for this instance’s monitors, you need to set the remote_alert option on your monitors. This is a good candidate to go the [defaults] section of your monitors config file.

host
Type:

string

Required:

true

the remote hostname/IP to send to

port
Type:

string

Required:

true

the remote port to connect to

key
Type:

string

Required:

true

the shared secret to validate communications