Skip to content

Nagios plugin to check for WordPress update on a remote server without NRPE

Notifications You must be signed in to change notification settings

jinjie/Nagios-WordPress-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nagios-WordPress-Update

A Nagios plugin to check for WordPress version updates on a remote server without the use of NRPE.

Nagios Exchange

How to use:

  • Upload wp-version.php to your WordPress root installation
  • Include the IP address of your Nagios installation in the script
  • Copy check_wp_update to your Nagios plugins folder. For me, it's on /usr/lib64/nagios/plugins
  • Create a service command template
  • Create a service check on your host

Command Template

define command{
        command_name    check_wp_update
        command_line    $USER1$/check_wp_update $ARG1$
        }

Service Check

define service{
        use                     generic-service
        host_name               example.com
        service_description     My WordPress Install
        check_command           check_wp_update!http://example.com/wp-version.php
        }

Inspired by check_wp_version by @hteske. Original here