ossobv / gocollect

Data collector using go, periodically posts json to a REST api
GNU General Public License v3.0
6 stars 1 forks source link

ipmi collector modprobes modules when ipmitool is unavailable. #1

Closed hbos closed 8 years ago

hbos commented 8 years ago
#!/bin/sh
# vim: set ts=8 sw=4 sts=4 et ai:
# REQUIRES: coreutils(printf tr)
# REQUIRES: kmod(modprobe)
# REQUIRES: sed(sed)
# REQUIRES: util-linux(lscpu)

modprobe ipmi_msghandler
modprobe ipmi_devintf
modprobe ipmi_si

Those modules should not be modprobed when ipmitool is unavailable.

wdoekes commented 8 years ago

Fixed by adding a separate gocollect-hardware debian package.