Project

General

Profile

Actions

Monitoring WordPress » History » Revision 1

Revision 1/2 | Next »
Jon Goldberg, 06/09/2017 03:08 PM


{{last_updated_at}} by {{last_updated_by}}

Monitoring WordPress

First, install the wp-version.php file in your webroot:

# cd /path/to/webroot
wget https://raw.githubusercontent.com/JMAConsulting/Nagios-WordPress-Update/master/wp-version.php

Edit wp-version.php to add the IP address of orange.megaphonetech.com
(currently: 173.255.234.245) to the $allowed_ips[] array.

Icinga2 Setup

Edit your hosts file to include:

vars.cms = "wordpress"
# This second line only if the site is HTTPS-enabled
vars.cms_use_ssl = true

Updated by Jon Goldberg almost 7 years ago · 1 revisions