Ad Widget

Collapse

[1.4] Use of square brackets ][ in key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JonB
    Member
    • Oct 2006
    • 63

    #1

    [1.4] Use of square brackets ][ in key

    I am trying to monitor a network interface on a Windows 2003 server. The key is

    perf_counter[\Network Interface(Intel[R] PRO_100 S Desktop Adapter _2)\Bytes Received/sec]

    From zabbix_agentd.log

    11932:20070601:083424 Requested [perf_counter[\Network Interface(Intel[R] PRO_100 S Desktop Adapter _2)\Bytes Sent/sec]]
    11932:20070601:083424 Can't add counter [\Network Interface(Intel[R] [Unable to parse the counter path. Check the format and syntax of the specified path.]

    The problem is the agent is truncating the key to
    [\Network Interface(Intel[R]

    i.e the first closed square brackets is taken as the end of the key. I have tried setting an alias

    Alias = NetInerf_counter[\Network Interface(Intel[R] PRO_100 S Desktop Adapter _2)\Bytes Received/sec]

    but this is also returning as unsupported.

    Jon
  • NOB
    Senior Member
    Zabbix Certified Specialist
    • Mar 2007
    • 469

    #2
    Hi,

    I reported a fix for 1.3.7 but it was, obviously, not integrated
    I applied a variation of it to 1.4, compiled the agent and it works fine. No
    other bugs seem to show up, e.g. if I request other keys from the same
    system.

    I won't send the binary, because i used the author edition of
    Visual C++ to create it and it does not work as a service.

    BTW: We use a Intel[R] Pro_1000 MT Dual Port Network Connection
    Regards,

    Norbert.
    Last edited by NOB; 04-06-2007, 16:35. Reason: fixed several typos

    Comment

    • JonB
      Member
      • Oct 2006
      • 63

      #3
      Alexei,

      Any thoughts on this?

      Jon

      Comment

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

        #4
        It is fixed in pre 1.4.1. Please wait.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...