Langue: en

Autres versions - même langue

Version: 327987 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)


msgcache - Cache client messages for later pickup by hobbitfetch


msgcache [options]


msgcache implements a Hobbit message cache. It is intended for use with clients which cannot deliver their data to the Hobbit server in the normal way. Instead of having the client tools connect to the Hobbit server, msgcache runs locally and the client tools then deliver their data to the msgcache daemon. The msgcache daemon is then polled regularly by the hobbitfetch(8) utility, which collects the client messages stored by msgcache and forwards them to the Hobbit server.

NOTE: When using msgcache, the BBDISP setting for the clients should be BBDISP= instead of pointing at the real Hobbit server.


Clients delivering their data to msgcache instead of the real Hobbit server will in general not notice this. Specifically, the client configuration data provided by the Hobbit server when a client delivers its data is forwarded through the hobbitfetch / msgcache chain, so the normal centralized client configuration works.

However, other commands which rely on clients communicating directly with the Hobbit server will not work. This includes the config and query commands which clients may use to fetch configuration files and query the Hobbit server for a current status.

The download command also does not work with msgcache. This means that the automatic client update facility will not work for clients communicating via msgcache.


Defines the IP-address and portnumber where msgcache listens for incoming connections. By default, msgcache listens for connections on all network interfaces, port 1984.
Restricts which servers are allowed to pick up the cached messages. By default anyone can contact the msgcache utility and request all of the cached messages. This option allows only the listed servers to request the cached messages.
Defines how long cached messages are kept. If the message has not been picked up with N seconds after being delivered to msgcache, it is silently discarded. Default: N=600 seconds (10 minutes).
Run as a daemon, i.e. msgcache will detach from the terminal and run as a background task
Run as a foreground task. This option must be used when msgcache is started by hobbitlaunch(8) which is the normal way of running msgcache.
Store the process ID of the msgcache task in FILENAME.
Log msgcache output to FILENAME.
Enable debugging output.


hobbitfetch(8), hobbit(7)