Hardware RAID monitoring daemon sample

This is a sample of the daemon program for monitoring the hardware RAID status.
This is a sample program that monitors the status of hardware RAID using CoGetRaidStatus and CoGetRaidProgress.
* The following information is for building and installing from source.

install

Please refer to the following contents when you install separately. You need to install the library in advance.

uninstall

To uninstall, execute "make service_stop" to stop the daemon, and then use "make uninstall" to delete the extracted files in each directory.(Requires root privileges.)

$ make service_stop
$ make uninstall
* Use systemd to manage this daemon.
* When changing the settings, manually edit the settings file appropriately and restart the daemon.
* For details of this sample daemon, refer to the program source and the contents of each script file.

Others

cohwraidmond.conf

■ cohwraidmond.config
  # cohwraidmond config
  # target device (/dev/sd[a-z]), polling interval[sec.]
  
  # --interval/-i option
  # (min. 10[sec.] - max. depends on int size on the system(positive integer))
  interval_timer="1800"
  
  # target device /dev/sd[a-z] (Only one device allowed)
  raid_dev="/dev/sda"