Add ipmi plugin

This commit is contained in:
张光权 2016-03-18 16:23:52 +08:00
parent 762b33fe31
commit 3737fa864d
1 changed files with 0 additions and 7 deletions

View File

@ -34,13 +34,6 @@ func (m *Ipmi) Description() string {
}
func (m *Ipmi) Gather(acc telegraf.Accumulator) error {
if len(m.Servers) == 0 {
// if we can't get stats in this case, thats fine, don't report
// an error.
m.gatherServer(localhost, acc)
return nil
}
for _, serv := range m.Servers {
err := m.gatherServer(serv, acc)
if err != nil {