Ad Widget

Collapse

File deletion monitoring with windows eventlog

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hobarey
    Junior Member
    • Dec 2014
    • 1

    #1

    File deletion monitoring with windows eventlog

    Hi Guys,

    I am trying to set up a trigger that would fire whenever a file (any file) is deleted from a server.

    I currently have this:
    ({File deletion monitoring:eventlog[Security,,,,,,skip].logeventid(560|564)}=1)&({File deletion monitoring:eventlog[Security,,,,,,skip].str(Object Deleted)}=1)

    This works fine when it comes to firing a trigger whenever a file is deleted but {ITEM.LASTVALUE} or any other values contain only the value of Event ID 564 which does not contain any information about the deleted file (filename, who deleted etc.) As you may know this information is in a seperate Event ID 560. The only way to identify which Event ID 560 corresponds to which Event 564 is to check Handle IDs. They will be the same in both.

    How do I change the trigger so that the users will get the contents of the Event ID 560 but not Event ID 64, which is useless because it does not contain any information about the deleted file.

    Thanks in advance.
  • smithej
    Junior Member
    • Apr 2015
    • 1

    #2
    File deletion tracking

    I have a very similar question.. I'd like to use Zabbix 2.4 to track file deletions on windows 2008R2/2012R2 and, while we can track these down, I'd like to make it a lot easier to do.

    I'm not finding any great ideas searching around the forum/web.

    Any pointers are appreciated.

    Originally posted by hobarey
    Hi Guys,

    I am trying to set up a trigger that would fire whenever a file (any file) is deleted from a server.

    I currently have this:
    ({File deletion monitoring:eventlog[Security,,,,,,skip].logeventid(560|564)}=1)&({File deletion monitoring:eventlog[Security,,,,,,skip].str(Object Deleted)}=1)

    This works fine when it comes to firing a trigger whenever a file is deleted but {ITEM.LASTVALUE} or any other values contain only the value of Event ID 564 which does not contain any information about the deleted file (filename, who deleted etc.) As you may know this information is in a seperate Event ID 560. The only way to identify which Event ID 560 corresponds to which Event 564 is to check Handle IDs. They will be the same in both.

    How do I change the trigger so that the users will get the contents of the Event ID 560 but not Event ID 64, which is useless because it does not contain any information about the deleted file.

    Thanks in advance.

    Comment

    Working...