EnglishFrenchSpanish

OnWorks favicon

logfetch - Online in the Cloud

Run logfetch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command logfetch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


logfetch - Xymon client data collector

SYNOPSIS


logfetch [options] CONFIGFILE STATUSFILE

DESCRIPTION


logfetch is part of the Xymon client. It is responsible for collecting data from logfiles,
and other file-related data, which is then sent to the Xymon server for analysis.

logfetch uses a configuration file, which is automatically retrieved from the Xymon
server. There is no configuration done locally. The configuration file is usually stored
in the $XYMONHOME/tmp/logfetch.cfg file, but editing this file has no effect since it is
re-written with data from the Xymon server each time the client runs.

logfetch stores information about what parts of the monitored logfiles have been processed
already in the $XYMONHOME/tmp/logfetch.status file. This file is an internal file used by
logfetch, and should not be edited. If deleted, it will be re-created automatically.

OPTIONS


--debug[=stderr]
Enables debug mode. Note that when run by the xymonclient, debug output may be
written into the client data report, which can cause false positives and other
unintended side effects. Use '=stderr' to cause the output to be written to stderr
instead.

--noexec
The client-local.cfg(5) section for this host, class, or OS is automatically
retrieved from the server during client submission. Logfetch can be requested to
execute arbitrary commands to generate a list of log files to examine dynamically,
but this can present a security risk in some environments. Set this option to
prevent logfetch from executing requested commands

SECURITY


logfetch needs read access to the logfiles it should monitor. If you configure monitoring
of files or directories through the "file:" and "dir:" entries in client-local.cfg(5) then
logfetch will require at least read-acces to the directory where the file is located. If
you request checksum calculation for a file, then it must be readable by the Xymon client
user.

Do NOT install logfetch as suid-root. There is no way that logfetch can check whether the
configuration file it uses has been tampered with, so installing logfetch with suid-root
privileges could allow an attacker to read any file on the system by using a hand-crafted
configuration file. In fact, logfetch will attempt to remove its own suid-root setup if it
detects that it has been installed suid-root.

ENVIRONMENT VARIABLES


DU Command used to collect information about the size of directories. By default,
this is the command du -k. If the local du-command on the client does not recognize
the "-k" option, you should set the DU environment variable in the
$XYMONHOME/etc/xymonclient.cfg file to a command that does report directory sizes
in kilobytes.

Use logfetch online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • 2
    usm
    usm
    Usm is a unified slackware package
    manager that handles automatic
    dependency resolution. It unifies
    various package repositories including
    slackware, slacky, p...
    Download usm
  • 3
    Chart.js
    Chart.js
    Chart.js is a Javascript library that
    allows designers and developers to draw
    all kinds of charts using the HTML5
    canvas element. Chart js offers a great
    array ...
    Download Chart.js
  • 4
    iReport-Designer for JasperReports
    iReport-Designer for JasperReports
    NOTE: iReport/Jaspersoft Studio Support
    Announcement: As of version 5.5.0,
    Jaspersoft Studio will be the official
    design client for JasperReports. iReport
    will...
    Download iReport-Designer for JasperReports
  • 5
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 6
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • More »

Linux commands

Ad