First off i would like to thank all the people putting i hard work for Cacti. I have been using it and recommending it to companies for as long as i can remember now.
I would like to ask if someone could help me on my latest venture with Cacti though. Currently i have a 0.8.6e install, using Cacitd-f1, and THOLD running no problems.
Im trying to upgrade from 0.8.6e to 0.8.6h, and Cacitd G. I have the luxury of having another machine to test on first. So the process i have used has been the following.
* - Installed the lasted Cacti and Cactid on new host machine.
* - Copied my current mysql CACTI database and imported it into the new mysql database. No issues.
* - Copied all my RRD files from the RRA directory into the new one.
* - Verifed permissions for RRA directory and LOG directory.
* Patch the new version of Cacti and Cactid.
When I fire up the web interface, Cacti asks me if i want to upgrade the database and i proceed through the install and upgrade without any issues.
At this point im able to login with the current passwords and see my graphs that were brought over from the existing Cacti Installation.
From this point, i have issues. In the simplest form, non of the RRD's are being updated/created.
When running Cactid i don’t see any issues, everything finished well. Here is an excerpt of a debug:
Code: Select all
CACTID: MYSQL: Connecting to MySQL database 'cacti' on 'localhost'...
CACTID: MYSQL: Connected to MySQL database 'cacti' on 'localhost'...
CACTID: DEBUG: MySQL Query ID '26': 'SELECT id, hostname,snmp_community,snmp_username,snmp_password,snmp_version,snmp_port,snmp_timeout,status,status_event_count,status_fail_date,status_rec_date,status_last_error,min_time,max_time,cur_time,avg_time,total_polls,failed_polls,availability FROM host WHERE id=71'
CACTID: DEBUG: MySQL Query ID '26': OK
CACTID: Host[70] DS[4017] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 3634613360
CACTID: Host[70] DS[4315] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, value: 2230304968
CACTID: Host[70] DS[14011] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.12, value: 3474462909
CACTID: Host[70] DS[14012] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[70] DS[14012] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, value: U
CACTID: Host[70] DS[14013] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[70] DS[14013] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, value: U
CACTID: Host[70] DS[14014] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[70] DS[14014] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, value: U
CACTID: Host[70] DS[14015] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[70] DS[14015] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, value: U
CACTID: Host[70] DS[14223] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, value: 83641342
CACTID: Host[70] DS[4018] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 1185
CACTID: Host[70] DS[4019] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, value: 1730135878
CACTID: Host[71] SNMP Result: Host responded to SNMP
CACTID: Host[70] DS[4313] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, value: 0
CACTID: DEBUG: MySQL Insert ID '2': 'update host set status='3',status_event_count='0', status_fail_date='2006-01-18 12:40:00',status_rec_date='2006-01-18 13:02:00',status_last_error='Host did not respond to SNMP',min_time='9.999990',max_time='277.333970',cur_time='248.054980',avg_time='100.037237',total_polls='61319',failed_polls='86',availability='99.8597' where id='71''
CACTID: Host[70] DS[4021] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, value: 3620953670
CACTID: Host[70] DS[4314] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[70] DS[4314] SNMP: v1: tor1rt05.routers.citco.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: U
CACTID: Host[70] DS[4316] SNMP: v1: tor1rt05.routers.citco.com, dsname: discards_in, oid: .1.3.6.1.2.1.2.2.1.13.1, value: 0
CACTID: Host[70] DS[14016] SNMP: v1: tor1rt05.routers.citco.com, dsname: discards_in, oid: .1.3.6.1.2.1.2.2.1.13.12, value: 0
CACTID: DEBUG: MySQL Insert ID '2': OK
Now as a test i created a NEW host on the upgraded/migrated Cacti install, and the RRD's are not being created. When deleting an existing host and specifying that the RRD's be deleted they are not.
Just to make sure this was not a Cactid issue, i tried using the PHP Poller. Same result.
To make sure that it was not an upgrade, or install/permissions problem. On the same machine, i followed the steps for installing Cacti like it was a fresh installation. No upgrade/migration, using the same Cactid binary.
At this point the RRD's are created with Cactid, and graphs are being created fine. So i know that its something with the upgrade that is causing the issues.
Is there anything that i can post here (output) that can help me determine why the RRD's are not being updated?
Thanks all in advance.