collect firmware version (#82)
collect packages/firmware versions and export them as labels for gauge under : mikrotik_system_package * updated versions of dependent libs * fetch firmware version as gauge * fixed the things that needed to be fixed
This commit is contained in:
@@ -90,6 +90,13 @@ func WithDHCPv6() Option {
|
||||
}
|
||||
}
|
||||
|
||||
// WithFirmware grab installed firmware and version
|
||||
func WithFirmware() Option {
|
||||
return func(c *collector) {
|
||||
c.collectors = append(c.collectors, newFirmwareCollector())
|
||||
}
|
||||
}
|
||||
|
||||
// WithHealth enables board Health metrics
|
||||
func WithHealth() Option {
|
||||
return func(c *collector) {
|
||||
|
||||
Reference in New Issue
Block a user