Ad Widget

Collapse

1.8.5rc1 Macro issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Yello
    Senior Member
    • Apr 2011
    • 309

    #1

    1.8.5rc1 Macro issues

    Hi,
    I'm seeing problems with macros in this release? I have configured a set of macros in a template and associated them with items like this:

    web.page.ping[bentley 8999 {SLB_URL}]

    This is an external check calling a simple script I've produced to do this. The check works if I hard code the url and fails using macros. Also, the same configuration appears to work with 1.8.2.

    Have any issues with macros been reported?


    Regards,
    David
  • Yello
    Senior Member
    • Apr 2011
    • 309

    #2
    Hi,
    I'm also seeing this with 1.8.5 (stable). I am writing the arguments that zabbix is passing to a log file. Here is the output:

    192.168.80.209 bentley 8999 {SLB_URL}
    192.168.80.209 bentley 8999 {AMBIGUOUS_URL}

    It appears that zabbix isn't enumerating the Macros that are being passed as arguments to the external script. Can someone help me to understand what's wrong?


    Regards,
    David

    Comment

    • Yello
      Senior Member
      • Apr 2011
      • 309

      #3
      Hi,
      I'm also attaching a screenshot of how I have my macros configured in the template.


      Regards,
      David
      Attached Files

      Comment

      • Yello
        Senior Member
        • Apr 2011
        • 309

        #4
        Hi,
        I have realised the error of my ways. User macros must be specified with a leading $.

        Problem is now resolved.


        Regards,
        David

        Comment

        Working...