Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Joomla Version

Current Version
1.0.2
Last Release Date
2022-03-02
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
MIT
Hits
7555
Files:
FileDescription
check_joomlacheck_joomla
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
check_joomla is a nagios's plugin script to check joomla's version.

It is a work in progress and is tested against versions 2.* and 3.* of Joomla.

It requires PHP (at least 5.*) with curl extension (used to fetch last updates from the offial joomla update service).
Nagios Plugin: check_joomla
check_joomla is a nagios's plugin to check joomla's version.

It is a work in progress and is tested against version 3.* of Joomla.

How it works

Copy the check_joomla script in nagios's plugin folder (eg: /usr/lib/nagios/plugins/).
Change its mode chmod +x check_joomla
Update nrpe config file
Find the command's section
Add the line command[check_joomla]=/usr/lib/nagios/plugins/check_joomla
Change the to fit your needs
Restart nrpe service (sudo service nagios-nrpe-server restart)
Add the command to your service definition:
check_command check_nrpe!check_joomla
Requirements

This plugin requires that:

- you have installed a PHP interpreter
- the shebang is correctly handled from your system
- the SimpleXML extension is loaded and available
- (probably) that SimpleXML is able to access the internet and retrieve the update instractions from joomla

References

Joomla update: http://update.joomla.org/core/sts/list_sts.xml
Nagios: https://www.nagios.org/
Shebang: https://en.wikipedia.org/wiki/Shebang_(Unix)
SimpleXML: http://php.net/manual/en/book.simplexml.php