mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix PDNS recursor error (#15942)
This commit is contained in:
@@ -30,7 +30,7 @@ use LibreNMS\RRD\RrdDefinition;
|
||||
$data = '';
|
||||
$name = 'powerdns-recursor';
|
||||
|
||||
if ($agent_data['app'][$name]) {
|
||||
if (! empty($agent_data['app'][$name])) {
|
||||
$data = $agent_data['app'][$name];
|
||||
} elseif (Config::has('apps.powerdns-recursor.api-key')) {
|
||||
$port = Config::get('apps.powerdns-recursor.port', 8082);
|
||||
|
Reference in New Issue
Block a user