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 |
For a detailed log you can use --debug at the end of the command: Code Block |
---|
OMD[nagnis_master]:~$ ~/lib/nagios/plugins/check_mail --pwstore=6@11@strato '--protocol=IMAP' '--server=imap.stratoprovider.de' '--ssl' '--port=993' '--username=mail@anastasios-thomaidismail@provider.de' '--password=*************' '--forward-ec' '--forward-method=spool:' '--match-subject=Checkmk EC' '--forward-facility=2' '--forward-host=localhost' '--cleanup=delete' --debug |
For more information you can use --help Code Block |
---|
~/lib/nagios/plugins/check_mail -h |
|