diff --git a/html/images/os/foundry.png b/html/images/os/foundry.png new file mode 100644 index 0000000000..7de9b0c651 Binary files /dev/null and b/html/images/os/foundry.png differ diff --git a/includes/definitions.inc.php b/includes/definitions.inc.php index f8a2f9a74d..295545e6f2 100644 --- a/includes/definitions.inc.php +++ b/includes/definitions.inc.php @@ -2076,6 +2076,18 @@ $config['os'][$os]['over'][1]['text'] = 'CPU Usage'; $config['os'][$os]['over'][2]['graph'] = 'device_mempool'; $config['os'][$os]['over'][2]['text'] = 'Memory Usage'; +// Foundry Networking +$os = 'foundryos'; +$config['os'][$os]['text'] = 'Foundry Networking'; +$config['os'][$os]['type'] = 'network'; +$config['os'][$os]['icon'] = 'foundry'; +$config['os'][$os]['over'][0]['graph'] = 'device_bits'; +$config['os'][$os]['over'][0]['text'] = 'Device Traffic'; +$config['os'][$os]['over'][1]['graph'] = 'device_processor'; +$config['os'][$os]['over'][1]['text'] = 'CPU Usage'; +$config['os'][$os]['over'][2]['graph'] = 'device_mempool'; +$config['os'][$os]['over'][2]['text'] = 'Memory Usage'; + // Graph Types require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php'; diff --git a/includes/discovery/os/foundryos.inc.php b/includes/discovery/os/foundryos.inc.php new file mode 100644 index 0000000000..9bdc542696 --- /dev/null +++ b/includes/discovery/os/foundryos.inc.php @@ -0,0 +1,17 @@ + + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ + +if (!$os) { + if (str_contains($sysDescr, 'Foundry Networks')) { + $os = 'foundryos'; + } +} diff --git a/includes/polling/os/foundryos.inc.php b/includes/polling/os/foundryos.inc.php new file mode 100644 index 0000000000..6d8fb7a6e6 --- /dev/null +++ b/includes/polling/os/foundryos.inc.php @@ -0,0 +1,14 @@ + + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. Please see LICENSE.txt at the top level of + * the source code distribution for details. + */ + +preg_match('/Foundry Networks (.*)/', $poll_device['sysDescr'], $data); +$hardware = $data[1];