mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This commit is contained in:
committed by
Tony Murray
parent
6bc7b1991e
commit
5cdaee16f6
@@ -7,7 +7,7 @@ if (!empty($agent_data['app']['memcached'])) {
|
||||
} else {
|
||||
$oid = '.1.3.6.1.4.1.8072.1.3.2.3.1.2.9.109.101.109.99.97.99.104.101.100';
|
||||
$result = snmp_get($device, $oid, '-Oqv');
|
||||
$result = unserialize(str_replace("<<<app-memcached>>>\n", '', $result));
|
||||
$result = unserialize(stripslashes(str_replace("<<<app-memcached>>>\n", '', $result)));
|
||||
$data = reset($result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user