A slightly tweaked macosx agent compared to the official one. As of 2.0.0p19 this agent has the following improvements:
-
filters out temporarely appearing filesystems
-
reports network statistics somewhat correctly
-
runs ntp check only on macOS 10.12 and below since broken with newer macOS releases
-
runs timemachine check only on macOS 10.13 and below since broken with newer macOS releases
-
on recent Intel Macs reports thermals and fan speeds by using macOS'
powermetrics
tool -
on older Intel Macs reports thermal sensors if HardwareMonitor is available or iStatistica
-
on Apple Silicon Macs reports thermal sensors and fan speeds if iStatistica is available
-
reports SMART health data and disk temperatures if
smartctl
is available (brew install smartmontools
) -
reports battery info and status
-
reports outstanding security updates
-
reports a warning if security updates require a reboot
-
supports HW/SW inventory (Mac/cpu/OS/devices info, serial numbers, installed apps, homebrew packages)
-
bundled with a LaunchDaemon that needs to be loaded as below (if you want more fine grained control who can access the agent's output see here for example):
launchctl load -w /Library/LaunchDaemons/de.mathias-kettner.check_mk.plist
It looks like this with an old MacPro having plenty of hardware sensors, running with available HardwareMonitor.app
and macOS prior to 10.15:
It looks like this with a new M1 MacBook Air having plenty of hardware sensors, running with iStatistica.app
and macOS 11:
The fully searchable HW/SW inventory looks like this on a MacBook Pro:
Inventory history can be used to track software changes (Apps and homebrew packages):
- 23M (colocation) downtime/maintainance
- Active users of Helios EtherShare/PCShare, Samba, Netatalk, macOS server, Filemaker
- Borgbackup
- Canonical Livepatch
- City temperatures via openweathermap.org
- Expiring Helios WebShare user accounts
- Expiring Julia Mailoffice certificates
- Expurgate spam/virus protection
- Filemaker server on macOS or Linux
- Invalid logins for Kerio Connect
- Consumption and fan speeds via IPMI for some server types
- Kerio Connect
- Netio switchable powermeters
- NFON services downtime/maintainance
- Outstanding macOS updates with JAMF Pro
- Reboot needed on Linux?
- SHT4x thermal/humidity sensors accessible via I2C
- SMART for ODROID HC2 and other JMS578 devices
- TimeMachine client based on Netatalk
- Znapzend / ZFS snapshot age
- Zswap