Skip to content

Uninstallation guide

1. How to uninstall mfsysmon module

To uninstall mfsysmon metwork module, use the following command (as root user):

service metwork stop mfsysmon

yum remove "metwork-mfsysmon*"
service metwork stop mfsysmon

urpme "metwork-mfsysmon*"
service metwork stop mfsysmon

zypper remove "metwork-mfsysmon*"

2. How to uninstall all metwork modules

To uninstall all metwork modules, use following root commands:

# We stop metwork services (see note below)
service metwork stop

# we remove metwork modules
yum remove "metwork-*"
# We stop metwork services (see note below)
service metwork stop

# we remove metwork modules
urpme "metwork-*"
# We stop metwork services (see note below)
service metwork stop

# we remove metwork modules
zypper remove "metwork-*"

Note

If your distribution does not provide service command, you can use systemctl stop metwork.service instead or /etc/rc.d/init.d/metwork stop (if you don't have a systemd enabled machine or container).

Warning

When you remove a module, the corresponding home directory will be deleted. For example, if you remove mfbase module, the /home/mfbase directory will be dropped. To avoid losing some work, the removal process will make a backup directoy in /home/mfbase.rpmsave{date} (without the content of log and tmp subdir). If you really want to clean all metwork stuff on this machine, you can also drop these backup directories. Same idea for /etc/metwork.config.d/{module}.