You are here

README.txt in Monitoring 7

 CONTENTS OF THIS FILE
 =====================

 * Introduction
 * Features
 * Requirements
 * Installation

 INTRODUCTION
 ============

 This module provides an integration to Munin (http://munin-monitoring.org/),
 allowing to expose sensor data as munin graphs.

 REQUIREMENTS
 ============

 * PHP min version 5.3
 * Drupal xautoload module to utilise namespaces
 * Running Munin server

 INSTALLATION
 ============

 * Note that some of the instructions below are Debian based.

 * To retrieve sensor results Drush commands are being invoked. In case drush
   command is called by munin or nagios users it may result in problems due to
   permission issues. The solution is to alow th munin and nagios users to sudo
   as the www user. This can be done using visudo tool:

   %munin ALL =(ALL) NOPASSWD: /path/to/drush

   Then remember to prepend to each drush command you define during the
   configuration with "sudo -u your_www_user".

 On the monitored system the munin-node service needs to be installed and
 configured. It is responsible for collecting and passing the monitoring data
 to the Munin reporting tool.

 Simple steps for Debian (prerequisite - Munin system installed)

 * Install needed packages:
   # apt-get install munin-node

 * Update /etc/munin/munin-node.conf to allow your Munin server IP address:
   allow ^212\.25\.2\.101$

 * Install monitoring_munin module.

 * The Monitoring Munin Drupal module provides an example script to trigger
   the sensors at: admin/config/system/monitoring/munin/config. Copy the script
   and create an executable file at /etc/munin/plugins. Note that it is
   recommended to invoke drush command as the www user.

 * Restart munin-node service (Debian: # service munin-node restart).

 * Point your Munin server to the client system by a new host tree in the munin
   /etc/munin/munin.conf file.

File

modules/monitoring_munin/README.txt
View source
  1. CONTENTS OF THIS FILE
  2. =====================
  3. * Introduction
  4. * Features
  5. * Requirements
  6. * Installation
  7. INTRODUCTION
  8. ============
  9. This module provides an integration to Munin (http://munin-monitoring.org/),
  10. allowing to expose sensor data as munin graphs.
  11. REQUIREMENTS
  12. ============
  13. * PHP min version 5.3
  14. * Drupal xautoload module to utilise namespaces
  15. * Running Munin server
  16. INSTALLATION
  17. ============
  18. * Note that some of the instructions below are Debian based.
  19. * To retrieve sensor results Drush commands are being invoked. In case drush
  20. command is called by munin or nagios users it may result in problems due to
  21. permission issues. The solution is to alow th munin and nagios users to sudo
  22. as the www user. This can be done using visudo tool:
  23. %munin ALL =(ALL) NOPASSWD: /path/to/drush
  24. Then remember to prepend to each drush command you define during the
  25. configuration with "sudo -u your_www_user".
  26. On the monitored system the munin-node service needs to be installed and
  27. configured. It is responsible for collecting and passing the monitoring data
  28. to the Munin reporting tool.
  29. Simple steps for Debian (prerequisite - Munin system installed)
  30. * Install needed packages:
  31. # apt-get install munin-node
  32. * Update /etc/munin/munin-node.conf to allow your Munin server IP address:
  33. allow ^212\.25\.2\.101$
  34. * Install monitoring_munin module.
  35. * The Monitoring Munin Drupal module provides an example script to trigger
  36. the sensors at: admin/config/system/monitoring/munin/config. Copy the script
  37. and create an executable file at /etc/munin/plugins. Note that it is
  38. recommended to invoke drush command as the www user.
  39. * Restart munin-node service (Debian: # service munin-node restart).
  40. * Point your Munin server to the client system by a new host tree in the munin
  41. /etc/munin/munin.conf file.