Skip to content

Parses a Zetaback Violators Report and returns a list of hosts that need to be reviewed.

License

Notifications You must be signed in to change notification settings

ShepBook/zbv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbv-parser – The simple Zetaback Violator report parser.

By Jared Koumentis

What it does.

  • Takes input of a plain text file in the format of a Zetaback violator report.
  • Outputs only legit violators. (To allow you to focus on your work.)

Why it exists.

  • In my work, I have to review Zetaback violator reports. These are used to ensure our backups are up to date.
  • Any backup that is “stale”, that is older than 14 days, ends up in the report.
  • The objective is to allow you to use the report and determine what you should look at and ensure that your backups are working properly.
  • Unfortunately, the way it reports, it will not take into consideration that a Full backup is dependent on an Incremental that has not gone stale. However, it will still report the Full backup as “stale”.
  • These false positives suck and make my job harder. So, this exists to trim out these false positives.

How to use it.

  • Call the program like “$ ruby zbv-parser.rb ./zetaback-report”
  • It will then parse your log, finding actual violations, and output to your terminal with the actual violators.
  • Take care of the violators while enjoying the fact that you don’t have to attempt to manually parse through all the false positives.

Requirements.

  • Ruby ~> 1.9

License

  • MIT license. See LICENSE for details.

About

Parses a Zetaback Violators Report and returns a list of hosts that need to be reviewed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages