How to register an SNMP device type
In the current setting, a type of device using SNMP is configured by uploading MIBs and defining a MeasurementDevice custom resource.
The operator generates SNMP module config (snmp.yml) and triggers a reload of chantico-snmp.
In our First use-case (see goal.md) this corresponds to the registerPDU phase.
- Upload the MIBS:
- Port-forward the filebrowser
- Login with (user: admin, password: admin)
- Upload your MIBS files in
snmp/mibs - Create the MeasurementDevice matching the required type of MeasurementDevice
- Create a
measurement_device.yamlfile
- Apply the yaml file
- Verify the new device setting
- Wait for the SNMP generator job to complete
- The generated config is stored on the shared volume at
snmp/yml/snmp.yml. - Port-forward the SNMP exporter
- Check that the config (http://localhost:9116/config) include the registered device as a module