VMware Cloud Community
MadMe
Contributor
Contributor

How to delete a plugin?

I updated the sunx64 plugin so that it reads the correct values of my server. But for some reason it puts the coretemperature at the "axial fan blowerspeed" . And there is no seperate value for the coretemperatures.

Somehow the plugin is corrupt inside the HQ server, i removed all instances from the agent and the server and installed the new ones but no luck.
0 Kudos
2 Replies
mcmesser
Hot Shot
Hot Shot

BE VERY CAREFUL WITH THE FOLLOWING SQL

Currently the only way to really remove a plugin is via SQL. Please, be careful. One false move can be very destructive:

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';

DELETE FROM EAM_PLATFORM_SERVER_TYPE_MAP
WHERE SERVER_TYPE_ID IN (SELECT ID
FROM EAM_SERVER_TYPE
WHERE PLUGIN = 'pluginname');

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';
0 Kudos
excowboy
Virtuoso
Virtuoso

Hi,

I think you goal is not to remove the plugin, you goal is to have a running version of the plugin. I advise you to remove all instances of the plugin (resources) an start the plugin development from scratch while keeping in mind the following guidlines:
http://support.hyperic.com/display/hypcomm/Unofficial+Plugin+Development+FAQ

If you have a proper plugin, deploy it to your environment and overwrite the existing plugin.

Cheers,
Mirko
0 Kudos