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

    Doing magic with Fog - But simplest things stumping me

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    5
    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.
    • L
      Lethal Kebab
      last edited by

      Hi Guys

      I have successfuly been able to modify fog interface, mysql database etc to acomodate some customisations for our organisation. Namely, from the interface, we can now initiate a remote desktop session when viewing hosts, fog interface now shows software inventory of the host as well as hardware inventory. Interface / database now caters for windows update patch management.

      HOWEVER… I still cant send one snap in to a group without sending the lot or going through each host one by one to send them a snap-in. I am trying to avoid having to write PHP code which executes as a cron job which manually inserts tasks in the database… is there any other way I can send 1 cron style snap-in to a group in isolation?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • T
        Terry Bates
        last edited by

        Hey Lethal

        I added the following to /var/www/fog/management/includes/tasks.advanced.include.php around line 165, i’m using FOG 0.32, seems to work a treat, not sure why its not included in the standard build.

        [PHP] <tr>
        <td class=“c”><a href=“?node=tasks&type=group&direction=onesnap&noconfirm=<?php print $groupid; ?>”><img src=“./images/snap.png” /><p><?php print _(‘Deploy Single Snapin’); ?></p></a></td>
        <td><p><?php print _(‘This option allows you to send a single snapin to a Group. (Requires FOG Service to be installed on client)’); ?></p></td>
        </tr>[/PHP]

        Would love to know how you have added extra info to the database I would like to add a location to the hosts section so I know where my computers are, have requested the feature maybe you can help [url]http://fogproject.org/forum/threads/location-information-for-each-host.913/[/url]

        1 Reply Last reply Reply Quote 0
        • W
          Walter Wahlstedt
          last edited by

          lethal kebab have you considered posting your additions to the sourceforge patch page? I know my organization would be happy to use the features you have implemented.

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by

            I made a patch file for this for Ubuntu. Download the file, unzip it, and run this command from the directory containing the patch file.

            [CODE]sudo patch /var/www/fog/management/includes/tasks.advanced.include.php ./single-snapin.patch[/CODE]

            [url=“/_imported_xf_attachments/0/150_single-snapin.zip?:”]single-snapin.zip[/url]


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • A
              andyroo54 Moderator
              last edited by

              [quote=“Terry Bates, post: 5057, member: 594”]Hey Lethal

              I added the following to /var/www/fog/management/includes/tasks.advanced.include.php around line 165, i’m using FOG 0.32, seems to work a treat, not sure why its not included in the standard build.

              [PHP] <tr>
              <td class=“c”><a href=“?node=tasks&type=group&direction=onesnap&noconfirm=<?php print $groupid; ?>”><img src=“./images/snap.png” /><p><?php print _(‘Deploy Single Snapin’); ?></p></a></td>
              <td><p><?php print _(‘This option allows you to send a single snapin to a Group. (Requires FOG Service to be installed on client)’); ?></p></td>
              </tr>[/PHP]

              Would love to know how you have added extra info to the database I would like to add a location to the hosts section so I know where my computers are, have requested the feature maybe you can help [url]http://fogproject.org/forum/threads/location-information-for-each-host.913/[/url][/quote]

              Thanks Lethal, this is a great help. I’m going to use FOG to apply updates for programs such as flash/java etc. This is great thankyou,

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

              222

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project