Ad Widget

Collapse

Notify me if file gets created

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alacerda
    Junior Member
    • Jul 2016
    • 1

    #1

    Notify me if file gets created

    Hi all,

    The office where I work has created a bash script that pulls a list of domain names that we support and then runs a MX record check to see if all of the domains on the list are being compliant.

    This script will run every 24h.

    If any of the domain names on the list has a different MX record from the one we have given to it, our script will create a file with the name "mx-record-changed.txt" with the information inside.

    My question is, how can I have zabbix notify our IT team whenever this file is created?

    Thanks in advance,
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    vfs.file.exists[file]

    Comment

    Working...