mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
apc pdu bank total fix by falz
git-svn-id: http://www.observium.org/svn/observer/trunk@1937 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -74,10 +74,11 @@ if ($device['os'] == "apc")
|
||||
|
||||
$index = $split_oid[count($split_oid)-1];
|
||||
|
||||
$descr = "Bank ".$index;
|
||||
$banknum = $index -1;
|
||||
$descr = "Bank ".$banknum;
|
||||
if ($baseversion == "3")
|
||||
{
|
||||
if ($index == "3") { $descr = "Bank Total"; }
|
||||
if ($index == "1") { $descr = "Bank Total"; }
|
||||
}
|
||||
if ($baseversion == "2")
|
||||
{
|
||||
|
Reference in New Issue
Block a user