snmpAgentEnable
MX-SNMP-AGENT-MIB ·
.1.3.6.1.4.1.4935.15.150.1.1
Object
Enable or disable the SNMP service agent.
enable: SNMP connections are allowed.
disable: SNMP connections are forbidden.
Context
- MIB
- MX-SNMP-AGENT-MIB
- OID
.1.3.6.1.4.1.4935.15.150.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpAgentMIBObjects
- Groups
- 1
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 'MX-SNMP-AGENT-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SNMP-AGENT-MIB::snmpAgentEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SNMP-AGENT-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SNMP-AGENT-MIB::snmpAgentEnable'
Syntax
- Source
- MX-TCMxEnableState
- Base type
Enumeration
Values & Constraints
Type Values
0 | disable |
1 | enable |
Conformance
Member of