mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
5edc32376b
git-svn-id: http://www.observium.org/svn/observer/trunk@2861 61d68cd4-352d-0410-923a-c4978735b2b8
15 lines
308 B
PHP
Executable File
15 lines
308 B
PHP
Executable File
<?php
|
|
|
|
if ($device['os'] == "powerconnect")
|
|
{
|
|
echo("Powerconnect: ");
|
|
|
|
$free = snmp_get($device, "dellLanExtension.6132.1.1.1.1.4.1.0", "-OvQ", "Dell-Vendor-MIB");
|
|
|
|
if (is_numeric($free))
|
|
{
|
|
discover_mempool($valid_mempool, $device, 0, "powerconnect-cpu", "CPU Memory", "1", NULL, NULL);
|
|
}
|
|
}
|
|
?>
|