copsClientLastError
COPS-CLIENT-MIB ·
.1.3.6.1.2.1.89.1.2.1.1.14
Object
column CopsErrorCode
The code contained in the last COPS protocol Error Object received by this client from this COPS server marked for this Client-Type. This value is not zeroed on COPS Client-Open operations.
Context
- MIB
- COPS-CLIENT-MIB
- OID
.1.3.6.1.2.1.89.1.2.1.1.14- Type
- column
- Access
- readonly
- Status
- current
- Parent
- copsClientServerCurrentEntry
- 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 'COPS-CLIENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COPS-CLIENT-MIB::copsClientLastError'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'COPS-CLIENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COPS-CLIENT-MIB::copsClientLastError.<copsClientServerAddressType>.<copsClientServerAddress>.<copsClientServerClientType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'COPS-CLIENT-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COPS-CLIENT-MIB::copsClientLastError'
Syntax
- Source
- CopsErrorCode
- Base type
Enumeration
Values & Constraints
Type Values
0 | errorOther |
1 | errorBadHandle |
2 | errorInvalidHandleReference |
3 | errorBadMessageFormat |
4 | errorUnableToProcess |
5 | errorMandatoryClientSiMissing |
6 | errorUnsupportedClientType |
7 | errorMandatoryCopsObjectMissing |
8 | errorClientFailure |
9 | errorCommunicationFailure |
10 | errorUnspecified |
11 | errorShuttingDown |
12 | errorRedirectToPreferredServer |
13 | errorUnknownCopsObject |
14 | errorAuthenticationFailure |
15 | errorAuthenticationMissing |
Conformance
Member of