Hi all,
I'm using the API to create hosts from a CSV file, as many of us do, and trying to figure out a way of handling potentially duplicate host names......
As I understand it. the HOST definition has 2 fields relating to the name. These are "Host Name" and "Visible Name".
I believed that the Host Name must be unique. So as my hosts are going to be behind different proxies, I thought I'd simply put a 3-character prefix onto the Host Name and leave the Visible Name unchanged.
So, for instance I'd have the following :
Host Name : BWF-Server1
Visible Name : Server1
However, it appears that (even though it is not a mandatory attribute) Visible Name must ALSO be unique.
This means that if I have 2 proxies, BWF and ABC, representing 2 locations. Each location will have a "server1". So I need to prefix BOTH the Host Name and Visible Name with either BWF and ABC.
Operators know the servers as Server1, Server2 respectively so ideally want the "Visible Name" to be Server1 but the actual Host Name to be BWF-Server1 or ABC-Server1.
Does anyone;
Dave
I'm using the API to create hosts from a CSV file, as many of us do, and trying to figure out a way of handling potentially duplicate host names......
As I understand it. the HOST definition has 2 fields relating to the name. These are "Host Name" and "Visible Name".
I believed that the Host Name must be unique. So as my hosts are going to be behind different proxies, I thought I'd simply put a 3-character prefix onto the Host Name and leave the Visible Name unchanged.
So, for instance I'd have the following :
Host Name : BWF-Server1
Visible Name : Server1
However, it appears that (even though it is not a mandatory attribute) Visible Name must ALSO be unique.
This means that if I have 2 proxies, BWF and ABC, representing 2 locations. Each location will have a "server1". So I need to prefix BOTH the Host Name and Visible Name with either BWF and ABC.
Operators know the servers as Server1, Server2 respectively so ideally want the "Visible Name" to be Server1 but the actual Host Name to be BWF-Server1 or ABC-Server1.
Does anyone;
- Understand why both Host Name and Visible Name must both be unique ?
- Have a workaround for this ?
Dave
Comment