mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
discovery/voltage: remove unneeded comment, patch by Corentin Chary
git-svn-id: http://www.observium.org/svn/observer/trunk@1788 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -21,7 +21,6 @@ if ($device['os'] == "netmanplus" || $device['os'] == "deltaups")
|
||||
$volt_oid = "1.3.6.1.2.1.33.1.2.5.$volt_id";
|
||||
$divisor = 10;
|
||||
$volt = snmp_get($device, $volt_oid, "-O vq") / $divisor;
|
||||
#$volt = trim(shell_exec($config['snmpget'] . " -O qv -$snmpver -c $community $hostname:$port $volt_oid")) / $divisor;
|
||||
$descr = "Battery" . (count(explode("\n",$oids)) == 1 ? '' : ' ' . ($volt_id+1));
|
||||
$type = "rfc1628";
|
||||
$index = "1.2.5.".$volt_id;
|
||||
|
||||
Reference in New Issue
Block a user