FIDO(8)
πΈ FIDO(8) πΈ
okay bestie, so you know how I'm literally obsessed with this manual page? it's fido, section 8 of the manual, and it's part of the User Contributed Perl Documentation. she's giving watchdog. she's giving daemon. she's giving main character energy. let's get into it π
β¨ NAME β¨
fido is a realish-time log watchdog and alert daemon. no cap, that's literally the whole vibe. πΆ
β¨ SYNOPSIS β¨
fido [option]
one little binary, a whole lot of options. iconic honestly.
β¨ DESCRIPTION β¨
so fido is a multi-threaded daemon β yes bestie, multiple threads, she's doing the most β and she can watch several files at once. π
she looks for patterns that you configure, and when something matches, she executes scripts or programs. that's the whole thing. that's the job. π«‘
and the "realish-time" thing? not a typo, it's a whole lifestyle. fido is about a second or so behind the clock. so likeβ¦ real time, but make it fashion. π
β¨ OPTIONS β¨
π Option Syntax
since fido uses GNU getopt to process command-line arguments, every single option has a long form along with the short one. long options are more convenient to remember, but take time to type. pick your fighter. π₯
you may freely mix different option styles, i.e.,
$ fido -d --pid=/var/run/fido.pid
see? short, long, all in one line, living together in harmony. we love a flexible queen. π
π Startup Options
-V,--versionβ displays the version offidoand exits. quick lil vibe check on what you're running. β-h,--helpβ prints a help message describing all offido's command-line options, then exits. she will explain herself, and honestly? we respect that. π-C,--configβ prints the default values for all configurable settings. values are read from the active resource file and command line arguements. (yes, that's how it's spelled up in here, we're keeping it, it's canon. π)-f /path/file,--file=/path/fileβ this option can be used to specify afidoconfig file. if none is selected, it will attempt to loadFIDORCas an ENV variable. ifFIDORCis not set, then it will attempt the following files in this order:
/etc/fido/fido.conf
/etc/fido.conf
/usr/local/etc/fido.conf
/usr/local/etc/fido/fido.conf
at this point, if fido hasn't found a config file, it will try to run off command line arguments.
NOTE: Command line arguments take precedent over config file settings. π command line said it first, command line wins.
-d,--daemonβ this options tellsfidoto run in the background as a daemon. this is a default option so select this to override the config file. π she's going to the background, she'll text you later.
sets the network protocol to ICMP. during a netscan, fido can use either ICMP echo (default) or TCP/IP connect for discovery. this option sets the protocol to ICMP. this option is like pinging hosts on a network with the ping utility. ICMP requires raw sockets. therefore, fido must either be run as root or setuid root. (see ERRORS below).
okay so this part is wild but it is literally what the page says, so here it is, unedited, no notes. π
-p /path/file,--pid=/path/fileβ by default,fidowrites a pid file to/var/run/fido.pid. you may override that location with this option, like:
fido --pid=/var/lib/run/fido.pid
pick a home for your pid file, she's not picky, she just needs an address. π‘
-l VAL,--log=VALβ use this option to specify a logging method. the values can be"/path/to/file"or"syslog".fidocan either log its messages to syslog or it can use its own internal logging mechanism to write to a specified file. so basically: syslog girlie or DIY girlie, your call. π
β¨ CONFIG FILE β¨
fido's configurable options can be set and stored in config files. all stored settings can be overridden with command line arguments. if a logging mechanism is set in config file, it can be overridden with --log.
fido reads config files in a priortized fashion. the ENV variable FIDORC is the highest. that is followed by '-f /path/file' and by the system defaults:
/etc/fido/fido.conf
/etc/fido.conf
/usr/local/etc/fido.conf
/usr/local/etc/fido/fido.conf
here is an example that sets an ENV variable and invokes the program:
$ FIDORC=/home/jeff/haha fido -d
look at that. environment variable set, daemon launched, everything's coming up roses. πβ¨
β¨ AUTHOR β¨
Jeffrey Fulmer, et al. <jeff@joedog.org> β the original icon, the blueprint, the moment. π
β¨ SEE ALSO β¨
fido.conf(5)β go read her next, she's the whole personality of the config. π
β¨ COPYRIGHT β¨
Copyright (C) 2000-2014 by Jeffrey Fulmer, et al.
this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fr fr, no warranty. she's free, she's generous, she is not legally responsible for your log-watching choices. π
and that's the whole page, bestie!! π this was perl v5.8.8, dated 2014-12-03, and yeah β she's a 2014 girlie but she still slays. mwah, go watch some logs. ππ¦π
π¦ where this page comes from
- fedora 43: fido 1.1.5-24.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 44: fido 1.1.5-25.fc44 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms