Menu

#1117 [HHQ-1747] Request to automate plugin removal including DB p

Bug
open
None
1
2012-10-09
2008-04-02
No

http://jira.hyperic.com/browse/HHQ-1747
Currently the plugin can be deleted from disk or excluded on the agent side with agent.properties


plugins.exclude=mysql.




You can then run some sql to remove the plugin information in the DB.



   delete from eam_measurement where template_id in (select id from eam_measurement_templ where


   plugin = '<pluginName');


   delete from eam_measurement_templ where plugin = '<pluginName>';



If you want to remove the resource types as well, run the following SQL (only if you make sure to not have any resources of the types defined by the plugin):



   delete from eam_service_type where plugin = <pluginName>;


   delete from eam_server_type where plugin = <pluginName>;


   delete from eam_platform_type where plugin = <pluginName>;


   delete from eam_plugin where name = <pluginName>;




This case is opened as a Request for Enhancement to have all these steps automated within HQ.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.