Ad Widget

Collapse

Server alias naming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dreas
    Member
    • Aug 2007
    • 89

    #1

    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".
  • teferi
    Member
    • Jul 2008
    • 93

    #2
    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.

    Comment

    • nelsonab
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Sep 2006
      • 1233

      #3
      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.
      RHCE, author of zbxapi
      Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
      Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

      Comment

      • dreas
        Member
        • Aug 2007
        • 89

        #4
        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.

        Comment

        • teferi
          Member
          • Jul 2008
          • 93

          #5
          Originally posted by dreas
          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 =)
          Last edited by teferi; 25-08-2008, 16:09.

          Comment

          • dreas
            Member
            • Aug 2007
            • 89

            #6
            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
            Last edited by dreas; 26-08-2008, 10:51.

            Comment

            • teferi
              Member
              • Jul 2008
              • 93

              #7
              Originally posted by dreas
              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'.

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                is there a report on the tracker about {DNS} macro ? might be useful to file on if not...
                Zabbix 3.0 Network Monitoring book

                Comment

                Working...