Strange Error Dell

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, March 15, 2012

check_email_delivery and SMTP SSL

Posted on 2:35 AM by Unknown
For all of you who want/need/have to monitor an email server's performance or delay, there is a nice plugin for nagios out there written by Jonathan Buhacoff. It's not only a single plugin either, but a suite of scripts to check various smtp- and imap-related things.


I've set up a gmail account to send emails to my own email server to check its functions and - more importantly - to log its delay. I found out that there are problems with perl and Net::SMTP::TLS in Centos 5.7. Using SMTP::SSL worked fine. Jonathan's script check_email_delivery doesn't support sending mails via SSL however, although the underlying script does.

Here's a quick patch that adds a new parameter "--smtpssl" which enables sending emails via SSL.
31d30
< my $smtp_ssl = "";
86d84
<       "smtpssl!"=>\$smtp_ssl,
190d187
< $smtp_options .= "--ssl " if defined $smtp_ssl and $smtp_ssl;
Please bear in mind that this is a quick and dirty hack, and that I take no responsibility in any unwanted or ill effects whatsoever. Use purely on your own risk!
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in linux, nagios, perl, smtp, ssl | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • OpenMediaVault & XBMC
    I recently stumbled upon OpenMediaVault (OMV), a Linux distribution specific for NASes based on debian squeeze. It's inspired by FreeNas...
  • trac and HTML notifications
    Hacking Trac Of course I used a modified trac 0.10 before, so there were some features I wanted to keep. The most important one are HTML no...
  • iperf woes
    Yesterday I blogged about iperf, CentOS and monit . Well, it turns out it was a bit early to report success. Even with monit, iperf is inher...
  • Useless Facts Useless Facts ?
    Useless facts ? - useless facts Who knows, Dose useless facts that are both fun and interesting
  • CollabNet Subversion Edge 4.0 with SSPI WSGI and trac
    CollabNet released Subversion Edge 4.0 recently, as they've written here . As you know I've been using this to host our Subversi...
  • CentOS, iperf and monit
    I'm quite fond of FAN and so I have several CentOS-based Nagios systems to check various things. I recently needed to check the availab...
  • Installing Xenons/HIDs in a BMW E36 - DIY
    Blog Post & Fix moved to: HERE
  • XenServer and "The VDI is not available"
    I've been happily running XenServer for a few years now. Last week I encountered a weird issue with seemingly corrupted VDIs, which turn...
  • Queue Servicing Report Error - Windows Update KB953297
    Blog Post & Fix moved to: HERE
  • Oracle OMS Agent migration
    I've recently migrated a few Oracle databases to Enterprise Manager 12c . While this is worth a few posts on it's own, here's ju...

Categories

  • .net framework 1.1
  • .nk2
  • active directory
  • agent
  • angel eyes
  • apache
  • apple iphone
  • authentication
  • autocomplete
  • bandwidth
  • bash
  • BD390
  • bmw
  • bmw diy
  • c#
  • cab
  • can't add http network place fix
  • ccfl
  • CE
  • centos
  • cisco
  • citrix
  • collabnet
  • computers
  • configuration
  • corrupt user profile
  • debian
  • debug
  • dell
  • device
  • diff
  • django
  • dotnetfx
  • driver
  • e36
  • edge
  • embedded
  • FAN
  • firefly
  • fix
  • gregarius
  • hid/xenon
  • hid/xenon conversion
  • hooks
  • hot-plug
  • html notifications
  • http network place
  • import
  • intel
  • interface
  • internet
  • ios
  • iperf
  • iperf windows centos monit
  • iphone driver fix
  • ipmi
  • iscsi
  • java
  • jdk
  • KB2494113
  • kb953297
  • kerberos
  • linux
  • logitech
  • lost desktop
  • lost documents
  • lost icons
  • lost shortcuts
  • lost user files
  • microsoft
  • microsoft exchange
  • mod_auth_kerb
  • mod_auth_sspi
  • mod_authnz_sspi
  • mod_wsgi
  • monit
  • msvc
  • mtb usb driver
  • multipath
  • mysql
  • nagios
  • NAS
  • network
  • nickname cache
  • not installed
  • not successful
  • nslu2
  • ntlm
  • oem
  • oms
  • omsa
  • openmediavault
  • oracle
  • OTRS
  • outlook
  • outlook 2007
  • outlook 2010
  • patch
  • perl
  • preparing desktop
  • pygments
  • python
  • queue servicing report
  • rancid
  • regedit
  • registry
  • single sign on
  • slimserver
  • smtp
  • snmp
  • software
  • solution
  • sql
  • sql server
  • sqldeveloper
  • sqlite
  • squeeze
  • squeezebox
  • squeezecenter
  • ss4200
  • ssh
  • ssl
  • sspi
  • subversion
  • svn
  • trac
  • uclinux
  • updates
  • upgrade
  • upgrading
  • usb
  • user profile
  • visual studio 2008
  • web
  • webclient service
  • windows
  • windows 7
  • windows update
  • windows vista
  • windows xp
  • wireless
  • wizd
  • x64
  • xenserver

Blog Archive

  • ►  2013 (8)
    • ►  July (2)
    • ►  June (1)
    • ►  April (1)
    • ►  March (3)
    • ►  January (1)
  • ▼  2012 (8)
    • ►  December (2)
    • ►  September (1)
    • ►  May (1)
    • ▼  March (2)
      • check_email_delivery and SMTP SSL
      • Logitech Media Server & MySQL
    • ►  February (2)
  • ►  2011 (10)
    • ►  December (2)
    • ►  September (3)
    • ►  August (1)
    • ►  July (1)
    • ►  May (2)
    • ►  April (1)
  • ►  2010 (25)
    • ►  December (2)
    • ►  November (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (2)
    • ►  April (1)
    • ►  February (15)
    • ►  January (2)
  • ►  2009 (13)
    • ►  December (2)
    • ►  November (1)
    • ►  July (1)
    • ►  May (1)
    • ►  March (4)
    • ►  February (4)
  • ►  2008 (5)
    • ►  December (4)
    • ►  November (1)
Powered by Blogger.

About Me

Unknown
View my complete profile