Add support for a configuration file.

Adding a coniguration file (/etc/sysmon.ini).  This will allow users to
no monitor the temperature of speciic drives by ignoring them, as well
as ignoring the performance from specific drives.

For instance on a system running mdraid, you could ignore performance on
all of the drives that make up the raid array, and ignore the
temperature of the raid device.
This commit is contained in:
Jeff Curless
2025-11-02 16:10:22 -05:00
parent 927f00f655
commit a1ac933238
4 changed files with 129 additions and 23 deletions

5
monitor/test.ini Normal file
View File

@@ -0,0 +1,5 @@
[temperature]
ignore = "mmcblk0"
[performance]
ignore = "mmcblk0"