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

Delete old surplus hosts from FOG?

Scheduled Pinned Locked Moved
General
8
9
4.3k
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.
  • J
    Jim Brown
    last edited by Apr 11, 2012, 12:43 PM

    Is there a date stamp in the DB that will show the last time the host checked in with the FOG server? Or is there another way to delete old hosts en masse?

    1 Reply Last reply Reply Quote 0
    • A
      afmrick
      last edited by Apr 11, 2012, 10:33 PM

      There’s hosts.hostCreateDate or inventory.iCreateDate to see creation dates but, I’m not seeing anything about the last time the FOG client checked in …maybe you could infer it from userTracking.utDateTime?

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by Apr 18, 2012, 6:08 PM

        There is the ping/hostname resolve that happens in the web UI, which might be useful if it was modified to update that information in the database. Maybe in Fog 0.33, when we can create custom pages easier, something like this can be setup.

        There might be something available if you use the Auto Log-Out feature. I do not, so I can’t see what kind of data is being stored in the table.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • R
          Robin Commander
          last edited by Apr 18, 2012, 6:11 PM

          (In Fog 0.31) I usually delete unwanted hosts by first creating a group, adding the unwanted hosts to that group, and then deleting it and it’s associated hosts. HTH

          Cheers
          Robin

          Assumption is the mother of all f***ups !

          1 Reply Last reply Reply Quote 0
          • I
            ITCC
            last edited by Jul 29, 2012, 10:14 PM

            I use BGInfo (google it) to record to a DB for other reasons, but this can help.
            You can lookup a host and see then it was last used.

            1 Reply Last reply Reply Quote 0
            • B
              Babasaheb
              last edited by Mar 26, 2013, 9:56 AM

              Hello Chad and Team,

              Today i saw a strange issue. I upgraded my fog version from 0.28 to 0.31.
              I have hardly cloned 500 machine from this server.
              When i clicked on List All Hosts, it’s showing about 21,303 hosts, and it started pinging them
              and finally browser goes in hang state.

              Can you suggest me any alternate solution to delete this hosts, as even i cant move them to group and delete the group.
              Our most of the work had stacked because of this.

              1 Reply Last reply Reply Quote 0
              • M
                madeyem
                last edited by Mar 26, 2013, 11:52 AM

                You can disable the host lookup by going to Other Information > FOG Settings and setting the value of [FONT=arial]“[COLOR=#333333]FOG_HOST_LOOKUP” to 0.[/COLOR][/FONT]

                [FONT=arial][COLOR=#333333]Your browser might then stop crashing.[/COLOR][/FONT]

                [FONT=arial][COLOR=#333333]Edit: Please don’t post the same message in 3 different threads.[/COLOR][/FONT]

                1 Reply Last reply Reply Quote 0
                • L
                  Lee Rowlett Developer
                  last edited by Apr 11, 2013, 8:28 PM

                  what about something that queries AD? maybe query the hostname in AD, if it can’t find it, delete it from FOG… something that run on a cycle.

                  I’m looking at a way to manage the host list now too, let me know which root you take 🙂

                  1 Reply Last reply Reply Quote 0
                  • M
                    madeyem
                    last edited by Apr 12, 2013, 7:28 AM

                    I’m not using FOG in association with AD. So I can’t help you with this. Maybe you can find some advice in the FOG Wiki or in the forums.

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

                    253

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project