#!/usr/bin/env php
Observium 24.8.13606 HouseKeeping
%n USAGE: housekeeping.php [-Vyaselrptdbu] [-A ] NOTE, by default housekeeping.php asks 'Are you sure want to delete (y/N)?'. To assume 'yes' as answer to all prompts and run non-interactively, add '-y' in command line. Not necessary when run from cron (determined automatically). OPTIONS: -V Show version and exit. -y Automatically answer 'yes' to prompts -a Maintain all modules as specified below. -s Clean up syslog -e Clean up event log -l Clean up alert log -u Clean up auth log -i Clean up inventory -r Clean up unused RRD files -p Clean up deleted ports -b Clean up stale database entries -A Specifies maximum age for all modules (overrides configuration) -f Force run Housekeeping on Poller ID other than 0 (main) DEBUGGING OPTIONS: -T Testing, not do any actions, only show counts. -d Enable debugging output. -dd More verbose debugging output. EXAMPLES: housekeeping.php -a Clean up by all modules interactively (with prompts!) housekeeping.php -ya Clean up by all modules without prompts %rInvalid arguments!%n