Ad Widget

Collapse

Perfcounter on Windows Agent returning zero

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johanpre44
    Member
    • Apr 2006
    • 40

    #1

    Perfcounter on Windows Agent returning zero

    I want to monitor disk IO, so I added the following lines to the W32 Agent config file:
    PerfCounter=Disk-ReadBytes-per-sec,"\PhysicalDisk(_Total)\Disk Read Bytes/sec",60
    PerfCounter=Disk-WriteBytes-per-sec,"\PhysicalDisk(_Total)\Disk Write Bytes/sec",60
    PerfCounter=Disk-splitio-per-sec,"\PhysicalDisk(_Total)\Split IO/sec",60

    I then create the Items in Zabbix with the keys:
    perf_counter[\PhysicalDisk(_Total)\Disk Read Bytes/sec]
    perf_counter[\PhysicalDisk(_Total)\Disk Write Bytes/sec]
    perf_counter[\PhysicalDisk(_Total)\Split IO/sec]

    I used a store value of "delta (speed per second)" and a 30 second update interval

    Rest of the Item configuration is default

    Zabbix seems to read these Items, but it returns nothing, but when I fire up the performance monitor on the windows host I can actualy see some activity

    Is the problem with the COnfiguration of the W32 Agent or with the Zabbix Server. Please Help.
  • pcamelio
    Member
    • Jul 2005
    • 67

    #2
    I see the same problem on some of my W2K servers
    Zabbix server and Agent version are 1.1.4

    I tried several syntax, and I always get 0.0000 as result !!!
    No errors reported in the log file even in debug mode ...

    What's wrong

    PS: on some of my servers it is working OK for one counter not for all
    and on other one all are working fine !!!

    Comment

    • Alexei
      Founder, CEO
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2004
      • 5654

      #3
      Make sure that multiplier is not set to 0 for the item.
      Alexei Vladishev
      Creator of Zabbix, Product manager
      New York | Tokyo | Riga
      My Twitter

      Comment

      • pcamelio
        Member
        • Jul 2005
        • 67

        #4
        I run on the W2K server the command
        ZabbixagentW32.exe test DiskRead60

        and I got
        Configuration file OK
        DiskWrite60 [0.000000]

        Definition of DiskRead60

        PerfCounter=DiskRead60, "\\VMPAR1\Disque physique(_Total)\Lectures disque, octets/s",60

        I can't see what is wrong

        Comment

        • pcamelio
          Member
          • Jul 2005
          • 67

          #5
          I try to downgrade to 1.1.3 agent with the same result ............

          Comment

          Working...