Go to All Forums

Remove Apache plugin

Hi all

I needed to remove the Apache plugin from a server.

I deleted the apache.py file from /opt/site24x7/monagent/plugins/apache/, and even deleted the /apache/ directory. Restarted the server agent.

However the plugin still appears under the server monitors Inventory list with error: "Exception in _parse stats'ascii' codec can't encode characters in position 74-80: ordinal not in range(128)".

What step have I missed?

 

 

 
Like (2) Reply
Replies (4)

Re: Remove Apache plugin

Hi Scott,

Please remove the file /opt/site24x7/monagent/conf/pl_id_mapper and restart the server agent. It will remove all the references to the plugin.

 

Regards,

Anita

Like (0) Reply

Re: Re: Remove Apache plugin

Hi Anita, thanks for the reply.

 

Would deleting the pl_id_mapper not also break the other plugins that I'm using on the server?

 

I read the file and it references mysql.py, wordpress.sh, check_updates.py. But not apache.py

 

 
Like (0) Reply

Re: Re: Re: Remove Apache plugin

Hi Scott

Deleting the pl_id_mapper file will make the plugin to reregister to Site24x7 server. In most cases, it will not affect the plugin. But when there are multiple plugin versions available in the account across different servers, and the plugin version of the current plugin is less than the higher version of plugin available, it will not register and will ask you to increment the plugin version for the data collection to happen.

If you don't want to face that case, please remove only the key and the value object for the plugin you need to remove. And make sure you don't change anything else in that file.

After the agent restart, only the available plugins will be sent to client. Hope this helps. Let us know for further queries, if any, in the below thread.

 

Regards,

Anita

Like (0) Reply

Re: Re: Re: Re: Remove Apache plugin

Thanks for the explanation.

Deleted the file and restarted the server agent. Everything is working ok.

Thanks for the support.

Like (1) Reply

Was this post helpful?