mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user