Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_mail_system

Rating
5 votes
Favoured:
0
Hits
98346
Files:
FileDescription
check_mail_system.pycheck_mail_system.py
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin sends an email and then checks a pop3 account for this mail.
This plugin is written in python and does two things each time it runs :

1 - Sends an email containing an id to a specified address, and stores the id to a specified file.

2 - Checks a specified pop3 account to see if the previous message was received.

Usage :
--relay
--popserver
--popuser
--poppassword
--to
--from
--idfile
Reviews (3)
Nice simple checker but it likes to issue Warnings with (null) returned

The solution is to use own idfile for each instance or do "sed -i 's/idfile = a/idfile = a + popserver" on the file
The pluging is working great. I added ssl support, fixed the missing subject and date in the mail header and put some text to the body to get the mail through spamassassin. :)

download the patch from:

http://codeviewer.org/view/code:16b9
Strange thing : if I launch this plug-in from console, it works perfectly and says that message was delivered in 6 seconds.
But it nagios web interface itself, it is producing warning, like:
Notification Type: PROBLEM

Service: MXLoop test
Host: ********************-Loop-Test
Address: *****************
State: WARNING

Date/Time: Mon Feb 1 05:26:55 EST 2010

Additional Info:

(null)

What can be the reason?