feature: Added script to generate config for new OS (#7161)

* feature: Added script to generate config for new OS

* scrut fixes
This commit is contained in:
Neil Lathwood
2017-09-04 21:38:09 +01:00
committed by GitHub
parent da0dcda409
commit edae33507a
4 changed files with 200 additions and 0 deletions

View File

@@ -10,3 +10,14 @@ During all of these examples we will be using the OS of `pulse` as the example O
> - [Adding Wireless Sensor information.](os/Wireless-Sensors.md)
> - [Adding custom graphs.](os/Custom-Graphs.md)
> - [Adding Unit tests (required).](os/Test-Units.md)
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:
`./scripts/new-os.php -h 101 -o test-os -t network -v cisco`
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 IRC.