zmaudit.pl(8)
π 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/--interactiveis 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
- alpine 3.24: zoneminder-doc 1.38.1-r0 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms