diff options
author | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-07-08 16:24:29 +0200 |
---|---|---|
committer | Johannes 'fish' Ziemke <github@freigeist.org> | 2014-07-09 14:56:06 +0200 |
commit | f47abc5d063b177206f3b1b3c565956c4da733d8 (patch) | |
tree | 7c8223c84a9556f9e6ee070bb7ee6276cecad115 /collector/collector.go | |
parent | eb17b5fc9d8e489b6d9678eca0a9c32b85789b33 (diff) | |
download | prometheus_node_collector-f47abc5d063b177206f3b1b3c565956c4da733d8.tar.bz2 prometheus_node_collector-f47abc5d063b177206f3b1b3c565956c4da733d8.tar.xz prometheus_node_collector-f47abc5d063b177206f3b1b3c565956c4da733d8.zip |
Add MegaCLI collector
This collector exports the following metrics:
- raid_drive_temperature: drive temperature
- raid_drive_count: drive error and event counters
- raid_adapter_disk_presence: disk presence per adapter
Diffstat (limited to 'collector/collector.go')
-rw-r--r-- | collector/collector.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/collector/collector.go b/collector/collector.go index 47deb2e..2e78198 100644 --- a/collector/collector.go +++ b/collector/collector.go | |||
@@ -18,5 +18,6 @@ type Collector interface { | |||
18 | // time.) | 18 | // time.) |
19 | 19 | ||
20 | type Config struct { | 20 | type Config struct { |
21 | Config map[string]string `json:"config"` | ||
21 | Attributes map[string]string `json:"attributes"` | 22 | Attributes map[string]string `json:"attributes"` |
22 | } | 23 | } |