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

    Possible to view imaging history of Unregistered host?

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    9
    1.5k
    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.
    • phil_guyP
      phil_guy
      last edited by phil_guy

      If I image one or more host without registering them using either the quick image or join multi-cast session option from the pxe boot menu, is there a log somewhere either in the terminal or in the web gui that I can view everything i’ve imaged (registered and/or unregistered host) ?

      I’m running Fog Trunk Git 7799 on Ubuntu Server 14.04

      Giggity

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @phil_guy
        last edited by

        @phil_guy There is a table in the database called history. You might look around in there and see what you find. Other than that table, there would be no other place for an unregistered host.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        phil_guyP 1 Reply Last reply Reply Quote 0
        • phil_guyP
          phil_guy @Wayne Workman
          last edited by

          @Wayne-Workman Could you provide a path to these files please? I don’t think I’m looking in the right place.

          Giggity

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @phil_guy
            last edited by

            @phil_guy It’s not a file, really. It’s a table in a database. you can access it via CLI like this:
            mysql
            use fog
            select * from history

            And you can of course change the select statement to fit your needs, to pull the data you might be looking for.

            Or, you can use something like heidisql to access it remotely using the fogstorage username and password that is stored in FOG Settings -> storage

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            phil_guyP 1 Reply Last reply Reply Quote 0
            • phil_guyP
              phil_guy @Wayne Workman
              last edited by

              @Wayne-Workman Alright thanks for the guide. I was able to get to it, however the history table appears to be empty. Is it set up to reset/clear every day or something?

              Giggity

              JunkhackerJ 1 Reply Last reply Reply Quote 0
              • JunkhackerJ
                Junkhacker Developer @phil_guy
                last edited by Junkhacker

                history is not recorded for unregistered hosts.

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                phil_guyP 1 Reply Last reply Reply Quote 0
                • phil_guyP
                  phil_guy @Junkhacker
                  last edited by

                  @Junkhacker Is there anywhere that records it? Such like a log file or something that just acts as a catch all for everything that’s been imaged regardless of being registered or not.

                  Giggity

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

                    @phil_guy No, there is no log if unregistered hosts.

                    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

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

                      @Tom-Elliott Alright thanks for the help.

                      Giggity

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

                      211

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project