Ad Widget

Collapse

Add client to Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jonathanb
    Junior Member
    • Sep 2011
    • 10

    #1

    Add client to Zabbix

    Hello everyone,

    This is probably a simple thing, but when I searched for this it didn't gave me the correct answers. To install Zabbix onto Debian Squeeze I followed this walkthrough (http://sigign.blogspot.com/2011/05/i...n-squeeze.html), but unfortunataly it didn't gave me any directions to add a Windows client to Zabbix. I have a Windows 7 32bit test client. I downloaded from http://www.zabbix.com/download.php the Pre-compiled Zabbix 1.8.5 (stable) agent for Windows all. In extracted it and I had three files called zabbix_agentd.exe, zabbix_get.exe and zabbix_sender.exe. When I open these exe files they give me a cmd screen for a second and then it disappears.

    My question is how I can add the Windows 7 client to Zabbix and let it monitor the client. My knowledge about Linux is very limited.

    Hopefully someone can help me out here or send me in the right direction.

    ---
    Jonathanb
  • Rudd
    Member
    • Mar 2011
    • 69

    #2
    Hi Jonathanb,

    The Zabbix client runs as a windows service. You can install the service if you run the following from a cmd prompt in the directory where you unpacked the files.

    zabbix_agentd.exe -c "C:\Program Files\Zabbix\zabbix_agentd.conf" -i

    The above obviously assumes you put the files in "C:\Program Files\Zabbix" and have a zabbix_agentd.conf.

    After that you can manage the service from Windows or the command line.

    Run each of the commands with the parameter "--help" for additional information.

    Also have a look at: http://www.zabbix.com/documentation/...bix_agentd_win

    hth,

    Comment

    • Jonathanb
      Junior Member
      • Sep 2011
      • 10

      #3
      Hell Rudd and thank you for your reply.

      I have done as you said, but the agent doesn't want to start when I start the zabbix service. I also heard that you need a "Hostname=hostname-here" in your config file to let it work whoch has been done now.

      Do you know how I can start the agent and let it send snmp packets to the server?

      [EDIT]

      I found out that when I changed the location of the conf file to c:\ that the service works. Is there a way that it will look at it's own directory instead at c:\?


      ---
      Jonathanb
      Last edited by Jonathanb; 13-09-2011, 16:41. Reason: edit

      Comment

      • angelhc
        Senior Member
        Zabbix Certified Specialist
        • Nov 2009
        • 226

        #4
        To install the agent:

        zabbix_agentd.exe -i -c c:\your_zabbix_folder\conf\zabbix_Agentd.conf

        To start it as a service:

        zabbix_agentd.exe -s -c c:\your_zabbix_folder\conf\zabbix_Agentd.conf

        Regards.
        Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

        http://zabbixes.wordpress.com/

        Comment

        • Jonathanb
          Junior Member
          • Sep 2011
          • 10

          #5
          Yeah got it working thanks to you!
          Thank you very much. <- Happy

          Comment

          Working...