Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2012-04-05 11:24:27 UTC (rev 8275)
+++ trunk/CHANGES 2012-04-05 11:26:09 UTC (rev 8276)
@@ -12,6 +12,7 @@
Opsview update plugin now returns WARNING if there is a local system issue reaching the downloads site
Consider dormant SNMP interfaces as UP (thanks to Robert von Bismarck)
Re-synchronised Runtime database schema by removing unnecessary indexes and fixing column definitions
+ Renamed RANCID module to Netaudit in modules table
FIXES:
Fixed error where perl compatibility links on slave systems were removed after a send2slave -p (plugins) or send2slaves -s (SNMP MIBs)
Fixed Solaris dependency due to package rename to opsview-perl
Modified: trunk/opsview-core/bin/db_opsview
===================================================================
--- trunk/opsview-core/bin/db_opsview 2012-04-05 11:24:27 UTC (rev 8275)
+++ trunk/opsview-core/bin/db_opsview 2012-04-05 11:26:09 UTC (rev 8276)
@@ -1141,7 +1141,7 @@
INSERT INTO schema_version (major_release, version) VALUES ('3.9', '27');
INSERT INTO schema_version (major_release, version) VALUES ('3.11', '15');
INSERT INTO schema_version (major_release, version) VALUES ('3.13', '11');
- INSERT INTO schema_version (major_release, version) VALUES ('3.15', '2');
+ INSERT INTO schema_version (major_release, version) VALUES ('3.15', '3');
EOF
Modified: trunk/opsview-core/installer/upgradedb_opsview.pl
===================================================================
--- trunk/opsview-core/installer/upgradedb_opsview.pl 2012-04-05 11:24:27 UTC (rev 8275)
+++ trunk/opsview-core/installer/upgradedb_opsview.pl 2012-04-05 11:26:09 UTC (rev 8276)
@@ -3342,6 +3342,12 @@
$db->updated;
}
+if ( $db->is_lower("3.15.3") ) {
+ $db->print("Renaming RANCID to Netaudit");
+ $dbh->do("UPDATE modules SET name='Netaudit', description='Opsview Netaudit' where namespace='com.opsview.modules.rancid'");
+ $db->updated;
+}
+
# PLACEHOLDER
# For future upgrade of Opsview Core where you cannot have an automatic Opsview reload
# We mark this upgrade lock file so that post installs do not generate an unactivated configuration
Modified: trunk/opsview-core/t/var/opsview.test.db
===================================================================
--- trunk/opsview-core/t/var/opsview.test.db 2012-04-05 11:24:27 UTC (rev 8275)
+++ trunk/opsview-core/t/var/opsview.test.db 2012-04-05 11:26:09 UTC (rev 8276)
@@ -1268,7 +1268,7 @@
INSERT INTO `modules` VALUES (4,'Reports','http://www.opsview.com/products/enterprise-modules/reports','Opsview Reports Module','REPORTUSER',1,500,'','com.opsview.modules.reports',0);
INSERT INTO `modules` VALUES (5,'Service Desk Connector','http://www.opsview.com/products/enterprise-modules/service-desk-connector','Opsview Service Desk Connector','ADMINACCESS',1,501,'','com.opsview.modules.servicedesk',0);
INSERT INTO `modules` VALUES (6,'SMS Messaging','http://www.opsview.com/products/enterprise-modules/sms-messaging','Opsview SMS Messaging','ADMINACCESS',1,502,'','com.opsview.modules.smsmessaging',0);
-INSERT INTO `modules` VALUES (7,'RANCID','http://www.opsview.com/products/enterprise-modules/rancid','Opsview RANCID','ADMINACCESS',1,503,'','com.opsview.modules.rancid',0);
+INSERT INTO `modules` VALUES (7,'Netaudit','http://www.opsview.com/products/enterprise-modules/rancid','Opsview Netaudit','ADMINACCESS',1,503,'','com.opsview.modules.rancid',0);
/*!40000 ALTER TABLE `modules` ENABLE KEYS */;
UNLOCK TABLES;
@@ -2026,7 +2026,7 @@
INSERT INTO `schema_version` VALUES ('3.9','27');
INSERT INTO `schema_version` VALUES ('3.11','15');
INSERT INTO `schema_version` VALUES ('3.13','11');
-INSERT INTO `schema_version` VALUES ('3.15','2');
+INSERT INTO `schema_version` VALUES ('3.15','3');
/*!40000 ALTER TABLE `schema_version` ENABLE KEYS */;
UNLOCK TABLES;