mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@2493 61d68cd4-352d-0410-923a-c4978735b2b8
15 lines
339 B
PHP
Executable File
15 lines
339 B
PHP
Executable File
<?php
|
|
|
|
if ($device['os'] == "ironware" || $device['os_type'] == "ironware")
|
|
{
|
|
echo("Ironware Dynamic: ");
|
|
|
|
$percent = snmp_get($device, "snAgGblDynMemUtil.0", "-OvQ", "FOUNDRY-SN-AGENT-MIB");
|
|
|
|
if (is_numeric($percent))
|
|
{
|
|
discover_mempool($valid_mempool, $device, 0, "ironware-dyn", "Dynamic Memory", "1", NULL, NULL);
|
|
}
|
|
}
|
|
?>
|