24 lines
561 B
PHP
24 lines
561 B
PHP
<?php
|
|
/**
|
|
* Observium
|
|
*
|
|
* This file is part of Observium.
|
|
*
|
|
* @package observium
|
|
* @subpackage discovery
|
|
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2021 Observium Limited
|
|
*
|
|
*/
|
|
|
|
$valid['inventory'] = array();
|
|
|
|
$include_dir = "includes/discovery/inventory";
|
|
include($config['install_dir']."/includes/include-dir-mib.inc.php");
|
|
|
|
check_valid_inventory($device);
|
|
|
|
$GLOBALS['module_stats'][$module]['status'] = safe_count($valid[$module]);
|
|
if (OBS_DEBUG && $GLOBALS['module_stats'][$module]['status']) { print_vars($valid[$module]); }
|
|
|
|
// EOF
|