Ad Widget

Collapse

Need help installing a zabbix Agent on Windows Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sebsot
    Junior Member
    • Jan 2024
    • 1

    #1

    Need help installing a zabbix Agent on Windows Server

    Hi guys, im currently having troubles installing the zabbix 6.0.25 agent on a Windows Server. I want to install it by passing some parameters that are required in the msi installer.

    Im using this documentation as a reference: https://www.zabbix.com/documentation...ckages/win_msi

    The problem is i can't successfully install the msi package.

    Also, if one of you are familiar with Ansible, im trying to install it via Ansible. I tested installing it on cmd but couldn't get it. I'm using this module https://docs.ansible.com/ansible/2.9...ge_module.html

    I want to know if you could help me passing the right parameters so i can install the zabbix agent by cmd or Ansible if possible

    My code on ansible is
    • name: Zabbix
      hosts: test
      tasks:
      • name: Install Zabbix 6.0.25
        win_package:
        path: C:\path\to\zabbix\msi\installer.msi
        arguments:
        • /qn
        • LOGTYPE=file
        • LOGFILE=“C:/Zabbix/za.log”
        • SERVER=“servername”
        • LISTENPORT=10050
        • SERVERACTIVE=::1
        • HOSTNAME=localhost
        • TLSCONNECT=psk
        • TLSACCEPT=psk
        • TLSPSKIDENTITY=“identityname”
        • TLSPSKVALUE=“valuename”
        • TLSPSKFILE=“C:/Path/to/psk/key”
        • ENABLEPATH=1
        • INSTALLFOLDER=“C:/Zabbix/”

    I’m currently using ansible 2.7.7 and 3.7.3 python version.

    When i run it on ansible, it freezes when trying to install and wont do anything. And when i try to install via cmd i get the typical msi installer helper. I want to install it via Ansible or at least aknowledge what's the problem that i can't install it via cmd

    Thanks for helping
Working...