mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 00:11:51 +02:00
fix discovery of IPMI for indexes
git-svn-id: http://www.observium.org/svn/observer/trunk@1770 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -12,6 +12,8 @@ if ($ipmi['host'] = get_dev_attrib($device,'ipmi_hostname'))
|
||||
|
||||
$results = shell_exec($config['ipmitool'] . " -H " . $ipmi['host'] . " -U " . $ipmi['user'] . " -P " . $ipmi['password'] . " sensor|sort");
|
||||
|
||||
$index = 0;
|
||||
|
||||
foreach (explode("\n",$results) as $sensor)
|
||||
{
|
||||
# BB +1.1V IOH | 1.089 | Volts | ok | na | 1.027 | 1.054 | 1.146 | 1.177 | na
|
||||
|
||||
Reference in New Issue
Block a user