node_exporter
                                
                                 node_exporter copied to clipboard
                                
                                    node_exporter copied to clipboard
                            
                            
                            
                        Feature request: metrics from /sys/class/watchdog
Documentation: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-watchdog
The most interesting metric would be:
What:		/sys/class/watchdog/watchdogn/bootstatus
Date:		August 2015
Contact:	Wim Van Sebroeck <[email protected]>
Description:
		It is a read only file. It contains status of the watchdog
		device at boot. It is equivalent to WDIOC_GETBOOTSTATUS of
		ioctl interface.
Which enables you determinate reboot/reset cause.
How does the context look like? But yeah in general that sounds reasonable.
As usual though, parsing should go into procfs. Or we use the ioctl interface if that can be done as non-root
Hi all, I am adding watchdog stats to procfs. I am waiting for the pull request to be merged and included in a new procfs release.
prometheus/procfs#594