Commit Graph

4 Commits

Author SHA1 Message Date
Andreas Bachlechner c87fe89db4 Add use_nan_for_missing_data to nvme.pm 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 1dfa33d662 Reduce boilerplate. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 88f790fb55 Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 1888ff027e Add nvme.pm
It can be configured via:
<nvme>
        <list>
                0 = /dev/nvme0
        </list>
        rigid = 0
        limit = 10
        <alerts>
                availspare_enabled = n
                availspare_timeintvl = 0
                availspare_threshold = 1
                availspare_script = /path/to/script.sh
                percentused_enabled = n
                percentused_timeintvl = 0
                percentused_threshold = 1
                percentused_script = /path/to/script.sh
        </alerts>
</nvme>
2021-10-22 07:41:09 +02:00