Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Joomla 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
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
Reviews (0)
Be the first to review this listing!