Email and Groupware

check_email_loop

Description:

A check plugin which sends emails via SMTP and expects them to arrive in a defined POP3 email account. Using an external mail forward this script enables you to assert basic functionality of sending & receiving emails.

Current Version

Last Release Date

June 18, 2009

Compatible With


Project Files
Project Notes
Hi guys! This is a plugin I wrote //centuries// ago. Meanwhile I do not administer any email servers any more but this plugin seemed to be so useful to other peoples that it found its way to the Nagios core plugin distribution. I'm very happy to be part of the great Nagios community :) I got notified that the plugin will be no longer part of the core plugin distribution. Hence I'm open for new maintainers of this plugin, to keep it alive and valueable. Any volunteers? Nevertheless I'll still trying my best to integrate the code improvement contributions I receive via email from the community into the current code base. So if you have a litte code change correction you feel it should find it's way into the public: just give me a short note. Please also check the user comments on this plugin as they might contain more current information. Have fun! //- Benjamin// --- Update 2009-02-03 v.1.3.2 Turn of annoying perl warning as users reported warning outputs about uninitalized vars --- Update 2008-09-28: v1.3.1 introduces a minor sanity check on using SMTP authentification Thanks goes to James! --- Update 2008-05-15: Just submitted v1.3. Another great code contribution from the users community. Now check_email_loop support SMTP Authentification. Thanks Johannes!
Reviews (3) Add a Review
New Upstream: https://github.com/setec/check-email-loop/
by blueshift, April 30, 2016

I lost control over this plugin exchange entry and claiming did not help. If you're interested in the latest "official" version or you have patches to contribute please open a merge request on my github repository. I'll try to review & integrate them on a best-effort basis. https://github.com/setec/check-email-loop/ - Benjamin



works great with some tweaking
by javieitez, March 31, 2013

Excellent monitor. In some modern email systems the message is rejected, maybe due to antispam policies or the message not being compliant with some standards. The SMTP data bulk (starts at line 381) needs to be polished to something like this: $smtp->data(); $smtp->datasend("To: $receiver "); $smtp->datasend("From: $sender "); $smtp->datasend("Subject: E-Mail Ping [$serial] "); $smtp->datasend("Content-Type: text/plain; charset=us-ascii; Content-Disposition: inline ". "This is an automatically sent E-Mail. ". "It is not intended for a human reader. ". "Serial No: $serial "); $smtp->dataend(); Once it includes the From field and the Content-Type tags it is accepted by al systems.



Good
by maxloi, August 31, 2012

"only" good, because the parameter "maxmsg" doesn't work, both using it into the script nor modifying the script itself (but in this last case, probably I'm not able to correct the script because I'm not good with perl).



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.7 (3)
Favorites
1
Views
108,692