I’m attempting to use a ~4yr-old script that uses data Observium stores in the MySQL database, but the Observium schema has changed since then. First, the script attempts to use the “links” table, which is now called “neighbors” – this is an easy fix. Secondly, it uses the “ports-state” table, which was removed last may in updates/341.sql, with the matching SVN comments of “Remove bgpPeers-state and bgpPeers_cbgp-state” which doesn’t mean much to me.
Is the functionality of the “ports-state” table gone, and I should remove the corresponding functionality from this other script, or has it been refactored into something else, in which case I’ll need to refactor my script just as much?
(FYI: I’m trying to use https://github.com/kedare/observium_map_generator)
Thanks, -Adam
Adam Thompson Consultant, Infrastructure Services [Description: sig] 100 - 135 Innovation Drive Winnipeg, MB, R3T 6A8 (204) 977-6824 or 1-800-430-6404 (MB only) athompson@merlin.mb.camailto:athompson@merlin.mb.ca www.merlin.mb.cahttp://www.merlin.mb.ca/
all the -state tables got collapsed into their non-state equivalents, as far as I remember. So ports-state fields are now in ports again.
Tom
On 1/9/2019 10:50 PM, Adam Thompson via observium wrote:
I’m attempting to use a ~4yr-old script that uses data Observium stores in the MySQL database, but the Observium schema has changed since then.
First, the script attempts to use the “links” table, which is now called “neighbors” – this is an easy fix.
Secondly, it uses the “ports-state” table, which was removed last may in updates/341.sql, with the matching SVN comments of “Remove bgpPeers-state and bgpPeers_cbgp-state” which doesn’t mean much to me.
Is the functionality of the “ports-state” table gone, and I should remove the corresponding functionality from this other script, or has it been refactored into something else, in which case I’ll need to refactor my script just as much?
(FYI: I’m trying to use https://github.com/kedare/observium_map_generator https://github.com/kedare/observium_map_generator)
Thanks,
-Adam
*Adam Thompson*
Consultant, Infrastructure Services
Description: sig
100 - 135 Innovation Drive
Winnipeg, MB, R3T 6A8
(204) 977-6824 or 1-800-430-6404 (MB only)
athompson@merlin.mb.ca mailto:athompson@merlin.mb.ca
www.merlin.mb.ca http://www.merlin.mb.ca/
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (2)
-
Adam Thompson
-
Tom Laermans