identify
The section identify
is used to specify how identify properties of a device can be retrieved.
It only has a single parameter properties
that have the following structure:
Property | Description |
---|---|
vendor | Vendor |
model | Model description |
model_series | Model series |
serial_number | Serial number |
os_version | OS software version |
All these properties, aswell as the whole identify
section, is optional.
The value for these properties inside of the YAML files is an array of property readers. It is possible to define multiple property readers that read out the same value. Thola will try to use all of them until one succeeds, starting with the first one in the array.
The following example shows the identify
section inside the AudioCodes device class:
identify:
properties:
vendor:
- detection: constant
value: "AudioCodes"
serial_number:
- detection: snmpget
oid: ".1.3.6.1.2.1.47.1.1.1.1.11.67112960"
In this case we have two properties: vendor
and serial_number
.