Search code examples
emailpluginsnagios

Plugin to check mail loop


I'm trying to figure if there's already a plugin for Nagios which does the following:

  • Sending an email from a mailbox A to a mailbox B, these mailboxes are on different mail servers.
  • The mailbox B is configured on auto-answering received emails, so it sends an automatic answer to mailbox A
  • Checking if mailbox A got an answer.

Solution

  • Please check check_email_age plugin. It looks for the oldest email in the account, this can be quite easly amended to look for the newest email with a specific subject.