Jaa


Manually Uninstalling Agents from UNIX and Linux Computers

 

Updated: May 13, 2016

Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager

There are three ways to uninstall the UNIX and Linux management packs and agents.

  1. Delete selected UNIX or Linux system management packs from the Operations Manager Operations Console.

  2. Delete an agent from Operations Manager, and uninstall the agent from the monitored computer. It will be uninstalled first from the UNIX or Linux computer.

  3. Delete the agent from Operations Manager without uninstalling it on the UNIX or Linux host.

Use the following procedures to uninstall agents.

To delete an agent with the UNIX Linux Agent Uninstall Wizard

After the UNIX or Linux computer has been deleted from the list of monitored computers, you must log on to the monitored computer and manually uninstall the agent. Use the following procedures to manually uninstall agents from UNIX and Linux computers.

To uninstall the agent from Red Hat enterprise Linux and SUSE Linux enterprise servers

  1. Log on as the root user, and uninstall the agent by typing

    rpm –e scx

  2. To verify that the package is uninstalled, type

    rpm –q scx

To uninstall the agent from RPM based Universal Linux servers (Oracle and Centos)

  1. Log on as the root user, and uninstall the agent by typing

    rpm –e scx

  2. To verify that the package is uninstalled, type

    rpm –q scx

To uninstall the agent from DEB based Universal Linux servers (Debian and Ubuntu)

  1. Log on as the root user, and uninstall the agent by typing

    dpkg –P scx

  2. To verify that the package is uninstalled, type

    dpkg –l scx

To uninstall the agent from Solaris computers

  1. Log on as the root user, and uninstall the agent by typing

    pkgrm MSFTscx

  2. To verify that the package is uninstalled, type

    pkginfo –I MSFTscx

To uninstall the agent from HP-UX

  1. Log on as the root user, and uninstall the agent by typing

    swremove scx

  2. To verify that the package is uninstalled, type

    swlist scx

To uninstall the agent from IBM AIX

  1. Log on as the root user, and uninstall the agent by typing

    installp –u scx

  2. To verify that the package is uninstalled, type

    lslpp –L scx.rte