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

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
  • Submit Feedback
Plugins4406Themes and Skins13Add-ons760Graphics 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
Nagios XI Tutorials Changing the Cacti Admin Password
0.0 (0)
99.5K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Davide Lemma (3)Sam N (2)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
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.9K
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 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile