iscsiNodeRoles
ISCSI-MIB ·
.1.3.6.1.2.1.142.1.5.1.1.4
Object
column Bits
A node can operate in one or both of two roles:
a target role and/or an initiator role. If the node
will operate in both roles, both bits must be set.
This object will also define the corresponding rows that
will exist in the iscsiTargetAttributesTable, the
iscsiInitiatorAttributesTable, or both. If the
targetTypeNode bit is set, there will be a corresponding
iscsiTargetAttributesEntry. If the initiatorTypeNode bit
is set, there will be a corresponding
iscsiInitiatorAttributesEntry. If both bits are set,
there will be a corresponding iscsiTgtPortalAttributesEntry
and iscsiPortalAttributesEntry.
Context
- MIB
- ISCSI-MIB
- OID
.1.3.6.1.2.1.142.1.5.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- iscsiNodeAttributesEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'ISCSI-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ISCSI-MIB::iscsiNodeRoles'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ISCSI-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ISCSI-MIB::iscsiNodeRoles.<iscsiInstIndex>.<iscsiNodeIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ISCSI-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ISCSI-MIB::iscsiNodeRoles'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | targetTypeNode |
1 | initiatorTypeNode |
Conformance
Member of