docs: Updated Oxidized.md to show use of arrays (#8547)

Wanted to clarify how the array in ignore_types and ignore_os works cause i personally was dense and added multiple lines which overwrote themselves.
This commit is contained in:
Atroskelis 2018-04-11 11:24:18 +03:00 committed by Neil Lathwood
parent bc5b0f84cc
commit 6a26ac6dac

View File

@ -118,8 +118,8 @@ If you have devices which you do not wish to appear in Oxidized then you can edi
It's also possible to exclude certain device types and OS' from being output via the API. This is currently only possible via config.php:
```php
$config['oxidized']['ignore_types'] = array('server');
$config['oxidized']['ignore_os'] = array('linux');
$config['oxidized']['ignore_types'] = array('server','power');
$config['oxidized']['ignore_os'] = array('linux','windows');
```
### Trigger configuration backups
@ -135,4 +135,4 @@ next_adds_job: true
You can perform basic validation of the Oxidized configuration by going to the Overview -> Tools -> Oxidized link and in the Oxidized config validation page, paste your
yaml file into the input box and click 'Validate YAML'.
We check for yaml syntax errors and also actual config values to ensure they are used in the correct location.
We check for yaml syntax errors and also actual config values to ensure they are used in the correct location.