move percentage colour mappings to function. make graphs for memory/storage match percentage colours (should we do this for others?)

git-svn-id: http://www.observium.org/svn/observer/trunk@2160 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-25 17:15:36 +00:00
parent e5fe2fb0ec
commit efd9d30ee7
18 changed files with 82 additions and 114 deletions
+1
View File
@@ -37,3 +37,4 @@ ALTER TABLE `mac_accounting` CHANGE `peer_mac` `mac` VARCHAR( 32 ) CHARACTER
ALTER TABLE `mac_accounting` DROP `peer_ip`, DROP `peer_desc`, DROP `peer_asn`;
UPDATE sensors SET sensor_class='frequency' WHERE sensor_class='freq';
ALTER TABLE `cef_switching` ADD `cef_switching_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;
ALTER TABLE `mempools` ADD `mempool_perc` INT NOT NULL AFTER `device_id`;