Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons755Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Presentations Nagios: Presentation you can adapt to sell the software to upper management
0.0 (0)
97.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)Davide Lemma (4)deskwork_itunes142 (4)Chad Columbus (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > dcodix
d

dcodix

@dcodix

User Stats

Member Since: September 6, 2012

Favorites0

Views821

Projects1

check_pop3
IMAP4 and POP3
check_pop3
Python writen to test pop3. Similar to check_imap_login.txt but a pop3 version.
0.0 (0)
57.7K
0
dcodix
GPL
check_imap_login Plugin

Small modification

Works OK for me,... What I saw is that in case the imap server goes down, the check breaks and returns a lot of garbage and exits with "1" (warning). The same happens in case the port is not up. I made a small modification: --- 1/check_imap 2012-09-06 13:53:44.760047791 +0200 +++ 2/check_imap 2012-09-06 13:54:08.590047801 +0200 @@ -43,9 +43,17 @@ return 1 if use_ssl: - M = imaplib.IMAP4_SSL(host=host) + try: + M = imaplib.IMAP4_SSL(host=host) + except Exception, e: + print "CRITICAL: IMAP connection not Successful: %s" % e + sys.exit(2) else: - M = imaplib.IMAP4(host) + try: + M = imaplib.IMAP4(host) + except Exception, e: + print "CRITICAL: IMAP connection not Successful: %s" % e + sys.exit(2) try: M.login(user, password) Thanks for the check!

Reviewed 13 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile