Ad Widget

Collapse

1.1.6&1.3.4 (W32)different behaviour for perf_counter and UserParameter with wilcard

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • djinn_fr22
    Member
    • Jan 2007
    • 54

    #1

    1.1.6&1.3.4 (W32)different behaviour for perf_counter and UserParameter with wilcard

    Hi,

    I have an issue with zabbix agentd for Windows for version 1.1.6 and 1.3.4 with the use of wildcard.

    In 1.1.6, UserParameter with wildcard doesn't work in windows.
    There is a patch that has been proposed on 1.1.4, but I don't think it has been integrated on 1.1.6.


    Perfcounter works well with wildcard in 1.1.6.

    In 1.3.4, Userparameter works with wildcard.
    But perfcounter doesn't work.
    See http://www.zabbix.com/forum/showthread.php?t=5567

    So I am a bit stuck with my strategy about wilcard use

    Thanks for any helps.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Please could you give an example?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • djinn_fr22
      Member
      • Jan 2007
      • 54

      #3
      I am running on Win Advanced Sever 2003.

      PerfCounter:

      1.1.6
      Code:
      ZabbixW32.exe.1.1.6 test perf_counter["\Process(ZabbixW32)\Private Bytes"]
      perf_counter[\Process(ZabbixW32)\Private Bytes] [5136384.000000]

      1.3.4

      Code:
      zabbix_agentd.exe.1.3.4  -t perf_counter["\Process(ZabbixW32)\Private Bytes"]
      zabbix_agentd.exe.1.3.4 [8912]: Unable to resolve symbol 'GetPerformanceInfo'


      Userparameter:

      In fact, by testing again, it's not working at all wildcard with Userparamter on 1.1.6 and 1.3.4.


      To test, I am using a simple test.bat file:
      Code:
      @echo %1
      Here is the line, I added in zabbix_agentd.conf
      UserParameter= mytest[*],C:\test.bat $1


      1.1.6
      Code:
      ZabbixW32.exe.1.1.6 test mytest[123]
      Configuration file OK
      [29-Mar-2007 11:08:24] *************** Log file opened ****************
      [29-Mar-2007 11:08:24] Collector thread initialized successfully
      mytest[123] [ZBX_NOTSUPPORTED]


      1.3.4

      Code:
      zabbix_agentd.exe.1.3.4 -t mytest[123]
      zabbix_agentd.exe.1.3.4 [9140]: Unable to resolve symbol 'GetPerformanceInfo'
      mytest [m|ZBX_NOTSUPPORTED]


      1.1.4 with patch
      Code:
      ZabbixW32.exe.1.1.4.patch test mytest[123]
      [29-Mar-2007 11:03:54] *************** Log file opened ***********
      [29-Mar-2007 11:03:54] Collector thread initialized successfully
      [29-Mar-2007 11:03:54] mytest[123] [123]

      Thanks for your helps.

      Comment

      • BusteR81
        Senior Member
        • Apr 2007
        • 150

        #4
        solution ?

        nice results so what is the conclusion? how to bypass getPerformanceInfo errors which i am getting on my win 2000 servers.


        cheers

        Comment

        • djinn_fr22
          Member
          • Jan 2007
          • 54

          #5
          I don't think that has been fixed in new release of 1.3.x.

          New Zabbix agent doesn't work for win 2000 servers.
          I don't see in the todo list for 1.3.x on the wiki.

          So until then, use agent 1.1.x or SNMP.

          I hope it gonna be fixed in future release, because it's going to create 2 branch version of the code otherwise.

          Comment

          Working...