KOPANO-MONITOR(8)

πŸ“¦ version 8.7.0, in ubuntu jammy

πŸ’– KOPANO-MONITOR(8) πŸ’–

okay bestie, so this is kopano-monitor, part of the Kopano Core user reference, and she is literally the girl who keeps an eye on everybody's mailbox size πŸ‘€βœ¨ no cap.


🌸 NAME 🌸

kopano-monitor β€” start the Kopano monitor. that's it, that's the job, and she does it flawlessly πŸ’…


✨ SYNOPSIS ✨

kopano-monitor [OPTION...] [SERVERNAME]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the monitor's whole thing is checking user mailbox sizes. the way that it just watches πŸ‘‘

when someone's quota gets reached, the monitor sends a quota email. and once you start it? it keeps running. she does not clock out. main character energy fr fr.

the defaults can be overwritten in the config file, iykyk.

the default settings of the monitor program are defined in kopano-monitor.cfg(5). go read her, she's iconic πŸ“–


πŸŽ€ OPTIONS πŸŽ€

various options are possible, and ngl, none of these options are required. she's lowkey chill like that.

  • --config, -c monitor.cfg β€” tells her where the monitor.cfg file lives. if you don't specify the monitor.cfg file, the monitor will try to load /etc/kopano/monitor.cfg. and if that file isn't there either? she just continues using her default settings, no drama πŸ’β€β™€οΈ

Default: /etc/kopano/monitor.cfg

  • --dump-config β€” displays the values of gateway.cfg configuration parameters and the implied defaults. yes, gateway.cfg, that's what it says, don't come for me 🫢
  • --host, -h path β€” connect to the storage server through path, like for example file:///path/to/socket. Default: file:///var/run/kopano/server.sock.
  • --foreground, -F β€” run in the foreground. normally the monitor will daemonize and run in the background, but this one says stay right here with me βœ‹

🌈 SIGNALS 🌈

these are the signals you can send to the kopano-monitor process, and they all do something:

  • HUP β€” when the HUP signal is received, some options from the configuration file get reloaded πŸ”„ the reloadable options are listed in the kopano-monitor.cfg(5) manual page, so check her for the receipts.

also, when using log_method = file, the logfile will be closed and a brand new logfile will be opened. so you can absolutely use this signal in your logrotate system, bestie β€” it's giving practical πŸ’…

  • TERM β€” to gracefully let the service exit, the normal TERM signal is used. a soft goodbye, not a slam the door moment πŸšͺ✨

πŸ’œ USAGE πŸ’œ

again for the people in the back: the monitor checks user mailbox sizes. the monitor sends a quota email when the warning quota limit is reached. and when started, the program will keep running. she's committed 🫢

you may also use the init.d scripts:

/etc/init.d/kopano-monitor [start| stop| restart]

(yes, there's a space in there after that first pipe. keep it exactly like that, she's quirky like that πŸ™ˆ)


πŸ‘‘ AUTHOR πŸ‘‘

written by Kopano. icons only.


πŸ“ SEE ALSO πŸ“


⭐ quick vibe check: the defaults live in the config file, and the config file's whole lore is in kopano-monitor.cfg(5). that's your homework, bestie πŸ“š

and that's the whole page, no notes πŸ’– this was Kopano 8, from November 2016 β€” yeah she's a vintage queen but she still slays, periodt πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from