Tuesday, April 9, 2019

Cacti to view graphs over 500mpbs

Solutions : Used In/Out 64 bit counters in the poller.

Source : https://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software/


Issue : Graph history only for 1 one day

Solutions:

in graph_image.php and graph_json.php change the 1600000000 to 2600000000

/* override: graph start time (unix time) */
if (!isempty_request_var('graph_start') && get_request_var('graph_start') < 2600000000) {
        $graph_data_array['graph_start'] = get_request_var('graph_start');
}

/* override: graph end time (unix time) */
if (!isempty_request_var('graph_end') && get_request_var('graph_end') < 2600000000) {
        $graph_data_array['graph_end'] = get_request_var('graph_end');

 


Related Posts:

0 comments:

Post a Comment