E2E TS: SNMP Gateway
Prerequisities
- Install package for Dwarfguard 2.0.0+ (BETA2 1.3.0+)
- Access to an Advantech v1 router device with enabled SNMP.
Steps
- Install Dwarfguard without using any extra option
- Execute dwarfg_inst_pyext
- Verify that the service is listed as running under System -> Status (SNMP Gateway Service Status is shown as Active)
- Confirm that Tools -> SNMP Gateway is enabled
- Use "Add new SNMP device" button to add the Advantech router address
- Wait 10 minutes
- Verify the device appears - the column "Device" in the SNMP table is populated by DevID and that DevID is clickable, leading to the Device Details
- Verify the device appears in the Devices tables and its type is 'SNMP Device'
Visit System -> Settings -> General and visit that
- SNMP Subtype column is selectable and once selected, the added device shows "Advantech router" in the column in the Devices table.
- The settings page contains "SNMP Gateway settings" section listing options: Threads, Batch, Timeout, Retrie, Interval, Log level, Enforced SSL mode
Uninstall Dwarfguard
Install Dwarfguard again, using "--nondeb" option.
Verify that SNMP Gateway is accessible
Stop the SNMP Gateway Service
Execute following (on the server where Dwarfguard is installed including the SNMP Gateway, under root user:
dwarfg_home. python_venv/bin/activate./dwarfg_snmp_gw.py --help- Check that the SNMP Gateway is runnable and shows the help
Start the SNMP Gateway Service, check it is shown as Active