Ad Widget

Collapse

Install Zabbix Agent on Windows Server 2012

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mscfadmin
    Junior Member
    • Mar 2015
    • 5

    #1

    Install Zabbix Agent on Windows Server 2012

    I got Zabbix all setup and I'm trying to install the agent (2.4.2) on Server 2012. I tried the method listed in the Zabbix documentation, and that got the service installed. But the service wouldn't ever start. You can see the config I tried here: http://pastebin.com/dQm3fT8s (this was originally a link, but apparently I had too many). So I tried using the MSI from I found on suiviperf.com (I would link to it but apparently one live link is too many), but the install fails and the end and no service is ever created.
  • Strategist
    Member
    • Sep 2013
    • 54

    #2
    You can use official zabbix agent available on http://www.zabbix.com/download.php last stable version is 2.4.1. A tried install it on Windows 2012 and all work perfectly.

    Comment

    • mscfadmin
      Junior Member
      • Mar 2015
      • 5

      #3
      I did try the 2.4.1 from that page first. Sorry, didn't realize the last method I tried (the MSI) was a different version. When I used the pre-compiled agent from that page it immediately throws an error that it timed out waiting for the service to connect in the Windows event log.

      Comment

      • Strategist
        Member
        • Sep 2013
        • 54

        #4
        You must check that conf file in the same path as are in Service patch like
        "C:\........\zabbix_agentd.exe" --config "C:\.......\zabbix_agentd.conf"
        if all right check you firewall on server and client

        Comment

        • mscfadmin
          Junior Member
          • Mar 2015
          • 5

          #5
          OK, I didn't know they needed to be in the same folder. The service seems to be running now. Quick question since I'm new to Zabbix. Does zabbix_get and zabbix_sender need to be installed, or are they just called by the service to send/receive data?

          Comment

          • Strategist
            Member
            • Sep 2013
            • 54

            #6
            No, they didn't

            Comment

            • Phatsta
              Junior Member
              • Mar 2015
              • 5

              #7
              I also just installed on Win 2012 R2 and got it working. Remember you've got to make a firewall exception in windows firewall if that's on. That owned me for a few minutes

              Basically I decided to place the zabbix folder under C:\, then create a log folder under that, add firewall exception and make the service install. Then I've edited the conf file to my own "standard setup", so I just copy the folder from server to server and change the hostname and all is well. Should be fairly easy to make a batch file for someone with a little time over. (?)

              Comment

              • Ajax
                Junior Member
                • Feb 2014
                • 9

                #8
                What did you set in firewall to let Zabbix work? I'm trying to setup one on Windows 2016 Server TP3 but I'm stuck: locally agent respond, firewall rules (inbound and outbound) allowing all traffic for public/domain/private over 10050 tcp port but… All I get is "SYNC_RECEIVED" from Windows' netstats and "Timeout while executing operation" from zabbix_get on another host.

                Comment

                • Strategist
                  Member
                  • Sep 2013
                  • 54

                  #9
                  only 10050 on tcp
                  maybe it's problem in 2016

                  Comment

                  Working...