logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

fai-monitor - fai monitor daemon

Author

       Thomas Lange <lange@cs.uni-koeln.de>

FAI 5                                            September 2015                                   fai-monitor(8)

Description

fai-monitor receives messages from all install clients on port 4711 and prints them to stdout.

Name

       fai-monitor - fai monitor daemon

Notes

       Normally, the output will be piped to fai-monitor-gui, a GUI which displays all information.

       fai-monitor  reads  variables  from /var/log/fai/variables (key=value pair format) and replies to request
       from clients if they have the format: VARIABLE  <VARNAME>.  For  e.g.  if  the  clients  sends  "VARIABLE
       FAI_VERSION",  fai-monitor  will  reply  with OK and the value of this variable (e.g. "OK 4.5.6") if this
       variable is defined, otherwise it will  reply  with  UNKNOWN  and  repeats  the  VARNAME  (e.g.  "UNKNOWN
       FAI_VERSION").

Options

-pport
              Define port to listen on. Default is port 4711.

       -b     Call  fai-chboot  for the install client if the task install was finished properly. Default is not
              to call fai-chboot.

       -i     Use IP address of connecting host when calling fai-chboot. This can only be used if the  host  has
              the same IP while installing as when running.

       -lFILE
              Logfile. Default is standard out in non-daemon mode and "/var/log/fai-monitor.log" in daemon mode.

       -tTIMEOUT
              Timeout for bad clients. 0 to disable.

       -d     Daemon mode.

       -PFILE
              PID-file. Default is "/var/run/fai-monitor.pid". Used only if starting in daemon mode.

       -T     Print timestamps in the log.

       -fFORMAT
              Use strftime(FORMAT) for timestamp formatting.

       -Z     Use gmtime/UTC instead of local time.

See Also

       This  program  is part of FAI (Fully Automatic Installation).  See the FAI manual for more information on
       how to use fai-monitor.  The FAI homepage is https://fai-project.org.

Synopsis

fai-monitor

See Also