mysql mount ran out of space... all graphs NAN now
Moderators: Developers, Moderators
mysql mount ran out of space... all graphs NAN now
Hi all,
My /var(mysql DB) mount ran out of available space causing cacti to fail for 2days straight. Since rectifying the space issue, the poller is no longer functioning correctly. I have rebuilt the poller cache twice but the 'cacti log' file isnt updating anymore and my graphs show NAN now.
The reason the mount ran out of space was due to the mysql option "log-bin" being enabled. I have since commented that line out of config file (/etc/my.cnf). Additionally, I zipped up my original apache log file. These are the only two changes I made on purpose other then the disk running out of space. I attached the bottom part of my cacti.log since it stopped updating. Please note the cronjob is still executing.
Done anyone know how to fix this?
Thanks,
maw
My /var(mysql DB) mount ran out of available space causing cacti to fail for 2days straight. Since rectifying the space issue, the poller is no longer functioning correctly. I have rebuilt the poller cache twice but the 'cacti log' file isnt updating anymore and my graphs show NAN now.
The reason the mount ran out of space was due to the mysql option "log-bin" being enabled. I have since commented that line out of config file (/etc/my.cnf). Additionally, I zipped up my original apache log file. These are the only two changes I made on purpose other then the disk running out of space. I attached the bottom part of my cacti.log since it stopped updating. Please note the cronjob is still executing.
Done anyone know how to fix this?
Thanks,
maw
- Attachments
-
- pic1.JPG (103.38 KiB) Viewed 3380 times
-
- SNAG-0295.jpg (56.93 KiB) Viewed 3384 times
-
- SNAG-0294.jpg (47.28 KiB) Viewed 3384 times
-
- cacti.log.txt
- (3.3 KiB) Downloaded 186 times
:: FreeBSD6.2 - Apache 1.3.37+mod_ssl - PHP 5.2.1 - MySQL 5.0 ::
I restarted my server and checked the cacti.log again. It has been updated with a barrage of SQL errors. eg:
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (340, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (340, 'hdd_total', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (339, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='3'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (339, 'hdd_total', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='3'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (338, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='2'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (340, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (340, 'hdd_total', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='5'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (339, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='3'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (339, 'hdd_total', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='3'"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id, rrd_name, time, output) values (338, 'hdd_used', '2007-03-26 23:55:20', '0')"
03/26/2007 11:55:21 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed "select field_value from host_snmp_cache where host_id=39 and field_name='hrStorageAllocationUnits' and snmp_index='2'"
:: FreeBSD6.2 - Apache 1.3.37+mod_ssl - PHP 5.2.1 - MySQL 5.0 ::
Try clearing the poller cache.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Yea. run:maw wrote:as in deleting everything in that table?
mysql -u root -p cacti
truncate table poller_output;
quit
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 3 guests