0) { poll_cache_oids($device, 'counter', $oid_cache); global $table_rows; $table_rows = []; global $multi_update_db; $multi_update_db = []; poll_counter($device, $oid_cache); if (count($multi_update_db)) { print_debug("MultiUpdate counter DB."); // Multiupdate required all UNIQUE keys! dbUpdateMulti($multi_update_db, 'counters'); } $headers = ['%WDescr%n', '%WClass%n', '%WMIB::Oid.Index%n', '%WValue%n', '%WRate%n', '%WStatus%n', '%WLast Changed%n', '%WOrigin%n']; print_cli_table($table_rows, $headers); } // EOF