This site is archived.
Skip to Content

Drupal Resource Monitoring

Your session in a few words: 
Open source tools to keep Drupal healthy.
Track: 
Code it, test it, deploy it
Session Type: 
Lecture
Level of expertise: 
Intermediate
Language: 
English

Want graphs generated for your Drupal related services: Apache, MySQL, Linux system, bandwidth, etc?
Need to receive a text message every 5 minutes if a site has failed?
Want to sleep better knowing your Drupal system is correctly backed up each night?
Need any of the above, but require open source solutions?

Cacti http://cacti.net/

  • Knowledge of how to utilize Cacti for generating graphs related to Drupal resources such as disk space, memory, CPU utilization, MySQL, Apache, bandwidth, and more.
  • Gain an understanding that resource monitoring is crucial and how to implement into existing systems.
  • Understand the advantages of developers and clients visually seeing issues in a system.
  • Ability to show hosting providers evidence that service guarantees are not being met.

*Demo Cacti @ http://drupalcampchicago.org/cacti user: public pass: public

Argus http://argus.tcp4me.com/
SMS Gateways http://en.wikipedia.org/wiki/SMS_gateway

  • Use Argus to monitor hardware and software at an interval of your choice via ping, SSH, MySQL, SNMP, oid, etc.
  • Utilize public email to SMS Gateways to receive text messages on your mobile phone when Drupal related services fail: http, https, MySQL, FTP, SSH, Linux System, etc.
  • Contact specific users via email and text message when a service fails. Messages are sent in repetition until issue is manually acknowledged.
  • Save Argus web interface shortcut link on your mobile phone. Actively monitor systems on the run.
  • Argus includes logs of up/down time. Show service providers official lengths of downtime.

mysqldump http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html
rsync http://www.samba.org/rsync/

  • 3 different types of backups to ALL be ran: daily, weekly, monthly
  • Daily: MySQL dump script & rsync
  • Weekly: rysnc with checksums
  • Monthly: makes copy of previous month then rysncs to that via checksums
  • Receive a daily backup log via email to ensure all backups were ran successfully.
  • Cacti can actively monitor ping response and transfer rates between backup sites. Know ahead of time exactly how long it takes to process a backup.

Resources
Session will not be too technical. Basic overview of tools to help people become familiar with these concepts.

Helpful, but not necessary to have basic Linux/LAMP skills.

Munin?

No Munin?

Re: SMS Gateway

We avoided using public email to SMS gateways for reasons of security and reliability. Got excellent results from a system called OutboxSMS (from Felltech Ltd), which converts the Drupal alert into a text message and sends it directly to the mobile network via a wireless link, and to our op guys' phones.

i was wondering if i could

i was wondering if i could join up by showcasing our project, which is a centralized drupal site monitoring service.