Ad Widget

Collapse

zabbix_agent2 installation

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • hubertsvk
    Junior Member
    • Jul 2019
    • 15

    #1

    zabbix_agent2 installation

    Hello,
    can someone tells me what I'm doing wrong?
    Code:
    PS C:\Zabbix\bin> .\zabbix_agent2.exe --config C:\zabbix\conf\zabbix_agent2.conf --install
    zabbix_agent2 [2840]: 'Zabbix Agent 2' installed successfully
    PS C:\Zabbix\bin> .\zabbix_agent2.exe --start
    zabbix_agent2 [2356]: ERROR: cannot open configuration file: open C:\Zabbix\bin\zabbix_agent2.conf: The system cannot find the file specified.
    PS C:\Zabbix\bin>
    ... when I start zabbix services through services.msc it starts
  • Answer selected by hubertsvk at 08-07-2025, 13:45.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    Code:
    .\zabbix_agent2.exe --config C:\zabbix\conf\zabbix_agent2.conf --start
    Maybe?
    If you install service, it marks down config file location for service. But when you try to start from command line, you still need to point out config file... Otherwise it expects it to be in current directory, "C:\Zabbix\bin" in your case.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      Code:
      .\zabbix_agent2.exe --config C:\zabbix\conf\zabbix_agent2.conf --start
      Maybe?
      If you install service, it marks down config file location for service. But when you try to start from command line, you still need to point out config file... Otherwise it expects it to be in current directory, "C:\Zabbix\bin" in your case.

      Comment

      Working...