Ad Widget

Collapse

External scripts and [ ] in arguments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gug42
    Junior Member
    • Apr 2009
    • 18

    #1

    External scripts and [ ] in arguments

    Hi,

    I'd like to use [ and ] in parameter. But Zabbix stop to parse at the first ] spotted ... Is there a way ?


    For example, my key is :
    script.sh[foo bar[foo] var]

    And zabbix send to the script :
    foo bar[foo


    Thank you in advance

    ps I'v tested with \] but without success
  • bashman
    Senior Member
    • Dec 2009
    • 432

    #2
    Have you tried with \\] ?.
    978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

    Comment

    Working...