Ad Widget

Collapse

Check for new files in a folder and then check inside the files for a defined string.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • J0nas
    Junior Member
    • Oct 2020
    • 2

    #1

    Check for new files in a folder and then check inside the files for a defined string.

    We're running a mail server under a Win10 VM which is saving all the emails in .mai format inside a folder. Every time we back up our servers we get an email with the Subject being either [Success], or [Failure]. Instead of these messages spamming my inbox, I want to send these status mails to a monitoring mail account, while Zabbix checks its local inbox folder and reacts depending on the subject of the mail. (Success, Failure)
    I was successful in checking the folder for new items using this guide, but after step 6 it fails to work, maybe because it was written for an old version. I'm using Zabbix 5.0.4.
Working...