You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrutiny/collector/pkg/detect
Jason Kulatunga 58eaa29e4d
check for "unknown" wwn value.
4 years ago
..
detect.go adding support for a collecto config file. 4 years ago
detect_test.go adding support for a collecto config file. 4 years ago
devices_darwin.go check for "unknown" wwn value. 4 years ago
devices_freebsd.go check for "unknown" wwn value. 4 years ago
devices_linux.go check for "unknown" wwn value. 4 years ago
devices_linux_test.go fix tests. 4 years ago
devices_windows.go adding support for a collecto config file. 4 years ago
wwn.go wwn should always be lowercase for consistency. It's used in the URL for pushing smart data. 4 years ago
wwn_test.go new device detection engine (OS aware). Uses smartctl --scan to detect drives (and conditionally uses jaypipes/ghw). WWN is calculated from smartctl data, then retrieved from GHW, and fallsback to serial number. WWN calcuation code is based on IEEE spec, for "Registered" IEEE format - NAA5. TODO: support NAA6 and other formats? 4 years ago