diff options
| author | Paul Buetow <paul@buetow.org> | 2023-04-23 01:09:20 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-04-23 01:09:20 +0300 |
| commit | 82434c8738797115af79c3cc92bdb5e5ae02e78b (patch) | |
| tree | 05aeff362ce24bc980c197cea0c400ec8463e326 | |
| parent | c5b90e89693fb026e1090270bad03dffb12cadab (diff) | |
fix wording
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,7 +125,7 @@ To configure Gogios, create a JSON configuration file (e.g., `/etc/gogios.json`) * `StateDir`: Specifies the directory where Gogios stores its persistent state in a `state.json` file. * `Checks`: Defines a list of checks to be performed, with each check having a unique name, plugin path, and arguments. -Adjust the configuration file according to your needs, specifying the checks you want Gogios to perform. For remote checks, use the `check_nrpe` plugin. You also need to have the NRPE server set up correctly on the target host (out of scope of this document). +Adjust the configuration file according to your needs, specifying the checks you want Gogios to perform. For remote checks, use the `check_nrpe` plugin. You also need to have the NRPE server set up correctly on the target host (out of scope for this document). The `state.json` file mentioned above keeps track of the monitoring state and check results between Gogios runs, enabling Gogios to only send email notifications when there are changes in the check status. @@ -153,7 +153,7 @@ Gogios is now configured to run every five minutes from 8am to 10pm via CRON as To create a high-availability Gogios setup, you can install Gogios on two servers that will monitor each other using the NRPE (Nagios Remote Plugin Executor) plugin. By running Gogios in alternate cron intervals on both servers, you can ensure that even if one server goes down, the other will continue monitoring your infrastructure and sending notifications. * Install Gogios on both servers following the compilation and installation instructions provided earlier. -* Install the NRPE server (out of scope of this document) and plugin on both servers. This plugin allows you to execute Nagios check scripts on remote hosts. +* Install the NRPE server (out of scope for this document) and plugin on both servers. This plugin allows you to execute Nagios check scripts on remote hosts. * Configure Gogios on both servers to monitor each other using the NRPE plugin. Add a check to the Gogios configuration file (`/etc/gogios.json`) on both servers that uses the NRPE plugin to execute a check script on the other server. For example, if you have Server A and Server B, the configuration on Server A should include a check for Server B, and vice versa. * Set up alternate cron intervals on both servers. Configure the cron job on Server A to run Gogios at minutes 0, 10, 20, ..., and on Server B to run at minutes 5, 15, 25, ... This will ensure that if one server goes down, the other server will continue monitoring and sending notifications. |
