tmnxPythonScriptProtection

TIMETRA-PYTHON-MIB · .1.3.6.1.4.1.6527.3.1.2.87.1.2.1.8

Object

column r/w TmnxProtection
The value of tmnxPythonScriptProtection specifies the method used to
ensure the integrity and/or the confidentiality of the content of the
Python script.
              
A value of 'none (1)' indicates the Python script is stored in plain
text, without any mechanism in place to ensure the integrity nor the
confidentiality of the content of the Python script.
              
A value of 'hmacSha256' indicates the first line of the Python script
must consist of the hash value obtained by hashing the rest of the
Python script using the hmac-sha256 hashing algorithm given the key
specified in tmnxPythonScriptProtectionKey.
              
To set this field you must also set tmnxPythonScriptProtectionKey.

Context

MIB
TIMETRA-PYTHON-MIB
OID
.1.3.6.1.4.1.6527.3.1.2.87.1.2.1.8
Type
column
Access
readwrite
Status
current
Parent
tmnxPythonScriptEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'TIMETRA-PYTHON-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PYTHON-MIB::tmnxPythonScriptProtection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-PYTHON-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PYTHON-MIB::tmnxPythonScriptProtection.<tmnxPythonScriptName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-PYTHON-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-PYTHON-MIB::tmnxPythonScriptProtection'

Syntax

Source
TmnxProtection
Base type
Enumeration

Values & Constraints

Type Values
1none
2hmacSha256

Conformance