Welcome to It-Slav.Net blog
Peter Andersson
peter@it-slav.net

I've already got a female to worry about. Her name is the Enterprise.
-- Kirk, "The Corbomite Maneuver", stardate 1514.0

If you want to test that your Email system is working as supposed with op5 Monitor or Nagios, i.e. send and recieve emails. I recommend Email Delivery.

Features:

  • SMTP
  • TLS SMTP
  • IMAP
  • IMAPS
  • and much more…

It simply creates an email and send it through an email system and check that the message is delivered. The time is mesured and reported.

If you want to test it through an external emailsystem it is possible to use Gmail. E.g. set <mytestuser>@gmail.com as the receiver of the mail, create <mytestuser> at Gmail and configure forward to <myuser>@my.domain, and let email delivery pick up the email.

I have created the following map to nagios graph to graph the output data:

#Gjort av peter@it-slav.net
#/opt/monitor/op5/nagiosgraph/map_custom/email_delivery.map
# Service type: email delivery
#   output: EMAIL DELIVERY OK - 8 seconds, 8 delay
#   perfdata:
/output:.+?(\d+) seconds, (\d+) delay/
and push @s, [ Email_delivery,
               [ "delivery", GAUGE, $1 ],
               [ "delay", GAUGE, $2 ] ];

Leave a Reply





Book reviews
FreePBX 2.5
Powerful Telephony Solutions






Asterisk 1.6
Build a feature rich telephony system with Asterisk






Learning NAGIOS 3.0





Cacti 0.8 Network Monitoring,
Monitor your network with ease!