Ad Widget

Collapse

Zabbix_agentd for Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tanya
    Junior Member
    • Aug 2007
    • 1

    #1

    Zabbix_agentd for Windows

    I have two questions using Zabbix_agentd for Windows:
    - I can’t find information how big is network traffic, generated by Zabbix agent. How can I check it?
    - What is default frequency (in seconds or minutes) of monitoring and sending values of parameters to Zabbix server. Can I set another value of it as parameter ?
    Thank you in advance
  • rolandsym
    Member
    • Jul 2007
    • 76

    #2
    Polling Data

    Tanya,

    If you have Zabbix server setup you can get a guestimate from the zabbix server nic cards. It's not that much a load. This data and graph should be setup by defualt.
    The default frequency depends on the item being monitored most of the default items for windows are called every 30 seconds except the processor load which is fairly frequent at 5 to 15 seconds. You can see this in the items page on the zabbix server. You can set it here too.
    On values You can use the predefined monitor that zabbix gives you or you can pull some more via perf_counter[] This will pull counters from windows Performance Monitor. You can use typeperf command at the command prompt to find more things you can monitor.
    I hope this helps.

    Rolandsym

    Comment

    • phlux
      Junior Member
      • Aug 2007
      • 11

      #3
      Network Traffic

      I ahve the same question as Tanya.

      I want to know the network load on a server that I am monitoring, not the NIC perf on the zabbix server itself.

      In the overview pane, I see that network shows me:


      Average disk read queue length 06 Aug 12:25:40 0
      Average disk write queue length 06 Aug 12:25:46 0


      This looks like, from the windows template, the wrong triggers are setup in the template.

      has any other people fixed/messed with the windows template to get the proper data - if so, can you post the file here?

      Thanks

      Sam

      Comment

      • rolandsym
        Member
        • Jul 2007
        • 76

        #4
        performance monitor value

        Sam,
        At your windows machine you will need to type the following at the command prompt.

        typeperf -qx | find "Network Interface"

        Do this exactly. This should show you all the performance counters you can call to zabbix.
        On my test server I have...
        "\Network Interface(Intel[R] PRO_1000 EB Network Connection with I_O Acceleration _2)\Bytes Total/sec"
        as counter. On windows machine the network interface is defined manually in zabbix unlike linux(eth0). So no template for network monitoring that I know of.

        Ok, so Ican get data now about that interface right away by typing the following at the command line.

        typeperf "\Network Interface(Intel[R] PRO_1000 EB Network Connection with I_O Acceleration _2)\Bytes Total/sec"]
        or calling the zabbix agent

        zabbix_agentd.exe -t perf_counter["\Network Interface(Intel[R] PRO_1000 EB Network Connection with I_O Acceleration _2)\Bytes Total/sec"]

        On the zabbix server for the item
        Type: Zabbix agent
        Key: perf_counter["\Network Interface(Intel[R] PRO_1000 EB Network Connection with I_O Acceleration _2)\Bytes Total/sec"]
        Type of information: Numeric integer 64bit
        Units: bps
        Custom Multiplier: 8
        Store Value: as is

        I hope that helps. I'd love to know how to assign an alias easily to the main network interface and pull info that way.

        Well, I hope this helps.

        Rolandsym

        Comment

        • bobrivers
          Senior Member
          • Feb 2007
          • 115

          #5
          A think that it will not work properly

          Hi,

          The problem with the Rolandsym solution is that I think (based on zabbix manual) that will not work.

          When trying to retrieve counters that needs a time interval to be measured (for example those ones finishing with "/sec") perf_counter[*] will not work.

          This because in order to calculate the, for instance, bytes per second, it will gather 2 samples and then determine the value to be returned to the user.

          As stated into zabbix manual: Performance Monitor can be used to obtain list of available counters. Note that this parameter will return correct value only for counters that require just one sample (like SystemThreads). It will not work as expected for counters that require more that one sample - like CPU utilization.

          This is what I'm trying to solve. Take a look here http://www.zabbix.com/forum/showthread.php?t=7036

          The problem that nobody replied yet...

          Bob

          Comment

          • phlux
            Junior Member
            • Aug 2007
            • 11

            #6
            "not supported" ?

            Thanks for the info.

            I created the item and copied it to my windows server template, but it appears in the list as "Not Supported"

            Additionally, I noticed that the disk read item entries were associated with Applications "Filesystem, Network, Performance" in the item details page.

            If I remove "Network" from the Application list in the item details page for disk read - it also appears then as "Not Supported"

            I dont understand what this means.

            Thanks

            Sam

            Comment

            • rolandsym
              Member
              • Jul 2007
              • 76

              #7
              hmmm....

              I'm currently using the zabbix 1.4.2-pre on my test machines. The 1.4.1 kept dying and it didn't like certain characters from perf counters I believe \ and %.
              Sorry, should have mentioned that.

              The main reason I put
              typeperf "\Network Interface(Intel[R] PRO_1000 EB Network Connection with I_O Acceleration _2)\Bytes Total/sec"] example was because I use that to test whether I can pull it or not. Then I use the zabbix_agentd.exe -t command to test whether zabbix can read it. I can get zabbix_agentd to pull it then I can get the server to accept it.

              The zabbix windows agent, in my opinion, has a ways to go before it is comparible to the it's linux equivalent. I don't think half the general zabbix counters are mapped to their windows counterpart(interface, status, process mem, etc). Hopefully, these items will be remedied otherwise projects like Big Brother and so forth will catch up to zabbix is ease of use and features in the next 8 months.

              Rolandsym

              Comment

              • just4me
                Junior Member
                • May 2007
                • 3

                #8
                since some version you can also use *

                anyway for 1.8.5

                you can also use item key as:
                perf_counter["\Network Interface(*)\Bytes Received/sec"]
                perf_counter["\Network Interface(*)\Bytes Sent/sec"]

                Comment

                Working...