View Fog Client From WebGUi
-
Is it possible to view the Fog Client log for individual hosts in the fog server webgui?
I am on 1.5.0RC8 and the latest fog client is deployed.
-
Can you do
\\%computer%\c$\fog.log
? -
@themcv I can. I was wondering if there was something in the Reports section of the fog server that would do that automatically. Guess I’ll stick with that for now. Thanks!
-
@coop90 I don’t know of anything, but I might try to write out a little script so you just type in the hostname and it opens it up.
If I do it I’ll let you know.
-
Throw this in Notepad and save it as a .bat (if you’re running Windows of course :))
@echo off goto :input cls :input cls echo Enter Hostname of PC you want to check fog.log of echo[ set /p hostname= \\%hostname%\c$\fog.log
And if you want it to ask you if it came up correctly
@echo off goto :input cls :input cls echo Enter Hostname of PC you want to check fog.log of echo[ set /p hostname= \\%hostname%\c$\fog.log set choice= set /p choice=Did that work? if '%choice%'=='y' goto :great if '%choice%'=='yes' goto :great if '%choice%'=='n' goto :oops if '%choice%'=='no' goto :oops :great echo Great. :) timeout 1 goto :end :oops echo Okay, let's try it again! timeout 2 goto :input :end
-
There’s also this concept: https://forums.fogproject.org/topic/8821/roll-calling-hosts-to-identify-problems
But instead of gathering a list of non-functional systems, you’d be telling them to copy their fog.log files to the share - and skipping the list building parts.