zmaudit.pl(8)

πŸ“¦
version 1.38.1 Β· 2 versions
, in alpine 3.24

πŸ’– zmaudit.pl(8) β€” the ZoneMinder consistency-checker bestie πŸ’–

okay so picture this: it's zmaudit.pl, it lives in section 8 of the zoneminder manual, and it is literally the friend who checks that your event filesystem and your database are still on speaking terms. she's giving group-chat mediator energy and honestly? she ate. πŸ’…


✨ SYNOPSIS ✨

zmaudit.pl [-r,-report|-i,-interactive]

that's it. that's the whole vibe. two modes, pick one. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the situation, bestie: this script checks for consistency between the event filesystem and the database. like, it compares them. it makes sure they match. no cap.

and if events are found in one and not the other? they get deleted β€” optionally, okay, don't panic, there's a flag for that (hi --report, we love you). πŸ™ˆ

additionally, any monitor event directories that don't correspond to a database monitor are similarly disposed of. same energy. bye-bye, orphan directory. πŸ’€

however β€” and this is the important part, lowkey β€” monitors in the database that don't have a directory are left alone, because that's actually valid if they're newly created and have no events yet. so don't come for them, they're just baby monitors with no content yet. 🍼✨


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, exactly as she comes, no edits. periodt.

  • -c, --continuous β€” run continuously. like, she doesn't stop. she just keeps going. πŸ”₯
  • -f, --force β€” run even if the pid file exists. stubborn queen behavior, we respect it. πŸ’ͺ
  • -i, --interactive β€” ask before applying any changes. consent matters!! 🫢
  • -m, --monitor_id β€” only consider the given monitor. tunnel vision, but make it intentional. 🎯
  • -r, --report β€” just report, don't actually do anything. all talk, no action, and honestly? iconic. πŸ“‹
  • -s, --storage_id β€” specify a storage area to audit instead of all. narrowing the scope, we love a focused girly. πŸ—‚οΈ
  • -v, --version β€” print the installed version of ZoneMinder. the classic "who even am I" flag. 🌈
⚠️ real talk: -i/--interactive is your bestie here. if you're not 100% sure what she's about to delete, ask her first. she will absolutely tell you. the alternative is finding out later. 😭

and that's the whole page, bestie β€” you're officially caught up. πŸ§šπŸ’œ

🌸 sign-off time: this little transmission came from zoneminder land, dated 2026-03-04, and yeah, the footer trails --stderr behind it like a little sparkle ✨ β€” mwah, go audit something. 🌸

πŸ“¦ where this page comes from