initial commit; version 22.5.12042
This commit is contained in:
23
includes/polling/os/asyncos.inc.php
Normal file
23
includes/polling/os/asyncos.inc.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage poller
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user