At the center of Monika is a configuration file. Follow the steps below to quickly setup monitoring and get notification when a website is down via Desktop notifications.
There are two ways to install Monika
If you're using NPM or Yarn, you can simply run this command in your terminal:
Download and run standalone binary
Head over to Monika Release page, download the Monika file according to your operating system, and rename it to
UNIX-based users may have to run
sudo chmod +x monika in order to execute Monika binary file. Please note that currently, only x64 architecture is supported.
In order to run Monika binary file, you must download the
node_sqlite3-<os>-<arch>.node file according to your OS, rename it to
node_sqlite3.node and put it in one folder with the Monika binary file.
Download the example configuration that uses Desktop notification here and rename it as monika.yml
Monika by default reads a yaml configuration file called
monika.yml in the current working directory if it exists. To run monika with the configuration file that you have downloaded before, run this command in the Terminal from the directory that contains the monika.yml file:
You can specify a path to a YAML configuration file with
-c flag if you didn't rename your configuration file as monika.yml, as follows
Better yet, you can provide a URL that contains monika configuration
Congratulations, you have successfully run Monika in your machine!
PT Artha Rajamas Mandiri (Hyperjump) is an open-source-first company providing engineering excellence service. We aim to build and commercialize open-source tools to help companies streamline, simplify, and secure the most important aspects of its modern DevOps practices.
Copyright © 2021 Hyperjump Tech. All Rights Reserved.