Showing posts with label cacti. Show all posts
Showing posts with label cacti. Show all posts

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');

 


Friday, June 12, 2015

Cacti " ./syslog/syslog_incoming' is marked as crashed and should be repaired

Error:
[ERROR] /usr/libexec/mysqld: Table './syslog/syslog_incoming' is marked as crashed and should be repaired

Solution:
mysqlcheck --auto-repair --databases syslog
mysqlcheck --auto-repair --databases cacti

#mysqlcheck --auto-repair --databases syslog -u root -p
syslog.syslog
warning : 2 clients are using or haven't closed the table properly
status : OK
syslog.syslog_alert OK
syslog.syslog_incoming
warning : Table is marked as crashed
warning : 2 clients are using or haven't closed the table properly
error : Record at pos: 1062960 is not remove-marked
error : record delete-link-chain corrupted
error : Corrupt
syslog.syslog_remove OK

Repairing tables

source

Wednesday, January 14, 2015

Thursday, August 28, 2014

Monday, May 16, 2011