29 Commits

Author SHA1 Message Date
e9e30c5e98 Add sysDescr and hardware for oxidized overrides (#8885) 2018-07-09 20:25:26 +01:00
08022aae7a api: Map LibreNMS OS' to known Oxidized models (#8758) 2018-05-24 22:08:44 -05:00
b6ed5751ec api: Allow more complete overrides on Oxidized output (#8633)
This patch provides the ability to override most aspects of the configuration output provided to Oxidized. This is now backwards compatible with any current groups defined previously but allows for extra features such as group overrides in Oxidized as well as IP changes (for hosts that are treated differently inside Oxidized), as well as ProxyHost additions. Of course, this goes further and allows for any flag that can be defined within Oxidized to be mapped in the config.

Examples

1) Define a group for these hosts
```php
$config['oxidized']['maps']['group']['sysname'][] = array('regex' => '/^(foo|bar)/', 'group' => 'myGroup');
$config['oxidized']['maps']['group']['sysname'][] = array('regex' => '/^(baz)/', 'group' => 'anotherGroup');
```
2) Provide a proxy host for these hosts to bounce through
```php
$config['oxidized']['maps']['ssh_proxy']['sysname'][] = array('regex' => '/foo/', 'ssh_proxy' => 'mySshProxyHost');
$config['oxidized']['maps']['ssh_proxy']['sysname'][] = array('regex' => '/bar/', 'ssh_proxy' => 'anotherSshProxyHost');
```
3) Allow overrides of IP addresses so the external DNS is not used for connections
```php
$config['oxidized']['maps']['ip']['sysname'][] = array('regex' => '/baz/', 'ip' => '10.10.0.23');
$config['oxidized']['maps']['ip']['sysname'][] = array('regex' => '/lala/', 'ip' => '192.168.0.243');
```
As already mentioned, this doesn't stop with the above examples.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
2018-05-23 22:00:39 +01:00
6a26ac6dac 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.
2018-04-11 09:24:18 +01:00
d26d142700 webui: Added Oxidized config validator (#7983)
* webui: Added Oxidized config validator

* final updates

* small changes like box height + indicate config is valid

* docs + small changes
2018-01-11 07:21:05 -06:00
348f5012b1 api: Added sysname as filtering group for oxidized (#7485)
* Add sysname as filtering group for oxidized

* Updated Oxidized docs with new filtering option
2017-10-15 19:37:20 +01:00
f1b50737bb Docs refactor (#7389)
* docs: Refactored docs for new layout

* some more changes

* more doc updates

* More doc updates

* small update

* small update
2017-10-02 21:36:22 +01:00
bcc618a3ad feature: Added Syslog hooks for Oxidized integration (and more) (#6785)
* Creating syslog hooks with example script for Oxidized integration

* Corrected IOS-XR matching and stopped spurious calls to Oxidized
2017-06-17 15:21:21 +01:00
a488116c9a Remove code tag (#5864) 2017-02-11 09:15:51 +00:00
9dbc8767c4 Fix unordered list (#5863) 2017-02-10 19:27:51 -06:00
4ec373f749 docs: Add a getting started section to the Oxidized docs (#5861) 2017-02-10 21:19:17 +00:00
94bdff3b86 docs: Update Oxidized integration to show example of SELinux setup 2017-01-30 17:59:35 +00:00
bcb4d36643 docs: Updated Oxidized.md (#5224) 2016-12-22 21:24:29 +00:00
9f1930a81e More more docs (#4197)
* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements
2016-08-25 18:40:11 -05:00
383c50b4f4 Updated docs to have source to use for edit github (#4185)
* Added source link for edit on github

* Updated formatting issues

* Updated formatting issues

* Updated formatting issues
2016-08-24 08:12:20 +01:00
laf
f0fb602046 Added support for os in oxidized groups 2016-03-05 00:48:51 +00:00
31897758e5 Restore $config['oxidized']['features']['versioning']. 2016-02-12 14:27:55 -06:00
aa9d4798dc Remove $config['oxidized']['features']['versioning']. I did not update the schema to remove the entry from the config table.
Update the documentation a bit.

Issue #2812
2016-02-12 10:23:49 -06:00
437d1fc40c Removed extra spaces from ends of lines. 2016-01-30 21:06:58 -05:00
4581366bf4 Add WebUI settings 2016-01-17 19:19:56 +01:00
c91a7081cc Basic commit 2016-01-17 17:48:44 +01:00
9c0854a546 Added group mapping in sample config for Oxidized for groups 2016-01-16 13:58:47 +01:00
94ab3141f8 Clarify Oxidized Groups Documentation
Break groups out into their own section.
Show how to specify credentials for groups in Oxidized.

Issue #2464
2016-01-15 10:32:48 -06:00
laf
5c03ccc8c4 Doc spelling mistakes 2016-01-10 21:41:02 +00:00
laf
a35f6d8c7a Added group support for Oxidized 2016-01-10 19:45:54 +00:00
laf
6dfc186bb5 Added ability to filter devices by type and os for Oxizied api call 2015-12-02 20:22:38 +00:00
laf
b0f638c0f9 Updated oxidized docs 2015-10-10 13:52:26 +00:00
laf
91a61e285c Removed notice that upstream PR is waiting to be merged 2015-09-04 09:07:30 +00:00
laf
0a478e7ef9 Added support for Oxidized versioning 2015-09-04 01:06:16 +00:00