Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

The basic function of this check is to log in into an IMAP or POP3 mailbox to monitor whether or not the login is possible. A extended feature is, that the check can fetch all (or just some) from the mailbox and forward them as events to the Event Console.

Step-by-step guide

  1. WATO - CONFIGURATION → Host & Service Parameters → Active checks → Check Email
  2. CHECK EMAIL

    1. Service description

    2. Mail Receiving




~/var/log/mkeventd.log
2020-12-07 12:51:18,078 [20] [cmk.mkeventd.EventServer] Processing message '<21>Dec 7 12:51:17 localhost Checkmk EC: Checkmk EC|Email to EC of Checkmk!'

2020-12-07 12:51:18,079 [20] [cmk.mkeventd.EventServer] Parsed message:

application: Checkmk EC

core_host:

facility: 2

host: localhost

host_in_downtime: False

ipaddress:

pid: 0

priority: 5

text: Checkmk EC|Email to EC of Checkmk!

time: 1607341877.0

Error rendering macro 'code': Invalid value specified for parameter 'firstline'
OMD[nagnis_master]:~/lib/nagios/plugins$ ./check_mail --pwstore=6@11@strato '--protocol=IMAP' '--server=imap.strato.de' '--ssl' '--port=993' '--username=mail@anastasios-thomaidis.de' '--password=*************' '--forward-ec' '--forward-method=spool:' '--match-subject=Checkmk EC' '--forward-facility=2' '--forward-host=localhost' '--cleanup=delete'
OK - Forwarded 0 messages to event console | messages=0


Filter by label

There are no items with the selected labels at this time.



  • No labels