bluechi-agent.conf(5)
π¦ bluechi-agent.conf(5) β the manual, but make it a group chat π¦
okay bestie, listen. this is the page for bluechi-agent.conf, and it's giving bootstrap energy. if you've ever wondered how bluechi-agent gets itself out of bed in the morning, it's this file. let's get into it π
β¨ NAME β¨
agent.conf β the configuration file that bootstraps bluechi-agent. like, the whole glow-up starts here, no cap.
πΈ DESCRIPTION πΈ
The basic file definition used to bootstrap bluechi-agent. that's the vibe. it's the little file that tells the agent who it is and where it's going.
π Format π
The bluechi-agent configuration file is using the systemd configuration file format β yes, that one β at https://www.freedesktop.org/software/systemd/man/systemd.syntax.html.
but here's the plot twist, bestie: contrary to systemd, there is no need for the\symbol at the end of a line to continue a value onto the next line. a value continued over multiple lines just gets concatenated bybluechi, effortlessly, main character behaviour β¨
the maximum line length supported is 500 characters. if your value exceeds that limit, use multiple, indented lines. periodt.
π bluechi-agent section π
All the fields you need to bootstrap the bluechi-agent live in the bluechi-agent section. Here's every key that bluechi-agent understands β yes, all of them, we're not skipping a single one π
β NodeName (string)
The unique name of this agent. It defaults to the system's hostname. it's literally the agent's whole identity.
π¦ ControllerAddress (string)
The SD Bus address used by bluechi-agent to connect to bluechi. Peep man sd_bus_set_address for its format, iykyk.
heads up: this overrides any setting ofControllerHostorControllerPortdefined in the configuration file, as well as the respective CLI options. it wins, always.
The option doesn't have a default value.
π ControllerHost (string)
The host used by bluechi-agent to connect to bluechi. Must be a valid IPv4 or IPv6. ControllerHost defaults to localhost 127.0.0.1. It's mandatory to set this field if the bluechi agent is on a remote system. like, you literally have to, bestie.
π ControllerPort (uint16_t)
The port on which bluechi is listening for connection requests and the bluechi-agent is connecting to. By default, port 842 is used. iconic number, honestly.
π« HeartbeatInterval (long)
The interval between two heartbeat signals sent to bluechi, in milliseconds. If an agent is not connected, it will retry to connect on each heartbeat. Setting this option to values smaller or equal to 0 disables it.
This option will overwrite the heartbeat interval defined in the configuration file.
π«Ά ControllerHeartbeatThreshold (long)
The threshold, in milliseconds, used to determine whether a bluechi agent is disconnected. If the controller's last heartbeat signal was received before this threshold, bluechi-agent assumes that the controller is down or that the connection was cut off β and it performs a disconnect. brutal but fair π
π LogLevel (string)
The level used for logging. Supported values are:
DEBUGINFOWARNERROR
By default, INFO level is used for logging.
πΈ LogTarget (string)
The target where logs are written to. Supported values are:
stderrstderr-fulljournald
By default, journald is used as the target.
π LogIsQuiet (string)
If this flag is set to true, no logs are written by bluechi. By default, the flag is set to false.
π₯ IPReceiveErrors (string)
If this flag is set to true, it enables extended, reliable error message passing for the peer connection with the controller. This results in BlueChi receiving errors such as host unreachable ICMP packets instantly and possibly dropping the connection. This is useful to detect disconnects faster, but should be used with care, as this might cause unnecessary disconnects in less robut networks.
Default: true.
so real: fast detection is great until it disconnects you for drama. use with care, bestie.
π§ TCPKeepAliveTime (long)
The number of seconds the TCP connection of the agent with the controller needs to be idle before keepalive packets are sent. When TCPKeepAliveTime is set to 0, the system default will be used.
Default: 1s.
π TCPKeepAliveInterval (long)
The number of seconds between each keepalive packet. When TCPKeepAliveInterval is set to 0, the system default will be used.
Default: 1s.
π TCPKeepAliveCount (long)
The number of keepalive packets without ACK from the controller till the connection is dropped. When TCPKeepAliveCount is set to 0, the system default will be used.
Default: 6.
β¨ ConnectionRetryCountUntilQuiet (long)
The number of connection retries until the logs of bluechi-agent are silenced, so it doesn't perpetually produce logs. bluechi-agent will still keep trying to reconnect though β it's persistent like that π«Ά
After a successful connection, the original setting of LogIsQuiet will be restored.
Default: 10.
π Example π
Using ControllerHost and ControllerPort options:
[bluechi-agent]
NodeName=agent-007
ControllerHost=127.0.0.1
ControllerPort=842
LogLevel=DEBUG
LogTarget=journald
LogIsQuiet=false
Using ControllerAddress option:
[bluechi-agent]
NodeName=agent-007
ControllerAddress=tcp:host=127.0.0.1,port=842
LogLevel=DEBUG
LogTarget=journald
LogIsQuiet=false
Using a value that is continued on multiple lines:
[bluechi-agent]
NodeName=agent-007
ControllerAddress=tcp:
host=127.0.0.1,
port=842
LogLevel=DEBUG
LogTarget=journald
LogIsQuiet=false
π FILES π
Distributions provide the /usr/share/bluechi/config/agent.conf file, which defines bluechi-agent configuration defaults. Administrators can copy this file to /etc/bluechi/agent.conf and specify their own configuration.
Administrators can also use a "drop-in" directory /etc/bluechi/agent.conf.d to drop their configuration changes. drop-ins are the moment, fr fr β¨
π SEE ALSO π
and that's the whole page, bestie π«Ά this was bluechi-agent.conf(5) β shoutout to the File Formats Manual, and big love to the Eclipse BlueChi project for the source. go configure something gorgeous π
π¦ where this page comes from
- fedora 43: bluechi-agent 1.1.0-3.fc43 Β· LGPL-2.1-or-later AND CC0-1.0
- fedora 43: bluechi-agent 1.3.0-1.fc43 Β· LGPL-2.1-or-later AND CC0-1.0
- fedora 44: bluechi-agent 1.2.2-1.fc44 Β· LGPL-2.1-or-later AND CC0-1.0
- fedora 44: bluechi-agent 1.3.0-1.fc44 Β· LGPL-2.1-or-later AND CC0-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms