Ad Widget

Collapse

Zabbix Agent 4.0.X - system.run escaping square brackets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • james.cook000@gmail.com
    Member
    • Apr 2018
    • 49

    #1

    Zabbix Agent 4.0.X - system.run escaping square brackets

    Hi People,

    Running into a slight issue I believe seems to be effecting Zabbix 4.0.X agents.

    On version 3.4.X:

    H:> zabbix_get -s 127.0.0.1 -k system.run["echo On a 3.4.X Agent a right square bracket does work ]"]
    echo On a 3.4.X agent a right square bracket does work ]

    On version 4.0.X:

    H:\>zabbix_get -s 127.0.0.1 -k system.run["echo On a 4.0.X agent a right square bracket does NOT work ]"]
    ZBX_NOTSUPPORTED: Invalid item key format.

    I have tried all sorts of quotation and escaping to no avail as I get the error 'ZBX_NOTSUPPORTED: Invalid item key format.'

    Has anyone experienced this before I put a Zabbix issue in?

    Cheers
    James
  • zux
    Member
    • Sep 2018
    • 93

    #2
    looks like a regression, works on 3.4 but not on 4.0.
    I would recommend to create a bug report.

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      If I understand correctly, It's already there https://support.zabbix.com/browse/ZBX-15697

      Comment

      Working...