mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Strip backslash return from snmp_get extend (#10724)
* Strip backslash return from snmp_get extend * Update powerdns-recursor.inc.php * Update powerdns-recursor.inc.php
This commit is contained in:
@@ -48,7 +48,7 @@ if ($agent_data['app'][$name]) {
|
||||
} else {
|
||||
// nsExtendOutputFull."powerdns-recursor"
|
||||
$oid = '.1.3.6.1.4.1.8072.1.3.2.3.1.2.17.112.111.119.101.114.100.110.115.45.114.101.99.117.114.115.111.114';
|
||||
$data = snmp_get($device, $oid, '-Oqv');
|
||||
$data = stripslashes(snmp_get($device, $oid, '-Oqv'));
|
||||
}
|
||||
|
||||
if (!empty($data)) {
|
||||
|
||||
Reference in New Issue
Block a user