smCodeText

DISMAN-SCRIPT-MIB · .1.3.6.1.2.1.64.1.3.2.1.2

Object

column r/w OctetString
The code that makes up a fragment of a script. The format
of this code fragment depends on the script language which
is identified by the associated smScriptLanguage object.

Context

MIB
DISMAN-SCRIPT-MIB
OID
.1.3.6.1.2.1.64.1.3.2.1.2
Type
column
Access
readwrite
Status
current
Parent
smCodeEntry
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 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-SCRIPT-MIB::smCodeText'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DISMAN-SCRIPT-MIB::smCodeText.<smScriptOwner>.<smScriptName>.<smCodeIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DISMAN-SCRIPT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DISMAN-SCRIPT-MIB::smCodeText'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-1024

Conformance

Member of
Compliance refinements
A compliant implementation need only support write access
to the smCodeText object during row creation.
A compliant implementation need only support write access to
the smCodeText object only during row creation.