MSGCACHE(8)
π MSGCACHE π β like, the manual page for msgcache(8), bestie
okay so this is msgcache from section 8 of the System Manager's Manual, and honestly? she's a little queen of caching. let's get into it π
β¨ NAME β¨
msgcache β cache client messages for later pickup by xymonfetch π¦
πΈ SYNOPSIS πΈ
msgcache [options]
π DESCRIPTION π
okay so msgcache implements a Xymon message cache, and it's literally built for clients that cannot deliver their data to the Xymon server the normal way. like, they just can't, bestie, don't make them π
So instead of having the client tools connect to the Xymon server directly, msgcache runs locally, and the client tools deliver their data to the msgcache daemon instead. Then msgcache just sits there holding all that data like a good little backpack π and gets polled regularly by the xymonfetch(8) utility β which collects the client messages stored by msgcache and forwards them to the Xymon server. slay, teamwork, periodt β¨
NOTE: when you're usingmsgcache, theXYMSRVsetting for the clients should beXYMSRV=127.0.0.1instead of pointing at the real Xymon server. don't skip this, it's giving important π
π« RESTRICTIONS π«
Clients delivering their data to msgcache instead of the real Xymon server will, in general, not notice this. like, they're living their best life, totally oblivious π
Specifically: the client configuration data provided by the Xymon server when a client delivers its data is forwarded through the xymonfetch / msgcache chain, so the normal centralized client configuration totally works. no cap π
BUT β and this is the part where we hold hands π«Ά β other commands which rely on clients communicating directly with the Xymon server will not work. that includes:
- the
configcommand - the
querycommand
which clients may use to fetch configuration files and query the Xymon server for a current status. nope, not happening, not today π
The download command also does not work with msgcache. Which means the automatic client update facility will not work for clients communicating via msgcache. she's not coming to that party, sorry bestie π
β OPTIONS β
--listen=IPADDRESS[:PORT]β Defines the IP-address and portnumber wheremsgcachelistens for incoming connections. By default,msgcachelistens for connections on all network interfaces, port 1984. yes queen, all of them π--server=IPADDRESS[,IPADDRESS]β Restricts which servers are allowed to pick up the cached messages. By default anyone can contact themsgcacheutility and request all of the cached messages (iconic but also kind of chaotic tbh π). This option allows only the listed servers to request the cached messages. set your boundaries bestie, it's giving self-care π--max-age=Nβ Defines how long cached messages are kept. If the message has not been picked up withinNseconds after being delivered tomsgcache, it is silently discarded. gone. poof. no note, no text back π¦ Default:N=600seconds (10 minutes).--daemonβ Run as a daemon, i.e.msgcachewill detach from the terminal and run as a background task. main character energy, doesn't need the spotlight π--no-daemonβ Run as a foreground task. This option must be used whenmsgcacheis started byxymonlaunch(8), which is the normal way of runningmsgcache. fr fr, this is the usual setup π₯--pidfile=FILENAMEβ Store the process ID of themsgcachetask inFILENAME.--logfile=FILENAMEβ Logmsgcacheoutput toFILENAME.--debugβ Enable debugging output. the receipts, the lore, the whole story π
π SEE ALSO π
and that's the whole vibe check, bestie π this page is from Xymon, Version 4.3.30: 4 Sep 2019 β yes she's been around a minute, and she still ate π β¨ bye ily π
π¦ where this page comes from
- debian bookworm: xymon-client 4.3.30-1+b2 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: xymon-client 4.3.30-4 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon-client 4.3.30-1build2 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon-client 4.3.30-1ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon-client 4.3.30-2build3 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon-client 4.3.30-2ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: xymon-client 4.3.30-4
- ubuntu resolute: xymon-client 4.3.30-5 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: xymon-client 4.3.30-6 Β· GPL-2.0-only WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms