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

Snapin group

Scheduled Pinned Locked Moved
FOG Problems
3
6
420
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.
  • P
    plegrand
    last edited by Dec 16, 2020, 10:36 AM

    FOG 1.5.9

    Hello, i’ve got a litle problem with group and snapins.
    When i assign a snapin to a group if i look again on this group the snapin i just assigned before is not selected.
    Am’i wrong with this way to do ?
    Thanks for your help

    T 1 Reply Last reply Dec 16, 2020, 1:25 PM Reply Quote 0
    • T
      Tom Elliott @plegrand
      last edited by Dec 16, 2020, 1:25 PM

      @plegrand Groups do not track what snapins are associated to them. It’s just too complex to get right and extremely error prone. Even the things that do track it’s extremely tedious.

      Why you ask?

      Well, let’s just use some medium numbers to show what I mean.

      Let’s say you have a group with 500 hosts in it.

      You originally setup the group so all hosts had the same snapins. (Easy to do, just update the group accordingly.)

      Now you go to one of the hosts directly, and you remove the snapin from that host. Now you go back to the group, and the group now doesn’t know anything about the snapin on all 500 hosts.

      Remember, groups in FOG are not a persistent thing. This is because you can associate a host to multiple groups. Groups, in FOG case, is basically a mechanism to mass update hosts.

      For example:

      One group to set machines up for specific snapins, but another group that you want to set machines printers, (the machine sets are different, but you might want to cross machiens.)

      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

      S 1 Reply Last reply Feb 13, 2023, 10:43 AM Reply Quote 1
      • S
        snmdla @Tom Elliott
        last edited by Feb 13, 2023, 10:43 AM

        @Tom-Elliott

        thanks Tom for the explanation.
        We just ran into this issue too, and were confused about Fog not storing the change even after reporting “group updated” after <Add selected snapins>.

        In our case, we wanted to make sure that a plugin is sent to a newly deployed host of a specific image. As the image cannot be associated with a snapin, we consequently tried the group assigment.

        So at least, my suggestion would be to make that choice unavailable, to enhance usability.
        tx & regards, Thomas

        T 1 Reply Last reply Feb 13, 2023, 10:52 AM Reply Quote 0
        • T
          Tom Elliott @snmdla
          last edited by Feb 13, 2023, 10:52 AM

          @snmdla I don’t know what you mean, make it unavailable?

          You mean you’re suggesting not being able to use groups to set all the hosts in the group with a specific set of snapins?

          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

          S 1 Reply Last reply Feb 13, 2023, 11:09 AM Reply Quote 0
          • S
            snmdla @Tom Elliott
            last edited by Feb 13, 2023, 11:09 AM

            @Tom-Elliott
            yes, it appears to have no effect, as no plugin task is created as far as I have seen.
            Please correct me if I’m wrong.

            S 1 Reply Last reply Feb 13, 2023, 11:28 AM Reply Quote 0
            • S
              snmdla @snmdla
              last edited by Feb 13, 2023, 11:28 AM

              @snmdla said in Snapin group:

              @Tom-Elliott
              yes, it appears to have no effect, as no plugin task is created as far as I have seen.
              Please correct me if I’m wrong.

              ah, I think I now understood. The dialogue will associate all group members with the snapin, which will only be fired when, for the individual client “All Snapins” task will be run.

              So, to correct my usability suggestion, it would have helped to read “all group members updated” instead of “group updated”.

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

              155

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project