In case anyone else has this issue, the solution to the original question is to modify the OID values in the MySQL DB using the following SQL:
UPDATE data_input_data SET value = '[new_oid]' WHERE value = '[old_oid]';
For example:
UPDATE data_input_data SET value = '.1.3.6.1.4.1.15.15.1' WHERE value = '.1.3.6.1.4.1.9600.1.2.46.8.0';
Trigger a poller cache rebuild afterwards.
Ben
Problem with poller cache after OID change.
Moderators: Developers, Moderators
-
- Posts: 9
- Joined: Mon Sep 07, 2009 8:07 am
Re: template.tar.gz
Thanks TheWitness, works for me (:TheWitness wrote:Feedback anyone?
Re: Problem with poller cache after OID change.
I also have the exact same problem... I have to use webmin to open up poller_item database and manually correct my OID everytime I mess with the data source...
OID I am using: .1.3.6.1.4.1.9.9.392.1.3.22.1.2.12.82.101.109.111.116.101.79.102.102.105.99.101
it always gets the last 1 truncated and shows as:
.1.3.6.1.4.1.9.9.392.1.3.22.1.2.12.82.101.109.111.116.101.79.102.102.105.99.10
I will try the replacing the script provided by The Witness and see if it fixes
OID I am using: .1.3.6.1.4.1.9.9.392.1.3.22.1.2.12.82.101.109.111.116.101.79.102.102.105.99.101
it always gets the last 1 truncated and shows as:
.1.3.6.1.4.1.9.9.392.1.3.22.1.2.12.82.101.109.111.116.101.79.102.102.105.99.10
I will try the replacing the script provided by The Witness and see if it fixes
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Problem with poller cache after OID change.
Then please look at the data type of the column that was truncated. And please post your cacti version
R.
R.
Who is online
Users browsing this forum: No registered users and 0 guests