Ad Widget

Collapse

creating hosts using LLD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ammaralk
    Junior Member
    • Aug 2017
    • 7

    #1

    creating hosts using LLD

    Hello everyone

    i managed to generate a JSON file that looks like this :

    Code:
    {
      "data": [
    
        { "{#SWTYPE}":"ASE", "{#SWNAME}":"TST" },
        { "{#SWTYPE}":"HANA", "{#SWNAME}":"ALK" },
        { "{#SWTYPE}":"HANA", "{#SWNAME}":"AMM" }
      ]
    }
    which SWTYPE mean the software or the Platform type and SWNAME means the instance name

    however what i am trying to do is create hosts automatically from this file which for example should be like this : mo-5464.com-HANA-ALK (HOSTNAME-SWTYPE-SWNAME)

    which i can later bind it with the right template

    how can i do it using LLD?? i have read in the documentation that i can create hosts but they didn't write how

    Thanks
    Last edited by Ammaralk; 06-09-2017, 11:41.
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Hi Ammaralk,
    this is just my suggestions, but you could take a look on default Template Virt VMware in the part where is Host Prototype. This could give you a clue

    Regards,
    Alex!

    Comment

    Working...