Skip to content

Allows for monitoring whether an Joomla installation requires an update using Icinga2

Notifications You must be signed in to change notification settings

sgruber94/icinga2-joomla-update

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

icinga2-joomla-update

Allows for using Icinga to monitor whether a Joomla installation requires updates. I was looking for an Icinga plugin for monitoring our Joomla installations, but could not really find any plugins that matched our requirements. This repository is pretty much an extension of this blog post with the shell script and inspiration from Nagios-WordPress-Update.

Installation Instructions

  • Upload the joomla-version.php at the root of your Joomla installation
  • Adapt the $allowed_ips variable to fit your needs
  • Copy the check-joomla-update.sh to you nagios plugins folder
  • Create a service command template
  • Create a service check on your host

Command Template

define command {
	command_name    check_joomla_update
	command_line    $USER1$/check-joomla-update.sh $ARG1$
}

Service Check

define service {
	use                     generic-service
	host_name               example.com
	service_description     My Joomla Installation
	check_command           check_joomla_update!http://example.com/joomla-version.php
}

Inspired from Nagios-WordPress-Update and pregos blog.

About

Allows for monitoring whether an Joomla installation requires an update using Icinga2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 69.5%
  • Shell 30.5%