initial commit; version 22.5.12042
This commit is contained in:
22
includes/polling/os/avocent.inc.php
Normal file
22
includes/polling/os/avocent.inc.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Observium
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage poller
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
*
|
||||
*/
|
||||
|
||||
//FIXME. Need sysDescr examples
|
||||
if (str_contains_array($poll_device['sysDescr'], array( 'DSR', 'AV3')))
|
||||
{
|
||||
list($hardware, $version) = explode(' ', $poll_device['sysDescr']);
|
||||
$hardware = trim($hardware);
|
||||
$version = trim($version);
|
||||
}
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user