Important information for contacting Digi Technical Support

Dynamic SNMP Properties in DAL system

You have an option Dynamic SNMP Properties in DAL system to expose specific details about your device for SNMP monitoring that are not included in the standard MIB. To query the runtime database to find the device property you want to expose to SNMP, see Use digidevice runtime to access the runtime database.

Under the section Configuration>Services>SNMP>Dynamic SNMP Properties

Use the runt submodule to access and modify the device runtime database.

 

  1. At the shell prompt, use the python command with no parameters to enter an interactive Python session:

# python

Python 3.13.0 (main, Feb 11 2025, 06:04:57) [GCC 13.2.0] on linux

Type "help", "copyright", "credits" or "license" for more information.

warning: can't use pyrepl: No module named 'msvcrt'

>>> 

  1. Import the runt submodule:

>>> from digidevice import runt

  1. Use the start() method to open the runtime database:

>>> runt.start()

  1. Use the keys() method to display available keys in the runtime database, and use the get() method to print information from the runtime database:

>>> print(runt.keys(""))

['action', 'advanced', 'cloud', 'devicehealth', 'dnsmasq', 'drm', 'firmware', 'keyman', 'manufacture', 'metrics', 'netw                           ork', 'query_state', 'rci_push', 'service', 'snmp', 'surelink', 'sync', 'system', 'wifi', 'wifi24G', 'wifi5G']

>>> 

>>> print(runt.get("system.chassis.psu2"))

Present

>>> print(runt.get("system.chassis.psu2_voltage"))

12

 

Last updated: Apr 16, 2025

Recently Viewed

No recently viewed articles

Did you find this article helpful?