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

    Couple of minor changes to Management Console that would speed things

    Scheduled Pinned Locked Moved Solved
    Feature Request
    5
    12
    4.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.
    • A
      Alistair
      last edited by

      Thanks

      1 Reply Last reply Reply Quote 0
      • S
        Sharo
        last edited by

        Another suggestion that is sort of related to this is adding another value in the Host Management column, such as chassis Asset or system serial number. With most retail PCs they have these values listed on the chassis itself, while the MAC address is not. Having the serial right in your face makes it much easier to physically track down a PC.

        If anyone has done this before, I’d like to know 🙂
        FOG 1.0.1
        Ubuntu 14.04

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

          inside /fog/lib/hooks there is a file named AddHostSerial.hook.php
          if you edit it to say var $active = true; it will list the serial numbers of the computers in the host view

          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
          • W
            Wolfbane8653 Developer
            last edited by

            [quote=“Junkhacker, post: 27705, member: 21583”]inside /fog/lib/hooks there is a file named AddHostSerial.hook.php
            if you edit it to say var $active = true; it will list the serial numbers of the computers in the host view[/quote]

            :eek: that’s awesome!!!

            You can see the Models too if you do the same to fog/lib/hooks/AddHostModel.hook.php

            1 Reply Last reply Reply Quote 0
            • S
              Sharo
              last edited by

              That didn’t seem to work for me. Is there a service I should restart to take affect?

              I made the changes from the installation directory as well as the web directory. Permissions in /var/www/fog/lib/hooks for .php files are 644, owner and group are both www-data. Install folder in documents is 664. Owner and group are fog. Permissions?

              1 Reply Last reply Reply Quote 0
              • W
                Wolfbane8653 Developer
                last edited by

                you did do a…

                [CODE]
                cd /var/www/fog/lib/hooks/
                sudo nano AddHostSerial.hook.php
                sudo nano AddHostModel.hook.php[/CODE]
                Thats what i needed to execute to save the files.

                1 Reply Last reply Reply Quote 0
                • S
                  Sharo
                  last edited by

                  [quote=“Wolfbane8653, post: 27733, member: 3362”]you did do a…

                  [CODE]
                  cd /var/www/fog/lib/hooks/
                  sudo nano AddHostSerial.hook.php
                  sudo nano AddHostModel.hook.php[/CODE]
                  Thats what i needed to execute to save the files.[/quote]

                  You mean did I use sudo? Yes, of course but it wasn’t necessary for the installation directory because I’m logged in with the “fog” user. I had to for the /var/www directory because the owner/group is www-data.

                  Just to be sure, what permissions are set in /var/www/fog/lib/hooks for you?

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

                    oh, sorry, i forgot that hooks were broken in 1.0.1
                    i am running svn release 1710. hooks are fixed in 1702 and what i described will work in the next official 1.x.x release of fog along with a few other bug fixes

                    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 0
                    • W
                      Wolfbane8653 Developer
                      last edited by

                      Running Fogv1.0.1-r1714… I think. Just updated this morning from the btsync update.

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sharo
                        last edited by

                        [quote=“Junkhacker, post: 27735, member: 21583”]oh, sorry, i forgot that hooks were broken in 1.0.1
                        i am running svn release 1710. hooks are fixed in 1702 and what i described will work in the next official 1.x.x release of fog along with a few other bug fixes[/quote]

                        Oh, lol no problem. Can’t wait 😄

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

                        214

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project