Ad Widget

Collapse

Azure template in an Zabbix MSP model

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MishMash
    Junior Member
    • Aug 2024
    • 1

    #1

    Azure template in an Zabbix MSP model

    Hi All,

    I work for an ISP and we are using Zabbix to monitor several customers (as many of you may do). I've recently started to play around with the Azure template, but i'm having some difficulties with the discovery rules.
    Each of our clients has a Host Group, that's how we define which hardware belongs to which customer.

    When I create a host called "Azure - <Customer A>", connect the template "Azure by HTTP", enter all the details and fire off the Azure Virtual Machine discovery rule, it will find all virtual machines. So far so good.

    BUT, all machines are then bound to the Host Group "Virtual Machines". I want to change that so the discovered hosts will be in the same Host Group as the main dummy host.
    At first i thought "let's just remove the Host Groups entry from the Host prototype, but that field is required. Then I saw that you can also use Group Prototypes, but I have no idea how this works.

    Can somebody push me in the right direction?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    We went even as far as to take that template yaml file, replace all UUID-s in there (small bash script), rewrite all needed group names. For each "customer"... and then import it...
    Yes, it may come back biting us from behind, when we need to update it, but it is not a problem until it is a problem..

    Comment

    Working...