#MootIEUK16 – Monitoring your Moodle services with Nagios by Michael Aherne

June 1st, 2016

Michael Aherne, from University of Strathclyde had presented during the recently concluded MoodleMoot Ireland UK 2016 about Monitoring your Moodle services with Nagios.

Nagios is a free and open source computer-software application that provides monitoring and alerting services for servers, switches, applications and services. Check out the official Nagios website here for complete details.

Michael shared the key Moodle services which can be monitored by Nagios likeĀ infrastructure monitoring, CPU resources, Network protocols; and many things within Moodle like Cron Job schedule, Event queue etc. Check out the video recording of the presentation below:

Michael also shared the Nagios Moodle plugin shared through Github page here which can be used to simplify the monitoring of Moodle through Nagios. The plugin provides:

  • A simple API which allows plugins to implement “services” which can be monitored.
  • A Nagios plugin script (/cli/check_moodle) which communicates with the Moodle plugin to get service status into Nagios.
  • A couple of simple example services.

The plugin is intended for experienced systems administrators who are familiar with both Moodle and Nagios configuration! Please do not use it on production sites.

About University of Starthclyde: The University of Strathclyde is a Scottish public research university located in Glasgow, United Kingdom. Founded in 1796 as the Andersonian Institute, it is Glasgow’s second-oldest university.

How do you monitor your Moodle site? Have you ever used Nagios for monitoring your Moodle site? Do let us know in the comments below.