Ad Widget

Collapse

Monitor file changes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DrogasLT
    Junior Member
    • Sep 2022
    • 3

    #1

    Monitor file changes

    Hi guys,

    I'm having a trouble with having an idea of how to see if new file that is created on folder (it is created automatically every evening) is good or not.

    Click image for larger version

Name:	image.png
Views:	998
Size:	15.7 KB
ID:	451936
    Good files is: 125_...., 126_.... etc.
    Bad file is 0_.....

    And I need to see whenever a bad file creates in this folder. My idea is monitoring it by name or size. I don't know which would be easier..
    Bad file always weights 1kb and always starts with 0_ (TODAY DATE).zip.

    Can you guys help me resolve this ? Thanks.

    ​
  • Semiadmin
    Senior Member
    • Oct 2014
    • 1625

    #2
    Just count bad files via vfs.dir.count​ key.

    Comment

    • Rudlafik
      Senior Member
      • Nov 2018
      • 144

      #3
      On windows start audit on specific folder. New or changed file, files or event will be write to security log.Than you send this information from log to ZBX. Use zabix sender and PS script and windows scheduler. PS script serch new events in security log and than after parsing (reglar expresion) send to Zabbix by sender.
      stabile solution for 3 years.

      Comment

      Working...