SMTP
- check SMTP server with check_smtp_send
- send an email message and then check that it was received (check email delivery loop)
- custom headers
- custom body message using Nagios variables or output of other program using stdin
- SSL and SASL support via Net::SMTP::SSL and Authen::SASL
- TLS support via Net::SMTP::TLS
- CRAM-MD5 and more via Net::SMTP_auth
- select CRAM-MD5, LOGIN, or PLAIN authentication even when using TLS
- advanced variable substitution for headers and body of message
IMAP
- check IMAP server for messages with check_imap_receive
- check IMAP server too few or too many messages with check_imap_receive
- select which mailbox to check (defaults to INBOX)
- use IMAP search feature to select only relevant messages
- capture-max option enables you to compare selected emails and find the highest integer value of interest in them using a regular expression; this value is reported in plugin's output
- keep or delete messages in search results
- delete selected messages except the one with the highest value found by capture-max
- plugin output reports elapsed time, number of emails found, value captured (if applicable), and number of emails deleted
- performance data
- SSL support via IO::Socket::SSL
- search for a specific message in any mailbox via any IMAP SEARCH criteria
- advanced variable substitution for search parameters
Email Delivery Loop
- use other plugins in your loop, not just SMTP and IMAP, with the --plugin option
- create longer loops composed of multiple plugins with the --plugin option
- uses separate plugins for email sending and receiving, so you could use alternative plugins to do this work
- does not use any additional database to keep track of which emails were sent or received... out of the box it stamps sent emails with time sent and it uses the capture-max option of the imap plugin to find the most recent email received, and applies threshold to this difference
- save status into a tab-delimited file to help with running statistics on email delivery loop (--file)
Have an idea for a new feature? Please send it by email: jonathan@buhacoff.net