fix: Fixed variable setting for new Bind poller in agent mode (#6671)

* Update unbound.inc.php

* Update unbound.inc.php

* Create unbound_cache.inc.php

* Update AUTHORS.md

* Update apps.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php

* Update bind.inc.php
This commit is contained in:
Slashdoom
2017-05-19 22:18:36 +12:00
committed by Neil Lathwood
parent e28eb690fe
commit c52b38b9ee

View File

@ -2,15 +2,16 @@
use LibreNMS\RRD\RrdDefinition;
echo ' bind ';
$name = 'bind';
$app_id = $app['app_id'];
echo " $name";
if (!empty($agent_data['app'][$name])) {
$bind = $agent_data['app'][$name];
} else {
$name = 'bind';
$app_id = $app['app_id'];
$options = '-O qv';
$mib = 'NET-SNMP-EXTEND-MIB';
$mib = 'NET-SNMP-EXTEND-MIB';
$oid = 'nsExtendOutputFull.4.98.105.110.100';
$bind = snmp_get($device, $oid, $options, $mib);
}