mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@736 61d68cd4-352d-0410-923a-c4978735b2b8
21 lines
692 B
Plaintext
21 lines
692 B
Plaintext
|
|
Adding a new device class (os type)
|
|
===================================
|
|
|
|
Create a file in includes/osdiscovery, which fills the OS type variable if
|
|
you can identify the device as such (sysDescr or similar). Please use a
|
|
meaningful name!
|
|
|
|
Adjust discovery.php, running specific command based on OS type, if needed.
|
|
|
|
Create includes/polling/device-$osname.inc.php, for device specific polling.
|
|
|
|
Create html/pages/device/graphs/os-$osname.inc.php to display a custom graph
|
|
set for this device type.
|
|
|
|
Add an OS text name in includes/static-config.php
|
|
|
|
If desired, create a 32x32 logo, in html/images/os/$osname.png.
|
|
|
|
When tested and satisfied, please submit a patch to the development team! ;-)
|