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

Popularity Contest

Scheduled Pinned Locked Moved
Feature Request
5
50
9.1k
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
    Junkhacker Developer @Wayne Workman
    last edited by Sep 28, 2020, 1:52 PM

    @Wayne-Workman how about “install survey”

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

    1 Reply Last reply Reply Quote 1
    • T
      Tom Elliott
      last edited by Tom Elliott Sep 28, 2020, 8:14 AM Sep 28, 2020, 2:13 PM

      Analytics:

      information resulting from the systematic analysis of data or statistics.
      

      What are we gathering,
      OS Name/Type, OS Version, FOG Version

      What are we doing?
      Analyzing how many of a type of OS and version, along with the number of “versions” run out in the wild.

      While the data we’re gathering is, right now, only very basic, I think analytics is still the true term.

      If we decide analytics is not the term to use, I still think it’s important to add (and I’m working on doing that) a way for the admins to disable if they don’t want their information being reported. We’re not doing much or collecting any metrics of the data in the sense of IPs or how we can best improve our code base. We are, after all, collecting and sending data to another source.

      This information we are gathering is still a form of data we can use to gather what Operating Systems and versions, along with the general FOG version being used in the wild.

      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
      • T
        Tom Elliott
        last edited by Tom Elliott Sep 28, 2020, 9:42 AM Sep 28, 2020, 3:18 PM

        Added ability to turn on/off this “feature”.

          FOG would like to collect some data:
              We would like to collect the following information:
                1. OS Name (CentOS, RedHat, Debian, etc....)
                2. OS Version (8.0.2004, 7.2.1409, 9, etc....)
                3. FOG Version (1.5.9, 1.6, etc....)
        
          What is this information used for?
              We would like to simply track the common types of OS
              being used, along with the OS Version, and the various
              versions of FOG being used.
        
          Are you ok with sending this information? [Y/n]
        

        When Selected either yes or no, the screen will tell status as well:

         * Here are the settings FOG will use:
         * Base Linux: Redhat
         * Detected Linux Distribution: CentOS Linux
         * Server IP Address: ....
         * Server Subnet Mask: ....
         * Hostname: fogserver
         * Installation Type: Normal Server
         * Internationalization: 0
         * Image Storage Location: /images
         * Using FOG DHCP: Yes
         * DHCP router Address: ...
         * Send OS Name, OS Version, and FOG Version: Yes
        

        Or:

         * Here are the settings FOG will use:
         * Base Linux: Redhat
         * Detected Linux Distribution: CentOS Linux
         * Server IP Address: ....
         * Server Subnet Mask: ....
         * Hostname: fogserver
         * Installation Type: Normal Server
         * Internationalization: 0
         * Image Storage Location: /images
         * Using FOG DHCP: Yes
         * DHCP router Address: ...
         * Send OS Name, OS Version, and FOG Version: No
        

        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

        J 1 Reply Last reply Sep 28, 2020, 3:31 PM Reply Quote 0
        • J
          Junkhacker Developer @Tom Elliott
          last edited by Sep 28, 2020, 3:31 PM

          @Tom-Elliott i think we should default to Y/n instead of y/N

          most people don’t care one way or the other and will just click through, let the people who care chose not to send it

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

          T 1 Reply Last reply Sep 28, 2020, 3:38 PM Reply Quote 1
          • T
            Tom Elliott @Junkhacker
            last edited by Tom Elliott Sep 28, 2020, 9:41 AM Sep 28, 2020, 3:38 PM

            @Junkhacker working-1.6 has been updated with this.

            I agree that most will not mind.

            I just didn’t want people to get into this unknowningly.

            I don’t know how many people use the -y switch, so that was why I wanted to “err” on keeping things as they are.

            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
            • T
              Tom Elliott
              last edited by Sep 28, 2020, 4:06 PM

              Instead of Analytics, or Rainman (though I love this movie), or “Install survey”

              Something that’s more explicit to what it’s doing:

              FOG External Reporting

              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 2
              • W
                Wayne Workman
                last edited by Wayne Workman Sep 28, 2020, 12:24 PM Sep 28, 2020, 6:23 PM

                FOG External Reporting sounds good to me. I’ll get the endpoint name changed sometime tonight and submit a PR for that.

                I’m still needing to put together the last pieces of this, the presentation layer. This will be coming over the next couple weeks. Plans are to render some basic bar graphs showing the information gathered from the last 7 days, and to make available the database dump. Probably a cron-job to refresh those things every hour.

                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/

                1 Reply Last reply Reply Quote 1
                • W
                  Wayne Workman
                  last edited by Oct 6, 2020, 5:44 PM

                  How exciting, entries! A whole lot of Ubuntu, one of them is Ubuntu 16!
                  entries.png

                  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/

                  1 Reply Last reply Reply Quote 1
                  • W
                    Wayne Workman
                    last edited by Wayne Workman Oct 10, 2020, 12:26 AM Oct 10, 2020, 6:20 AM

                    Here is my first pass at the presentation layer: http://fog-external-reporting-results.theworkmans.us

                    The graphs/files/stats automatically are updated every hour. I think the graphs could use color adjustments, but overall I’m pretty satisfied. What do you all think? BTW, the data in here is real!

                    The next phase of this is abuse detection for the data reported. I need to scan for profanity, insults, etc; to keep the graphs clean. Python has tools for all of that.

                    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/

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Oct 10, 2020, 9:03 AM

                      @Wayne-Workman Sounds awesome but right now I get a “Bad Gateway” message instead.

                      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
                      • W
                        Wayne Workman
                        last edited by Oct 10, 2020, 2:03 PM

                        Fixed: http://fog-external-reporting-results.theworkmans.us/

                        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/

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Oct 10, 2020, 3:54 PM

                          @Wayne-Workman Nice!

                          Looking at the data I am wondering how versions 1.5.2, 1.5.5 and 1.5.6 can make it into the database. From my point of view this is a good sign those installs still have an old version of the web UI sitting in /var/www/fog and the new one in /var/www/html/fog.

                          While I would hope we can figure out a way to detect those situations and let people know I would still think that we need a more generic way of grabbing the version info instead of using a static path for system.class.php.

                          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
                          • W
                            Wayne Workman
                            last edited by Wayne Workman Oct 10, 2020, 10:36 AM Oct 10, 2020, 4:22 PM

                            good point… I suggest we look at both locations and send the one from the file with a newer timestamp.

                            Or maybe there is a better way?

                            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/

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth Oct 10, 2020, 10:46 AM Oct 10, 2020, 4:46 PM

                              @Wayne-Workman said in Popularity Contest:

                              I suggest we look at both locations and send the one from the file with a newer timestamp.

                              While that would surely work I would really like to untangle this convoluted solution now and for ever. The more I think about it the less I want to add more if then else, check this, link here, try again, whatever. Let’s discuss the details in a new topic.

                              Please leave the reporting script as it is right now. It’s really good you added it this way so we got notice of this.

                              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
                              • W
                                Wayne Workman
                                last edited by Oct 29, 2020, 10:41 PM

                                Thoughts on the external reporting DNS name?

                                Right now it’s: https://fog-external-reporting-entries.theworkmans.us:/api/records

                                This works fine, but it’s not a fogproject.org address.

                                If nobody has an opinion, I’m happy to leave it as-is forever, but I think it may be more appropriate if there’s an A Record created like fog-external-reporting-entries.fogproject.org. This can be set to the public IP of the server I’ve setup to record the entries, and also could be easily changed in the future if needed. I’m not immortal, nor is anyone else here so this is why I bring it up.

                                We really need to get it the way we want it before the next release.

                                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/

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Sebastian Roth Moderator
                                  last edited by Oct 31, 2020, 6:29 AM

                                  @george1421 Good point! Though I would use a more simple name that is easy to remember and type, e.g. stats.fogproject.org?

                                  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
                                  • W
                                    Wayne Workman
                                    last edited by Wayne Workman Oct 31, 2020, 8:28 AM Oct 31, 2020, 2:27 PM

                                    Sounds good.

                                    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/

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Nov 2, 2020, 9:36 AM

                                      @Wayne-Workman said in Popularity Contest:

                                      Right now it’s: https://fog-external-reporting-entries.theworkmans.us:/api/records

                                      This URL does not seem to work in the browser. It’s the backend API URL if I am not on the wrong track. But we want the frontend URL http://fog-external-reporting-results.theworkmans.us/ right? Can you setup HTTPS as well?

                                      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
                                      • W
                                        Wayne Workman
                                        last edited by Nov 2, 2020, 1:42 PM

                                        Yeah the back-end only takes entries, nothing else.

                                        The frontend url is less important, as that’s not needed in the fog codebase anywhere. It’s just a place one visits to see results. I can get HTTPS setup for it.

                                        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/

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman
                                          last edited by Nov 8, 2020, 5:40 PM

                                          @Sebastian-Roth So when I try:

                                          curl -X POST -H "Content-Type: application/json"  -d '{"fog_version":"testing","os_name":"testing","os_version":"testing"}' https://stats-api.fogproject.org/api/records
                                          

                                          This is the result:

                                          curl: (6) Could not resolve host: stats-api.fogproject.org
                                          

                                          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/

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

                                          231

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project