Vigil is a lightweight monitoring tool for servers and websites. It allows you to configure checks to monitor your system and notify you in case of any issues. Here's how you can install Vigil on macOS.
Before you begin, ensure that you have the following:
xcode-select -p
. If it returns a path, you have it installed. If not, run xcode-select --install
to install it.curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
in your Terminal.cargo install vigil-server
to install Vigil.vigil-server -V
in Terminal to check the version of the installed Vigil.Once you have installed Vigil, you need to configure it to monitor your system. Here's how:
config.toml
in your preferred directory. You can do this by running the command touch config.toml
in Terminal.config.toml
in your preferred text editor and add the following configuration:[http]
bind_addr = "127.0.0.1:9090"
[[checks]]
name = "Vigil Server"
type = "http"
url = "http://127.0.0.1:9090"
interval = "30s"
timeout = "10s"
This configuration will create a HTTP check that monitors the Vigil server itself.
config.toml
file.vigil-server --config path/to/config.toml
in Terminal, replacing path/to/config.toml
with the actual path to your config.toml
.http://localhost:9090
in your web browser.Congratulations! You have installed and configured Vigil on your macOS computer. You can now use it to monitor your system and receive notifications in case of any issues.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!