1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00
Tony Murray e6fa86dc82 Fix memcached security vulnerability (#428)
Add snmp extend script
2022-10-16 11:15:25 -05:00

13 lines
213 B
PHP
Executable File

#!/usr/bin/php
<?php
$m = new Memcached();
$m->addServer('localhost', 11211);
$stats = $m->getStats();
if(is_array($stats))
{
echo("<<<app-memcached>>>\n");
echo(json_encode($m->getStats()));
echo("\n");
}