Ad Widget

Collapse

error in windows agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cheesewizz
    Junior Member
    • Sep 2007
    • 12

    #1

    error in windows agent

    hello

    when i execute this zabbix_agentd.exe -i it gives me an error like this
    zabbix_agentd.exe [4484]: cannot open config file [C:\zabbix_agentd.conf] [No file and Directory].

    but the file is already there...

    please anyone can help me


    thanks
  • 753713
    Senior Member
    • Apr 2006
    • 137

    #2
    execute this:
    zabbix_agentd.exe -i -c C:\zabbix_agentd.conf
    ______________________________
    Version : 2.0.x
    Server OS: Ubuntu 12.04
    Zabbix Servers: 12
    Monitored Windows Server: ~ 1000
    ______________________________

    Comment

    • cheesewizz
      Junior Member
      • Sep 2007
      • 12

      #3
      Originally posted by 753713
      execute this:
      zabbix_agentd.exe -i -c C:\zabbix_agentd.conf
      hello

      thanks for your reply but where can i find the zabbix_agentd.conf
      coz i downloaded the windows version only 3 files i extracted

      zabbix_agentd.exe
      zabbix_get.exe
      zabbix_sender.exe



      thanks

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        You can simply create zabbix_agentd.conf and place it in the root of C:

        Contents: ( items in <> is just for your info. delete them)

        Code:
        Server=xxx.xxx.xxx.xxx      <Your Zabbix server IP>
        LogFile=C:\zabbix\zabbix_agentd.log   <Whatever path you want the log to go to>
        DebugLevel=3                     <Normal debug level. for lots of info, change to 4>
        Hostname=xxxxxxxx         <Must be a unique name. I use the servername. Case sensitive>
        Note that the Hostname must be an exact match to what you enter in the Zabbix GUI for the host.

        Comment

        • cheesewizz
          Junior Member
          • Sep 2007
          • 12

          #5
          Originally posted by tchjts1
          You can simply create zabbix_agentd.conf and place it in the root of C:

          Contents: ( items in <> is just for your info. delete them)

          Code:
          Server=xxx.xxx.xxx.xxx      <Your Zabbix server IP>
          LogFile=C:\zabbix\zabbix_agentd.log   <Whatever path you want the log to go to>
          DebugLevel=3                     <Normal debug level. for lots of info, change to 4>
          Hostname=xxxxxxxx         <Must be a unique name. I use the servername. Case sensitive>
          Note that the Hostname must be an exact match to what you enter in the Zabbix GUI for the host.
          hello

          thanks for your reply, i followed your insctructions but in the server of zabbix did not detect my client...

          please help

          thanks

          Comment

          • tchjts1
            Senior Member
            • May 2008
            • 1605

            #6
            You need to do some basic troubleshooting.

            On your host, there is a log in the c:\zabbix directory

            On your server there is a log (depending on your setup) most likely in the /tmp/ directory.

            Comment

            Working...