• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. christop
    3. Topics
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Groups 0

    Topics

    • C

      Plugin Hooks Not Running at Sub-Site

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      6
      0 Votes
      6 Posts
      140 Views
      C

      @george1421 noted. When I was initially testing, I did not know this and it took some digging in the forums to find this tidbit of knowledge. Given that having separate storage groups stops replication between the nodes in my mind it makes most sense to have a more distributed setup of normal servers at each site to handle all of my requirements. Thanks for the input!

    • C

      Log Viewer | No Results Found

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      2
      0 Votes
      2 Posts
      112 Views
      C

      I reverted back to a snapshot I had on the same version and it’s working as expected. Unsure how things got corrupted but I would say it’s safe to assume this is working unless others report the same issue.

    • C

      Multicast De-Sync When Resizing Disks

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      9
      0 Votes
      9 Posts
      1k Views
      C

      @Tom-Elliott latest pull resolved the issue. Appreciate your help on this!

    • C

      Subnet Groups Plugin | Dynamic Groups Not Working

      Watching Ignoring Scheduled Pinned Locked Moved General Problems
      3
      0 Votes
      3 Posts
      319 Views
      C

      @Tom-Elliott, disregard this request.

      I edited ‘addsubnetgroup.hook.php’ which simplified getting the client IP and adding the host to the respective group. I understand this also removes certain checks that were in place but for my environment it is now working as intended.

      Old ‘addSubnetgroupHost’ function:

      public function addSubnetgroupHost($arguments) { if (!in_array($this->node, (array)self::$pluginsinstalled)) { return; } $Host = $arguments['Host']; $mac = $Host->get('mac'); if (!isset($mac)) { return; } // Setup for tests $name = $ipn = $Host->get('name'); $ip = $Host->get('ip'); $ipr = self::resolveHostname($name); // Perform all tests. $ip1t = filter_var($ip, FILTER_VALIDATE_IP); $ip2t = filter_var($ipn, FILTER_VALIDATE_IP); $ip3t = filter_var($ipr, FILTER_VALIDATE_IP); // If resolve hostname returns a valid IP, set IP appropriately. // Otherwise, if the name is valid, use it. // Otherwise, return if base $ip is false. if (false !== $ip3t) { $ip = $ipr; } elseif (false !== $ip2t) { $ip = $ipn; } elseif (false === $ip1t) { return; } // Now list our subnet groups. Route::listem('subnetgroup'); $SNGroups = json_decode(Route::getData()); foreach ($SNGroups->subnetgroups as &$SNGroup) { if (in_array($SNGroup->groupID, $Host->get('groups'))) { $Host->removeGroup($SNGroup->groupID)->save(); } $subnetList = str_replace(' ', '', $SNGroup->subnets); $subnets = explode(',', $subnetList); foreach ($subnets as &$subnet) { if ($this->_ipCIDRCheck($ip, $subnet)) { $Host->addGroup($SNGroup->groupID)->save(); unset($subnet); continue 2; } unset($subnet); } unset($SNGroup); } }

      New code:

      public function addSubnetgroupHost($arguments) { if (!in_array($this->node, (array)self::$pluginsinstalled)) { return; } $Host = $arguments['Host']; $mac = $Host->get('mac'); if (!isset($mac)) { return; } // Use the real source IP from the request $ip = $_SERVER['REMOTE_ADDR']; // Now list our subnet groups. Route::listem('subnetgroup'); $SNGroups = json_decode(Route::getData()); foreach ($SNGroups->subnetgroups as &$SNGroup) { if (in_array($SNGroup->groupID, $Host->get('groups'))) { $Host->removeGroup($SNGroup->groupID)->save(); } $subnetList = str_replace(' ', '', $SNGroup->subnets); $subnets = explode(',', $subnetList); foreach ($subnets as &$subnet) { if ($this->_ipCIDRCheck($ip, $subnet)) { $Host->addGroup($SNGroup->groupID)->save(); unset($subnet); continue 2; } unset($subnet); } unset($SNGroup); } }
    • C

      Multicasting Stuck on Partclone Screen

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      4
      0 Votes
      4 Posts
      3k Views
      C

      My RP address was not pointing to my FOG server 🤦

      Once this was adjusted, multicast is functional. Definitely a good reminder to start small.

    • C

      Unable to Multicast | Unable to locate udp-sender

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      3
      0 Votes
      3 Posts
      3k Views
      C

      I found the issue!

      The udpsender path on my system was “/usr/sbin/udp-sender”

      The path that is set within config.class.php is:

      define('UDPSENDERPATH', '/usr/local/sbin/udp-sender');

      I ran the following and restarted the FOGMulticastManager to resolve:

      sudo ln -s /usr/sbin/udp-sender /usr/local/sbin/udp-sender

      And we have logs now! Time to begin multicast testing 🥳

    • C

      ip helper address instead of DHCP options 66 + 67

      Watching Ignoring Scheduled Pinned Locked Moved General Problems
      1
      0 Votes
      1 Posts
      187 Views
      No one has replied
    • 1 / 1