View Full Version : Server alias naming
All our servers have a FQDN as hostname. For active checks we require the "Name" for the hosts to be set to the FQDN. The sorting in the Overview page is therefore completely "random" and it's not possible to group any servers.
It would be nice if there was a way to sort the columns. Adding an "Alias" feature that is used for the column (instead of the "Name" field which is restricted to the hostname when using active checks) is probably "easiest".
I agree on this idea. while sorting 10 or 20 hosts isn't really required - sorting 1000 hosts is essential. Personally I have lots of hosts named www1 www2... www100... etc being monitored. And of course after being sorted www2 comes right after www199. I solved it by padding 0 sighs before digits but it's not convenient. Adding an alias field might solve this problem. But the option of selecting via alias should also be present in most of ComboBoxes around the frontend.
nelsonab
20-08-2008, 16:57
We need this too. The site I'm at now uses both an A rec and a CNAME. It get's challenging when to figure out what the function of the machine is from it's ancient weapon name. :-) It would be nice to have an alias which is it's CNAME and function.
Actually we already have this feature! It's called "Name". Assuming that the hostname and the DNS name correspond, the active check should match the DNS name instead of the "Name" alias field :)
That seems like a much cleaner fix to me. If people don't have a resolvable hostname they can always monitor based on IP.
Actually we already have this feature! It's called "Name". Assuming that the hostname and the DNS name correspond, the active check should match the DNS name instead of the "Name" alias field :)
That seems like a much cleaner fix to me. If people don't have a resolvable hostname they can always monitor based on IP.
Actaully you're right, but than there should be an option of displaying them in different comboboxes like when choosing to see latest data in frontend. and a macro like {DNS} for trigger names and notifications etc.
I can tweak frontend's code in some places like latest.php but I hope that's only temrorary solution =)
Well in this new setup {DNS} == {HOSTNAME} so we already have that? You probably mean you want to have {NAME}?
If then sorting is done by default based on group, and then name, then we have something we can work with :)
Well in this new setup {$DNS} == {$HOSTNAME} so we already have that? You probably mean you want to have {$NAME}?
If then sorting is done by default based on group, and then name, then we have something we can work with :)
You mean 1.5.х? As far as I see there is no {DNS} macro for trigger names at the moment for example. And HOSTNAME does not equals DNS for me. And what I want about sorting - is to be able to use dns in the combobox when choosing a host on pages like Latest Data with a group field specified as 'all'.
is there a report on the tracker about {DNS} macro ? might be useful to file on if not...