#!/usr/bin/env php 0) { $rrds_processed = $rrds_processed + process_poller_output($rrdtool_pipe); } print "There were $rrds_processed RRD updates made this pass" . PHP_EOL; rrd_close($rrdtool_pipe); /** * display_version - displays version information * * @return void */ function display_version() : void { $version = get_cacti_cli_version(); print "Cacti Process Poller Output Utility, Version $version, " . COPYRIGHT_YEARS . PHP_EOL; } /** * display_help - displays the usage of the function * * @return void */ function display_help() : void { display_version(); print PHP_EOL; print 'usage: poller_output_empty.php' . PHP_EOL . PHP_EOL; print 'A utility to process the poller output table. This tool is deprecated but should work.' . PHP_EOL; }