Project

General

Profile

Monitoring WordPress » History » Version 1

Jon Goldberg, 06/09/2017 03:08 PM

1 1 Jon Goldberg
{{last_updated_at}} by {{last_updated_by}}
2
# Monitoring WordPress
3
4
First, install the `wp-version.php` file in your webroot:
5
6
```bash
7
# cd /path/to/webroot
8
wget https://raw.githubusercontent.com/JMAConsulting/Nagios-WordPress-Update/master/wp-version.php
9
```
10
11
Edit `wp-version.php` to add the IP address of orange.megaphonetech.com
12
(currently: 173.255.234.245) to the `$allowed_ips[]` array.
13
14
Icinga2 Setup
15
-------------
16
17
Edit your hosts file to include:
18
19
```
20
vars.cms = "wordpress"
21
# This second line only if the site is HTTPS-enabled
22
vars.cms_use_ssl = true
23
```