mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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:
@@ -11,6 +11,8 @@ if ($ipmi['host'] = get_dev_attrib($device,'ipmi_hostname'))
|
||||
$ipmi['password'] = get_dev_attrib($device,'ipmi_password');
|
||||
|
||||
$results = shell_exec($config['ipmitool'] . " -H " . $ipmi['host'] . " -U " . $ipmi['user'] . " -P " . $ipmi['password'] . " sensor|sort");
|
||||
|
||||
$index = 0;
|
||||
|
||||
foreach (explode("\n",$results) as $sensor)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user