Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For debugging reasons it could be useful to run the check manually. Therefore, you need to open the service site of the E-Mail service and search for 'Service check command'. Now you can use the command for executing the check manually.

Info

Image RemovedImage Added


Code Block
title~/lib/nagios/plugins
OMD[nagnis_master]:~/lib/nagios/plugins$ ./check_mail --pwstore=6@11@strato '--protocol=IMAP' '--server=imap.provider.de' '--ssl' '--port=993' '--username=mail@provider.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



The Event would look like this:

Info

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("email","check_mail_loop","emailloop") and type = "page" and space = "KB"
labelsemail emailloop check_mail_loop

...