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

    FOG User Tracking -Search

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    25
    1.9k
    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.
    • D
      Daniel Miller @Greg Plamondon
      last edited by

      Good, the values are changing.

      there is also an execution time limit that should be set in one of the ini / conf files as well. I believe the setting is max_execution_time which I think takes a value in seconds and defaults to 30. you may want to play with that value to see if you can get a response in a reasonable time. It may take upwards of a minute or two depending on how many entries are getting pulled.

      Greg PlamondonG 3 Replies Last reply Reply Quote 0
      • Greg PlamondonG
        Greg Plamondon Testers @Daniel Miller
        last edited by Greg Plamondon

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Greg PlamondonG
          Greg Plamondon Testers @Daniel Miller
          last edited by Greg Plamondon

          @Daniel-Miller said in FOG User Tracking -Search:

          Good, the values are changing.

          there is also an execution time limit that should be set in one of the ini / conf files as well. I believe the setting is max_execution_time which I think takes a value in seconds and defaults to 30. you may want to play with that value to see if you can get a response in a reasonable time. It may take upwards of a minute or two depending on how many entries are getting pulled.

          So far I have changed the /etc/php.ini max_execution_time = 300 with no luck.

          [Fri Dec 06 14:20:04.488209 2019] [proxy_fcgi:error] [pid 2045] (70007)The timeout specified has expired: [client 192.168.10.170:63425] AH01075: Error dispatching request to :, referer: http://10fogserver.mtstrans.com/fog/management/index.php?node=report&sub=file&f=dXNlciB0cmFja2luZw==```
          1 Reply Last reply Reply Quote 0
          • Greg PlamondonG
            Greg Plamondon Testers @Daniel Miller
            last edited by Greg Plamondon

            @Daniel-Miller said in FOG User Tracking -Search:

            Good, the values are changing.

            It may take upwards of a minute or two depending on how many entries are getting pulled.

            I checked the userTracking table in the fog database and it has 22104 records
            By the way, this hasn’t worked for us for quite some time, I just never got around to reporting it.
            but now I have been getting a lot of requests for reports and it was nice to be able to quickly generate what time a user logged into the pc.

            D 1 Reply Last reply Reply Quote 0
            • D
              Daniel Miller @Greg Plamondon
              last edited by

              @Greg-Plamondon said in FOG User Tracking -Search:

              I checked the userTracking table in the fog database and it has 22104 records

              You can keep pushing execution time out, but it is quite possible that you may have too many entries for php to handle the data in a reasonable time frame, especially if this instance has been running for a while. If you don’t need the historical data, truncating the userTracking table (truncate table fog.usertracking) as suggested in https://forums.fogproject.org/topic/11713/503-service-unavailable-error/54 should get it up and running and will show data going forward until it gets too ungainly again.

              Greg PlamondonG 1 Reply Last reply Reply Quote 0
              • Greg PlamondonG
                Greg Plamondon Testers @Daniel Miller
                last edited by

                @Daniel-Miller said in FOG User Tracking -Search:

                @Greg-Plamondon said in FOG User Tracking -Search:

                I checked the userTracking table in the fog database and it has 22104 records

                You can keep pushing execution time out, but it is quite possible that you may have too many entries for php to handle the data in a reasonable time frame, especially if this instance has been running for a while. If you don’t need the historical data, truncating the userTracking table (truncate table fog.usertracking) as suggested in https://forums.fogproject.org/topic/11713/503-service-unavailable-error/54 should get it up and running and will show data going forward until it gets too ungainly again.

                I was able to truncate the table and then run a report. I wish i was able to store more records.

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

                  While I have no grounds to substantiate the claim, I really believe 1.6 will handle this kind of thing much better. Sure I don’t have 22k worth of entries (or more depending on the use case) in my userTracking table, but now that we have pagination, things should be a little better here. This, of course, makes reporting for “all” of the rows a little more difficult. But at least it allows searching and viewing information a little simpler without having to go to the extreme of truncating the whole table.

                  I’m sorry it took so long for us to have this implemented.

                  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

                  Greg PlamondonG 1 Reply Last reply Reply Quote 0
                  • Greg PlamondonG
                    Greg Plamondon Testers @Tom Elliott
                    last edited by

                    @Tom-Elliott said in FOG User Tracking -Search:

                    1.6

                    I have ## Version: 1.5.7.56 installed…
                    what repo is 1.6 in?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Daniel Miller @Greg Plamondon
                      last edited by

                      @Greg-Plamondon said in FOG User Tracking -Search:

                      what repo is 1.6 in?

                      should be able to do a git checkout working-1.6, if I recall.

                      1 Reply Last reply Reply Quote 2
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        Of note, I’m calling it 1.6 because when we do release it, that’s what this will become.

                        It is using the current latest version (1.5.7) and the .XXX after is the number of commits ahead of the master branch the working-1.6 branch is at.

                        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
                        • 2
                        • 2 / 2
                        • First post
                          Last post

                        208

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project