Ad Widget

Collapse

Uninstall Windows Agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samwise
    Junior Member
    • Feb 2007
    • 19

    #1

    Uninstall Windows Agent

    Hello,
    I have zabbix in d:\program files\zabbix

    Installed with this command:
    d:
    cd d:\program files\Zabbix

    zabbix_agentd.exe --config "d:\program files\Zabbix\zabbix_agentd.conf" --install

    net start "Zabbix Agent"

    I'm trying to remove with this:

    zabbix_agentd.exe --config "d:\program files\Zabbix\zabbix_agentd.conf" --remove

    But I get:
    !!Attention Zabbix Agent Runned as console application Attention!!


    The service remains in whatever state it was in before.

    Thanks in advance.
    Sam
  • rolandsym
    Member
    • Jul 2007
    • 76

    #2
    syntax

    Unless its a custom windows agent there is no --remove option that I know of for the zabbix agent. it should be -d

    Below is the syntax...

    ZABBIX Agent Win32 (service) v1.4.4 (17 December 2007)

    usage: zabbix_agentd.exe [-Vhp] [-idsx] [-c <file>] [-t <metric>]

    Options:

    -c --config <file> Specify configuration file
    -h --help give this help
    -V --version display version number
    -p --print print supported metrics and exit
    -t --test <metric> test specified metric and exit

    Functions:

    -i --install install ZABIX agent as service
    -d --uninstall uninstall ZABIX agent from service
    -s --start start ZABIX agent service
    -x --stop stop ZABIX agent service

    Hope this helps,

    Rolandsym

    Comment


    • wilmerjbu
      wilmerjbu commented
      Editing a comment
      La mejor manera de desinstalar el agente Zabbix en windows es la siguiente:

      crear un archivo de procesamiento por lotes e ingresar las siguientes líneas:

      "The best way to uninstall the Zabbix agent on windows is as follows:

      create a batch file and enter the following lines:"


      ************************************************** ****************************************
      echo off
      rem detener el servicio
      "C:\Program Files\Zabbix Agent\zabbix_agentd.exe" -x -c "C:\Program Files\Zabbix Agent\zabbix_agentd.Conf"

      rem desinstalar el agente
      msiexec /uninstall c:\Users\wilme\Downloads\zabbix_agent-version.msi /qn
      ************************************************** ****************************************

      solo con esto es suficiente para una desinstalación completa del cliente Zabbix

      This alone is sufficient for a complete uninstallation of the Zabbix client.
  • ChicoJrChad
    Junior Member
    • Sep 2018
    • 2

    #3
    Does anyone have a powershell script to remove Zabbix from a windows machine as well as all the files associated with it in C:\temp location please?

    Comment

    Working...