Observium_CE/includes/polling/os/asyncos.inc.php

23 lines
479 B
PHP

<?php
/**
* Observium
*
* This file is part of Observium.
*
* @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', ['DEPTH' => $workq_depth]);
//echo("Work Queue: $workq_depth\n");
$graphs['asyncos_workq'] = TRUE;
}
// EOF