Commit version 24.12.13800
This commit is contained in:
@ -5,19 +5,18 @@
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage poller
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage poller
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
// FIXME. Move to polling graphs
|
||||
$workq_depth = snmp_get($device, 'workQueueMessages.0', '-Ovq', 'ASYNCOS-MAIL-MIB');
|
||||
if (is_numeric($workq_depth))
|
||||
{
|
||||
rrdtool_update_ng($device, 'asyncos-workq', array('DEPTH' => $workq_depth));
|
||||
//echo("Work Queue: $workq_depth\n");
|
||||
$graphs['asyncos_workq'] = TRUE;
|
||||
if (is_numeric($workq_depth)) {
|
||||
rrdtool_update_ng($device, 'asyncos-workq', ['DEPTH' => $workq_depth]);
|
||||
//echo("Work Queue: $workq_depth\n");
|
||||
$graphs['asyncos_workq'] = TRUE;
|
||||
}
|
||||
|
||||
// EOF
|
||||
|
Reference in New Issue
Block a user