• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    IP Address field

    Feature Request
    4
    6
    1641
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Adam Taylor last edited by

      Hey guys,

      Back in .32 there was an IP address field when viewing the host. In 1.2 that field is gone.

      I added two lines of code to the hostname.php service checkin that grabbed the current IP address of the machine ‘$_SERVER[‘REMOTE_ADDR’]’ and then replaced the IP for that host with the current one in the DB. We did this since our campus is all DHCP and we have over 1000 computers all over the place we use in FOG.

      This made it VERY easy when someone would move a computer and not change anything in the FOG system. We would see a different IP (Or campus has a different range for every building so the IP is a identifier for us) and be able to figure out where it went. It also helped to keep our management tools updates when the address changed.

      Since that field is not there anymore…it kinda broke that…lol

      So my request is…any chance of getting this back? It was exceptional useful for us back in .32 days.

      1 Reply Last reply Reply Quote 0
      • Tom Elliott
        Tom Elliott last edited by

        The IP field may not be visible, directly, but it is not gone. When you search for a host, it automatically searches for the ip field, at least in SVN.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • Trevelyan
          Trevelyan last edited by

          How did this work? I never really used it before; did a host checkin its IP to its entry in the FOG database when the FOG service started (or when it PXE booted)?

          1 Reply Last reply Reply Quote 0
          • Roger Saffle
            Roger Saffle last edited by

            we relied on IPs a lot too. Now we just make sure 065-251 or what ever is part of our host name. Not idea, but works.
            Im not sure what fields are searchable, but we search a lot by tag1 for inventory, maybe put the IP in tag 2?

            1 Reply Last reply Reply Quote 0
            • A
              Adam Taylor last edited by

              Ok, ok…i meant not there in the host screen or viewable(at least that i can find). 😄

              So the table is still there in the DB i see so i am going to assume the function to set it is also still available?

              I guess i just need to know if it is still viewable somewhere or if i need to add that field to the host screen like it was before.

              Or do you know of a better way to do what I am asking currently?

              Appreciate your help!

              Adam

              1 Reply Last reply Reply Quote 0
              • Tom Elliott
                Tom Elliott last edited by

                Just because you don’t see it doesn’t mean it no longer exists.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                194
                Online

                10.4k
                Users

                16.4k
                Topics

                150.5k
                Posts

                Copyright © 2012-2023 FOG Project