Skip to content

config.toml

Each machine has its own config.toml. It’s optional: with no file, mm-core uses the defaults below.

OS Where
Linux /etc/mm/config.toml
macOS ~/Library/Application Support/mm/config.toml
Windows C:\ProgramData\mm\config.toml

mm-core status prints the path, mm-core config prints the file, and the machine’s Machine tab in the dashboard shows where it is. The desktop app’s Edit Config File… edits it.

Most settings also change from the dashboard’s Settings or from mm-core commands, which write them here. When you edit the file by hand, mm-core notices within a few seconds and restarts with it. If the edit has a mistake, it keeps running with the settings it had, and the dashboard shows the problem at the top of every page until it’s fixed.

role = "host" # agent (default), host or both
name = "Office Mac" # what the fleet shows; the hostname if unset
ignore_disks = ["/Volumes/Backup"]
[collectors.thermal]
enabled = false
[collectors.disk]
interval_s = 60
Setting Default
role "agent" agent reports to hosts; host collects the fleet; both does both
name the hostname This machine’s name in the fleet (mm-core name)
discovery true Find hosts on the network (mDNS). Turn off where multicast is blocked, and pair by address
port 47470 Where a host accepts agents (TCP)
api_port 47471 The local API, on 127.0.0.1 only
dashboard true Let browsers open the dashboard (mm-core dashboard on|off). The app works either way
remote false Remote access; turned on by mm-core set-password
remote_port 47472 Remote access’s HTTPS port
history_days 365 Hosts: days of history to keep
ignore_disks [] Disks not to report, by where they’re mounted: "/Volumes/Backup", "D:\\"
os_events true Errors from the OS logs as events
os_event_processes [] macOS: processes whose errors become events, such as "backupd"
syslog false The syslog listener, on 127.0.0.1
syslog_port 5514 Its port, UDP and TCP
alerts see Alerts Hosts: the alert rules
[collectors.<name>] enabled and interval_s for a built-in collector: cpu, mem, disk, net, thermal, system
[[exec]] Your own scripts
[[alerts]]
metric = "disk.usage"
above = 90
minutes = 10
[[alerts]]
metric = "offline"
minutes = 5
severity = "critical"
machines = ["7a6a509b…"] # full machine IDs; leave out for every machine