Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

Mail

Send munin alert email


This script converts Munin alerts into email using ruby

Munin.conf configuration

Put this script[mail] somewhere on your Munin master and make it executable. Then add it as a contact in your Munin configuration like so:

  contact.mail.command  | [script] [script]
  contact.mail.always_send warning critical
  
  # a simple host tree
  [localhost.localdomain]
      address 127.0.0.1
      use_node_name yes
      redis_memory_.memory.warning 800000 #redis memory example
      cpu.system.warning 80 # cpu system warning
      cpu.user.warning 50 # cpu user warning

Replace [script] with the full path to this mail script(yes, it supposed to be there twice).

sudo service munin-node restart

About

Send munin alert to email

Resources

Releases

No releases published
You can’t perform that action at this time.