snmp
SNMP Error Codes
Error-status codes carried in SNMP PDUs, indicating the outcome of Get, GetNext, Set, and Inform operations. SNMPv1 codes (0–5) are defined in RFC 1157; SNMPv2c and SNMPv3 extended the set to codes 0–18 in RFC 3416. Also includes the generic trap types defined in RFC 1157 Section 4.1.6.
26 codes
· All codes 26 codes
- authenticationFailure Authentication Failure The agent received an SNMP message that was not properly authenticated. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- authorizationError Authorization Error The management operation failed because the requester does not have sufficient authorisation to perform a Set on the specified variable. Introduced in SNMPv2 (RFC 3416).
- badValue Bad Value A Set request supplied a value with an incorrect type, length, or encoding for the named variable (SNMPv1 only). SNMPv2 and later replace this with more specific wrong* error codes.
- coldStart Cold Start The sending agent is reinitialising itself and its configuration may have been altered. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- commitFailed Commit Failed A Set request that would otherwise have succeeded could not be committed due to an internal agent error. The agent will attempt to undo any partial changes. Introduced in SNMPv2 (RFC 3416).
- egpNeighborLoss EGP Neighbor Loss An EGP (Exterior Gateway Protocol) peer with which the agent was communicating has been marked down and the peer relationship is no longer valid. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- enterpriseSpecific Enterprise Specific The trap is of a type defined by the enterprise; the specific-trap field in the Trap-PDU identifies the particular enterprise-specific condition. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- genErr General Error An error occurred that does not fall into any other category. This catch-all error indicates some unspecified failure in processing the request.
- inconsistentName Inconsistent Name The variable binding specifies a variable that does not exist and could not be created because the OID is inconsistent with the structure of the MIB view. Introduced in SNMPv2 (RFC 3416).
- inconsistentValue Inconsistent Value The value supplied in a Set request is, at this time, inconsistent with the value of another variable in the PDU or with the current state of the managed object. Introduced in SNMPv2 (RFC 3416).
- linkDown Link Down A communication link on the agent has failed. The first variable binding identifies the affected interface. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- linkUp Link Up A previously failed communication link on the agent has been restored. The first variable binding identifies the affected interface. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- noAccess No Access Access to the specified variable is not permitted for the requesting community or principal. Introduced in SNMPv2 (RFC 3416).
- noCreation No Creation The specified variable does not exist and cannot be created, either because the object does not support creation or the row creation request is inconsistent. Introduced in SNMPv2 (RFC 3416).
- noError No Error The request completed successfully with no errors. All variable bindings in the PDU were processed.
- noSuchName No Such Name The requested variable does not exist in the agent's MIB view (SNMPv1 only). SNMPv2 and later replace this with per-varbind exceptions noSuchObject and noSuchInstance.
- notWritable Not Writable The specified variable exists but is not writable; the instance does not support modification via SNMP. Introduced in SNMPv2 (RFC 3416).
- readOnly Read Only A Set request attempted to write to a variable that is not writable (SNMPv1 only). SNMPv2 and later replace this with notWritable or noAccess.
- resourceUnavailable Resource Unavailable The attempt to set the variable required a resource that is not currently available, such as memory or a hardware resource. Introduced in SNMPv2 (RFC 3416).
- tooBig Too Big The size of the response PDU would exceed a local limitation. The agent could not fit the reply into a single SNMP message.
- undoFailed Undo Failed A Set request failed and the attempt to undo changes made to earlier variables in the same PDU also failed, leaving the agent in an indeterminate state. Introduced in SNMPv2 (RFC 3416).
- warmStart Warm Start The sending agent is reinitialising itself but its configuration is unaltered. This is a generic trap type defined in RFC 1157 Section 4.1.6.
- wrongEncoding Wrong Encoding The value supplied in a Set request is encoded incorrectly; for example, an OCTET STRING is not encoded using primitive form. Introduced in SNMPv2 (RFC 3416).
- wrongLength Wrong Length The value supplied in a Set request has a length that is inconsistent with the length required for the variable. Introduced in SNMPv2 (RFC 3416).
- wrongType Wrong Type The value supplied in a Set request has a type that is inconsistent with the type required for the variable. Introduced in SNMPv2 (RFC 3416).
- wrongValue Wrong Value The value supplied in a Set request is not a value that the variable can take; the value is outside the permitted range or enumeration. Introduced in SNMPv2 (RFC 3416).