Ad Widget

Collapse

Passing user macros to host prototypes for host group names

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crackedatom
    Junior Member
    • Apr 2019
    • 4

    #1

    Passing user macros to host prototypes for host group names

    Greetings all,
    I've been using Zabbix for quite some time now and have finally come across something I've not found an answer for on the forums. So thanks for the countless other posts that have helped me in the past, and hi!

    Background:
    Zabbix 4.2, VMWare 5.5, 6.5 & 6.7, vCenter 6.5

    I have several standalone VMWare hosts along with a few vCenter servers, and as most are aware the host group names created by the discovery are not always useful and can't be customized on the discovered hosts. I've thought about creating custom templates to suit my needs but it's not really a scalable solution. My second though was to see if there is a way to set a user macro at the host level (alongside the {$URL}, {$USERNAME} and {$PASSWORD} macros) that could then be passed down to the host prototype and set under Groups or Group prototypes.

    I'm not all that hopeful as I've been trying out various things for the better part of a day now and I've read through a couple feature requests for the same problem, but perhaps there is someone with a more elegant workaround.
  • jameskirsop
    Member
    • Jul 2018
    • 32

    #2
    crackedatom did you end up coming up with anything here?

    It looks like something similar to this has been requested already in 2018: https://support.zabbix.com/browse/ZBXNEXT-3646. I've just placed a vote on this issue. I can't seem to see any other requests that allow this functionality.

    I'm also after something like this for Hyper-V hosts where I want to group them by data centre cluster.

    Comment

    • crackedatom
      Junior Member
      • Apr 2019
      • 4

      #3
      Hi jameskirsop I ended up giving up and leaving it as it was in the hopes that a future update adds the functionality.

      Comment

      Working...