\n"; print " " . __('Summary Details') . " " . __('Download') . " \n"; print " " . __('Title') . " " . html_escape($xport_array['meta']['title_cache']) . " \n"; print " " . __('Vertical Label') . " " . html_escape($xport_array['meta']['vertical_label']) . " \n"; print " " . __('Start Date') . " " . date('Y-m-d H:i:s', $xport_array['meta']['start']) . " \n"; print " " . __('End Date') . " " . date('Y-m-d H:i:s', ($xport_array['meta']['end'] == $xport_array['meta']['start']) ? $xport_array['meta']['start'] + $xport_array['meta']['step'] * ($xport_array['meta']['rows'] - 1) : $xport_array['meta']['end']) . " \n"; print " " . __('Step') . " " . $xport_array['meta']['step'] . " \n"; print " " . __('Total Rows') . " " . $xport_array['meta']['rows'] . " \n"; print " " . __('Graph ID') . " " . $xport_array['meta']['local_graph_id'] . " \n"; print " " . __('Host ID') . " " . $xport_array['meta']['host_id'] . " \n"; $class = 'even'; if (isset($xport_meta['NthPercentile'])) { foreach ($xport_meta['NthPercentile'] as $item) { if ($class == 'even') { $class = 'odd'; } else { $class = 'even'; } print " " . __('Nth Percentile') . ' [ ' . html_escape($item['format']) . " ] " . html_escape($item['value']) . " \n"; } } if (isset($xport_meta['Summation'])) { foreach ($xport_meta['Summation'] as $item) { if ($class == 'even') { $class = 'odd'; } else { $class = 'even'; } print " " . __('Summation') . ' [ ' . html_escape($item['format']) . " ] " . html_escape($item['value']) . " \n"; } } print "
\n"; print "
\n"; print "\n"; } } /* log the memory usage */ cacti_log("The Peak Graph XPORT Memory Usage was '" . memory_get_peak_usage() . "'", false, 'WEBUI', POLLER_VERBOSITY_MEDIUM);