22 lines
491 B
PHP
22 lines
491 B
PHP
<?php
|
|
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage poller
|
|
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
|
*
|
|
*/
|
|
|
|
$mib = 'PEAKFLOW-SP-MIB';
|
|
|
|
$cache_mempool = snmp_get_multi_oid($device, "devicePhysicalMemory.0 devicePhysicalMemoryInUse.0", array(), $mib);
|
|
|
|
$mempool['total'] = $cache_mempool[$index]['devicePhysicalMemory'];
|
|
$mempool['used'] = $cache_mempool[$index]['devicePhysicalMemoryInUse'];
|
|
|
|
// EOF
|