ezsnmp.exceptions module — Ez SNMP V1.1.0 documentation

# ezsnmp.exceptions module

exception ezsnmp.exceptions.EzSNMPConnectionError

  Bases: `EzSNMPError`

  Indicates a problem connecting to the remote host.

exception ezsnmp.exceptions.EzSNMPError

  Bases: `Exception`

  The base Easy SNMP exception which covers all exceptions raised.

exception ezsnmp.exceptions.EzSNMPNoSuchInstanceError

  Bases: `EzSNMPError`

  Raised when a particular OID index requested from Net-SNMP doesn’t exist.

exception ezsnmp.exceptions.EzSNMPNoSuchNameError

  Bases: `EzSNMPError`

  Raised when an OID is requested which may be an invalid object name or invalid instance (only applies to SNMPv1).

exception ezsnmp.exceptions.EzSNMPNoSuchObjectError

  Bases: `EzSNMPError`

  Raised when an OID is requested which may have some form of existence but is an invalid object name.

exception ezsnmp.exceptions.EzSNMPTimeoutError

  Bases: `EzSNMPConnectionError`

  Raised when an SNMP request times out.

exception ezsnmp.exceptions.EzSNMPUndeterminedTypeError

  Bases: `EzSNMPError`

  Raised when the type cannot be determined when setting the value of an OID.

exception ezsnmp.exceptions.EzSNMPUnknownObjectIDError

  Bases: `EzSNMPError`

  Raised when a nonexistent OID is requested.