2016-09-27 11:52:26 -05:00
|
|
|
source: Developing/Support-New-OS.md
|
2018-10-27 23:04:34 +01:00
|
|
|
path: blob/master/doc/
|
2016-09-27 11:52:26 -05:00
|
|
|
|
2019-06-20 13:53:45 -05:00
|
|
|
This document is broken down into the relevant sections depending on
|
|
|
|
what support you are adding. During all of these examples we will be
|
|
|
|
using the OS of `pulse` as the example OS we will add.
|
2016-09-27 11:52:26 -05:00
|
|
|
|
2019-06-20 13:53:45 -05:00
|
|
|
- [Adding the initial detection.](os/Initial-Detection.md)
|
|
|
|
- [Adding Memory and CPU information.](os/Mem-CPU-Information.md)
|
|
|
|
- [Adding Health / Sensor information.](os/Health-Information.md)
|
|
|
|
- [Adding Wireless Sensor information.](os/Wireless-Sensors.md)
|
|
|
|
- [Adding custom graphs.](os/Custom-Graphs.md)
|
|
|
|
- [Adding Unit tests (required).](os/Test-Units.md)
|
|
|
|
- [Optional Settings](os/Settings.md)
|
2017-09-04 21:38:09 +01:00
|
|
|
|
2019-06-20 13:53:45 -05:00
|
|
|
We currently have a script in pre-beta stages that can help speed up
|
|
|
|
the process of deploying a new OS. It has support for add sensors in a
|
|
|
|
basic form (except state sensors).
|
|
|
|
|
|
|
|
In this example, we will add a new OS called test-os using the device
|
|
|
|
ID 101 that has already been added. It will be of the type network and
|
|
|
|
belongs to the vendor, Cisco:
|
2017-09-04 21:38:09 +01:00
|
|
|
|
|
|
|
`./scripts/new-os.php -h 101 -o test-os -t network -v cisco`
|
|
|
|
|
2019-06-20 13:53:45 -05:00
|
|
|
The process will then step you through the process with some more
|
|
|
|
questions. Please be warned, this is currently pre-beta and may cause
|
|
|
|
some issues. Please let us know of any on [Discord](https://t.libren.ms/discord).
|