GithubHelp home page GithubHelp logo

check_joomla's Introduction

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 -p=<path_to_joomla>
    • Change the <path_to_joomla> 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's People

Contributors

lucasaba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.