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

    Automatic Approval of "Pending Hosts"

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    694
    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.
    • rogalskijR
      rogalskij
      last edited by rogalskij

      Is there a way to have hosts I install the client on automatically approved in the “hosts” section of FOG? We keep pretty tight controls on software installs, and I would like to not have to go into the server and “approve” the pending hosts that I see. A couple times we have forgotten and it temporarily delayed us from imaging a lab full of computers because they weren’t “approved” yet.

      Any assistance with this would be appreciated. It seems like a small step but when we are adding hundreds of hosts to the system it really can slow one down. Thank you all I appreciate you!

      -Josh-

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

        Due to the security controls of the fog client, I understand what you’re wanting and could probably code this relatively easily, however I think it would probably work better if you did an api script that ran on a schedule.

        Essentially the request would be:

        put <url>/fog/host

        data:
        {
        [
        ‘hostIDs’: get <url>/fog/host/ids data: [{“pending”: 1}],
        ‘pending’: 0
        ]
        }

        Of course a bit more output may be needed, but the principal is the same and could be scripted from your fog server.

        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 1
        • rogalskijR
          rogalskij
          last edited by

          I appreciate the quick reply Tom. I was just curious if there was already a quick check box to turn this off or not. I think I will hold off on it and just let my team know they need to be sure to approve hosts after installing the client. I appreciate your insight and look forward to a possible feature addition in the future!

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

          158

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project