How to monitor Snap-in activity



  • I built several snap-ins and deployed one successfully to a physical machine. Trying to deploy it, or other snap-ins, to a VM or another physical machine and nothing appears to happen.
    Under host - Snap-ins I can see the assignment is waiting. But the FOG Service never appears to attempt installation. I know FOG can communicate with the FOG client because power management tasks work fine.

    The Snap-In log only shows the one successful run. Is there a place I can look to see the pending status of installations or to understand why they’re not running?



  • @Sebastian-Roth Got it. Thank you very much!


  • Developer

    @altitudehack You’d assign only those 18 tasks to the client and then use the “Deploy All Snapins” task. This should run all the snapins assigned to this host on it.



  • @Sebastian-Roth Thank you! That was what I missed. I thought simply assigning the snapin to the client would deploy it. Makes sense now.
    Is there a simple method to install certain snapins while skipping others? Say I have 22 snapins but only want to push 18 of them. Do I need to create 18 separate tasks or can I create a group of some snapins?


  • Developer

    @altitudehack Snapins are a tasking thing. The fog-client does not constantly try to run snapins every cycle. If you need to push a snapin to a client you must create a snapin task for the client just like you would to image it.



  • @Sebastian-Roth
    Here’s the host-snapins page for this host showing that they are assigned:
    assigned_snapins.png

    Really not sure why there’s a disconnect between the host service and the FOG server. Did the included logs reveal anything interesting to you?

    Thank you!



  • @Sebastian-Roth Yes it is checked. Didn’t make any major changes there.


  • Developer

    @altitudehack And what about host’s “Service Settings” tab? Is “Snapins” checked on that too?



  • @Sebastian-Roth said in How to monitor Snap-in activity:

    associate the snapin

    Oh I misread that as associate the FOG client to the host. Yes, the snapin is assigned to the hosts and they show up under “Snapin Membership” as expected.



  • @Sebastian-Roth Probably not. Not clear how to do that. What step did I miss?


  • Developer

    @altitudehack Did you associate the snapin to the host you want to run it on?



  • Thanks Sebastian. I found the log and it just keeps saying No Snap-ins. We also noticed a comment in the hostname changer about being logged in, so we tried logging out thinking that maybe snap-ins can only run with a user logged out but no dice.

    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:04 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:04 PM Client-Info Client OS:      Windows
     7/15/2019 12:04 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:04 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     7/15/2019 12:04 PM Service Sleeping for 149 seconds
     7/15/2019 12:07 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     7/15/2019 12:07 PM Middleware::Response Success
     7/15/2019 12:07 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=08:00:27:11:11:D4|54:3A:63:D9:54:0A&newService&json
     7/15/2019 12:07 PM Middleware::Response Success
     7/15/2019 12:07 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     7/15/2019 12:07 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     7/15/2019 12:07 PM Service Creating user agent cache
     7/15/2019 12:07 PM Middleware::Response Invalid time
     7/15/2019 12:07 PM Middleware::Response No Printers
     7/15/2019 12:07 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response Success
     7/15/2019 12:07 PM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response No Printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response Success
     7/15/2019 12:07 PM PowerManagement Calculating tasks to unschedule
     7/15/2019 12:07 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:07 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:07 PM Client-Info Client OS:      Windows
     7/15/2019 12:07 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:07 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     7/15/2019 12:07 PM Service Sleeping for 64 seconds
     7/15/2019 12:08 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     7/15/2019 12:08 PM Middleware::Response Success
     7/15/2019 12:08 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=08:00:27:11:11:D4|54:3A:63:D9:54:0A&newService&json
     7/15/2019 12:08 PM Middleware::Response Success
     7/15/2019 12:08 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     7/15/2019 12:08 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     7/15/2019 12:08 PM Service Creating user agent cache
     7/15/2019 12:08 PM Middleware::Response Invalid time
     7/15/2019 12:08 PM Middleware::Response No Printers
     7/15/2019 12:08 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response Success
     7/15/2019 12:08 PM HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response No Printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response Success
     7/15/2019 12:08 PM PowerManagement Calculating tasks to unschedule
     7/15/2019 12:08 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:08 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:08 PM Client-Info Client OS:      Windows
     7/15/2019 12:08 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:08 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     7/15/2019 12:08 PM Service Sleeping for 130 seconds
     7/15/2019 12:10 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     7/15/2019 12:10 PM Middleware::Response Success
     7/15/2019 12:10 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=08:00:27:11:11:D4|54:3A:63:D9:54:0A&newService&json
     7/15/2019 12:10 PM Middleware::Response Success
     7/15/2019 12:10 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     7/15/2019 12:10 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     7/15/2019 12:10 PM Service Creating user agent cache
     7/15/2019 12:10 PM Middleware::Response Invalid time
     7/15/2019 12:10 PM Middleware::Response No Printers
     7/15/2019 12:10 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:10 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:10 PM Client-Info Client OS:      Windows
     7/15/2019 12:10 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:10 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:10 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:10 PM Client-Info Client OS:      Windows
     7/15/2019 12:10 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:10 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:10 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:10 PM Client-Info Client OS:      Windows
     7/15/2019 12:10 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:10 PM Middleware::Response Success
     7/15/2019 12:10 PM HostnameChanger Checking Hostname
     7/15/2019 12:10 PM HostnameChanger Renaming host to my-host-vm
     7/15/2019 12:10 PM Power Creating shutdown request
     7/15/2019 12:10 PM Power Parameters: /r /c "FOG needs to rename your computer" /t 0
     7/15/2019 12:10 PM Bus Emmiting message on channel: Power
     7/15/2019 12:10 PM Power Attempt 1/6 to shutdown computer
     7/15/2019 12:10 PM Power --> API call returned 1, will re-attempt in 5 minutes
     7/15/2019 12:12 PM Main Overriding exception handling
     7/15/2019 12:12 PM Main Bootstrapping Zazzles
     7/15/2019 12:12 PM Controller Initialize
     7/15/2019 12:12 PM Controller Start
    
     7/15/2019 12:12 PM Service Starting service
     7/15/2019 12:12 PM Bus Became bus server
     7/15/2019 12:12 PM Bus Emmiting message on channel: Status
     7/15/2019 12:12 PM Service Invoking early JIT compilation on needed binaries
    
    ------------------------------------------------------------------------------
    --------------------------------Authentication--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Version: 0.11.16
     7/15/2019 12:12 PM Client-Info OS:      Windows
     7/15/2019 12:12 PM Middleware::Authentication Waiting for authentication timeout to pass
     7/15/2019 12:12 PM Middleware::Communication Download: http://fogserver/fog/management/other/ssl/srvpublic.crt
     7/15/2019 12:12 PM Data::RSA FOG Server CA cert found
     7/15/2019 12:12 PM Middleware::Authentication Cert OK
     7/15/2019 12:12 PM Middleware::Communication POST URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&authorize&newService
     7/15/2019 12:12 PM Middleware::Response Success
     7/15/2019 12:12 PM Middleware::Authentication Authenticated
    
    
     7/15/2019 12:12 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     7/15/2019 12:12 PM Middleware::Response Success
     7/15/2019 12:12 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=08:00:27:11:11:D4|54:3A:63:D9:54:0A&newService&json
     7/15/2019 12:12 PM Middleware::Response Success
     7/15/2019 12:12 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     7/15/2019 12:12 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     7/15/2019 12:12 PM Service Creating user agent cache
     7/15/2019 12:12 PM Middleware::Response Invalid time
     7/15/2019 12:12 PM Middleware::Response No Printers
     7/15/2019 12:12 PM Middleware::Response Module is disabled globally on the FOG server
     7/15/2019 12:12 PM Service Initializing modules
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response Success
     7/15/2019 12:12 PM HostnameChanger Checking Hostname
     7/15/2019 12:12 PM HostnameChanger Hostname is correct
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PrinterManager--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response No Printers
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------PowerManagement-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response Success
     7/15/2019 12:12 PM PowerManagement Calculating tasks to unschedule
     7/15/2019 12:12 PM PowerManagement Calculating tasks to schedule
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------UserTracker---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:12 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:12 PM Client-Info Client OS:      Windows
     7/15/2019 12:12 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:12 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
     7/15/2019 12:12 PM Service Sleeping for 107 seconds
     7/15/2019 12:14 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&configure&newService&json
     7/15/2019 12:14 PM Middleware::Response Success
     7/15/2019 12:14 PM Middleware::Communication URL: http://fogserver/fog/management/index.php?sub=requestClientInfo&mac=08:00:27:11:11:D4|54:3A:63:D9:54:0A&newService&json
     7/15/2019 12:14 PM Middleware::Response Success
     7/15/2019 12:14 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?clientver&newService&json
     7/15/2019 12:14 PM Middleware::Communication URL: http://fogserver/fog/service/getversion.php?newService&json
    
     7/15/2019 12:14 PM Service Creating user agent cache
     7/15/2019 12:14 PM Middleware::Response Invalid time
     7/15/2019 12:14 PM Middleware::Response No Printers
     7/15/2019 12:14 PM Middleware::Response Module is disabled globally on the FOG server
    
    ------------------------------------------------------------------------------
    ---------------------------------ClientUpdater--------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:14 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:14 PM Client-Info Client OS:      Windows
     7/15/2019 12:14 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:14 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ----------------------------------TaskReboot----------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:14 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:14 PM Client-Info Client OS:      Windows
     7/15/2019 12:14 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:14 PM Middleware::Response Success
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:14 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:14 PM Client-Info Client OS:      Windows
     7/15/2019 12:14 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:14 PM Middleware::Response Success
     7/15/2019 12:14 PM HostnameChanger Checking Hostname
     7/15/2019 12:14 PM HostnameChanger Hostname is correct
    ------------------------------------------------------------------------------
    
    
    ------------------------------------------------------------------------------
    ---------------------------------SnapinClient---------------------------------
    ------------------------------------------------------------------------------
     7/15/2019 12:14 PM Client-Info Client Version: 0.11.16
     7/15/2019 12:14 PM Client-Info Client OS:      Windows
     7/15/2019 12:14 PM Client-Info Server Version: 1.5.5
     7/15/2019 12:14 PM Middleware::Response No snapins
    ------------------------------------------------------------------------------
    
    

  • Developer

    @altitudehack Take a look at the fog-client log on a particular machine. It’s usually in C:\Program Files (x86)\FOG\fog.log or C:\fog.log. Post the last 500 lines of that file here.


Log in to reply
 

479
Online

6.2k
Users

13.6k
Topics

128.0k
Posts