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
You must be logged in to post a comment.