Hello everyone
i managed to generate a JSON file that looks like this :
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
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" }
]
}
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
Comment