snmpv1SystemAgentEnable
IMM-MIB ·
.1.3.6.1.4.1.2.3.51.3.3.4.2.1.6
Object
scalar mandatory
r/w
Enumeration
Disable or enable the SNMPv1 agent.
Note: When this object has a value of enabled the fields listed below are checked.
If this verification fails an error response is returned for the set of this object
and the SNMP agent will be left in a disabled state.
(1)Is there a valid system contact
(2)Is there a valid system name
(3)Is there at least one valid community name and for that
community name is there one valid IP address or hostname
Context
- MIB
- IMM-MIB
- OID
.1.3.6.1.4.1.2.3.51.3.3.4.2.1.6- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- snmpAgentConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::snmpv1SystemAgentEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IMM-MIB::snmpv1SystemAgentEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | enabled |