snmpSetCommunityName

ESI-MIB · .1.3.6.1.4.1.683.3.4

Object

scalar optional r/w RFC1213-MIBDisplayString
Set community name for the managed node.  This value
cannot be read, just set.
          
In order for changes to this variable to take effect,
the print server must be reset.  See cmdReset to do
this.

Context

MIB
ESI-MIB
OID
.1.3.6.1.4.1.683.3.4
Type
scalar
Access
readwrite
Status
optional
Parent
esiSNMP

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ESI-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ESI-MIB::snmpSetCommunityName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ESI-MIB' -M '/opt/observium/mibs/zebra:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ESI-MIB::snmpSetCommunityName'

Syntax

Source
RFC1213-MIBDisplayString
Base type
OctetString

Values & Constraints

Object Constraints
range: 1-31