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.0
Last Release Date
2021-08-19
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
MIT
Hits
4496
Files:
FileDescription
check_joomlacheck_joomla
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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