svrTrapCommunityNextIndex
SVRMGT-MIB ·
.1.3.6.1.4.1.36.2.18.22.2.4.2
Object
Next available index for creating a svrTrapCommunityEntry. If the value is -1, then the maximum number of community names has been reached. This means that a community record can not be created until another community name has been deleted.
Context
- MIB
- SVRMGT-MIB
- OID
.1.3.6.1.4.1.36.2.18.22.2.4.2- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- svrTrap
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 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SVRMGT-MIB::svrTrapCommunityNextIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SVRMGT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SVRMGT-MIB::svrTrapCommunityNextIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647