MibBrowser Class

Properties   Methods   Events   Config Settings   Errors  

The MIBBrowser class is used to parse SNMP MIB Module definitions.

Syntax

class ipworkssnmp.MibBrowser

Remarks

The MIBBrowser class allows easy loading and querying of definitions in the SNMP Management Information Base (MIB) specifications.

The load_mib method allows loading of MIB modules, which get stored in an internal tree structure for further queries.

If modules reference (import) other modules, recursive loading of modules is performed automatically and/or controlled by the on_import_symbols event.

The MIB tree is navigated through the select_node method, which enables pointing to a node in the tree specified by node_oid and node_label. Other node information is provided through the node_module_name, node_file_name, node_syntax, node_type, and node_access properties.

The node selector parameter in select_node can be a label such as "internet", an OID such as "1.3.6.4", a combination of the two: "iso.3.dod.internet", or a label in a particular module such as "RFC1213-MIB!interfaces".

Node children and successors are provided by the list_children and list_successors methods. The individual node information is provided via the on_mib_node event.

Module traps are listed via the list_traps method. The individual trap information is provided through the on_trap_node event.

Property List


The following is the full list of the properties of the class with short descriptions. Click on the links for further details.

exact_matchControls the way the OID matching is done (complete or partial).
node_accessThe access permissions for the selected node.
node_descriptionTextual description of the selected node.
node_file_nameThe absolute path of the file where the selected node is declared.
node_full_labelThe full label of the selected node.
node_indexThe index of the node in a table.
node_labelThe label of the selected node.
node_module_nameThe name of the module where the selected node is declared.
node_oidThe Object ID of the selected node.
node_sub_idThe SubId of the currently selected node.
node_syntaxThe syntax of the selected node.
node_syntax_stringThe node syntax of the selected node in text format.
node_typeThe type of the selected node.
node_type_stringThe node type of the selected node in text format.

Method List


The following is the full list of the methods of the class with short descriptions. Click on the links for further details.

configSets or retrieves a configuration setting.
list_childrenLists the immediate children of the selected node.
list_successorsLists all successors of the selected node.
list_trapsLists all the traps defined in the loaded modules.
load_mibParses the file FileName and adds the parsed nodes to the collection of existing nodes.
resetReset all properties of the class.
select_nodeUsed to select individual nodes in the loaded MIB module(s).

Event List


The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.

on_errorErrors that occur while loading/parsing MIB modules are fired through this event.
on_import_symbolsList of imported symbols and the respective modules where they are declared.
on_mib_nodeThis event fires once for every child or successor of the currently selected node when invoking ListChildren or ListSuccessors .
on_trap_nodeLists module trap information.

Config Settings


The following is a list of config settings for the class with short descriptions. Click on the links for further details.

AutoLoadMibsDetermines whether imported MIB modules are loaded automatically.
CacheDescriptionsControls caching of Node descriptions.
CacheMibsControls MIB module caching.
CheckNoKnownRootsControls whether or not the class fails when a file with no known root is loaded.
DisplayHintThe DISPLAY-HINT property for the current node.
MibExtensionsControls the file extensions that the class will search for.
NodeIsColumnarWhether the current node is columnar.
NodeIsScalarWhether the current node is scalar.
ReleaseTempNodesWill release any temporary nodes stored by the class.
ReturnEnumValuesComma-separated list of the current node's enumeration textual-conventions.
UndefinedSymbolsComma-separated list of nodes that have not been resolved.
BuildInfoInformation about the product's build.
CodePageThe system code page used for Unicode to Multibyte translations.
LicenseInfoInformation about the current license.
MaskSensitiveDataWhether sensitive data is masked in log messages.
ProcessIdleEventsWhether the class uses its internal event loop to process events when the main thread is idle.
SelectWaitMillisThe length of time in milliseconds the class will wait when DoEvents is called if there are no events to process.
UseInternalSecurityAPIWhether or not to use the system security libraries or an internal implementation.

exact_match Property

Controls the way the OID matching is done (complete or partial).

Syntax

def get_exact_match() -> bool: ...
def set_exact_match(value: bool) -> None: ...

exact_match = property(get_exact_match, set_exact_match)

Default Value

TRUE

Remarks

If exact_match is set to True, the select_node method will try to find an exact match for the supplied selector. If not found, an exception will be thrown.

If exact_match is set to False, the select_node method will start from the root (iso) and will go as far as it can, finding the closest match for the requested node.

For instance, in SNMPv2-MIB sysUpTime is defined as "1.3.6.1.2.1.1.3". If exact_match is False, calling select_node with selector "1.3.6.1.2.1.1.3.0" will populate node_label with "sysUpTime.0" while the same call with exact_match set to True will fail since that exact OID is not defined in the MIB.

node_access Property

The access permissions for the selected node.

Syntax

def get_node_access() -> int: ...

node_access = property(get_node_access, None)

Default Value

0

Remarks

The following is the list of values for node_access:

0accUnknown
1accNoAccess
2accReadOnly
3accReadCreate
4accReadWrite
5accWriteOnly
6accForNotify

This property is read-only.

node_description Property

Textual description of the selected node.

Syntax

def get_node_description() -> str: ...

node_description = property(get_node_description, None)

Default Value

""

Remarks

Because loading descriptions can consume unwanted resources, the class can control caching of descriptions in order to keep the memory footprint of the class as small as possible.

To disable caching, set the CacheDescriptions config setting to True. In this case, the class will only save the offset of the description in the MIB file in memory, and will fetch the textual description directly from the file only when required. When using caching, make sure that the path of the loaded modules does not change or the property will be unable to fetch the correct text description.

This property is read-only.

node_file_name Property

The absolute path of the file where the selected node is declared.

Syntax

def get_node_file_name() -> str: ...

node_file_name = property(get_node_file_name, None)

Default Value

""

Remarks

It is possible for a node to be re-declared in other modules. In this case the property contains a comma separated list of file names where the selected node is declared.

This property is read-only.

node_full_label Property

The full label of the selected node.

Syntax

def get_node_full_label() -> str: ...

node_full_label = property(get_node_full_label, None)

Default Value

""

Remarks

This contains the full label of the Oid of the selected node. It is unique within the MIB module where it is declared.

This property is read-only.

node_index Property

The index of the node in a table.

Syntax

def get_node_index() -> str: ...

node_index = property(get_node_index, None)

Default Value

""

Remarks

If the selected node has stxSequence syntax then the NodeIndex represents the column used to distinguish among different table rows.

Example: MibParser.LoadMib(""SNMPv2-MIB"") MibParser.SelectNode("1.3.6.1.2.1.2.2") Debug.Print MibParser1.NodeLabel // prints "ifTable" MibParser.SelectNode("1.3.6.1.2.1.2.2.1") Debug.Print MibParser1.NodeLabel // prints "ifEntry" Debug.Print MibParser1.NodeIndex // prints "ifIndex"

This property is read-only.

node_label Property

The label of the selected node.

Syntax

def get_node_label() -> str: ...

node_label = property(get_node_label, None)

Default Value

"iso"

Remarks

This label is unique within the MIB module where it is declared.

This property is read-only.

node_module_name Property

The name of the module where the selected node is declared.

Syntax

def get_node_module_name() -> str: ...

node_module_name = property(get_node_module_name, None)

Default Value

""

Remarks

It is possible for a node to be redeclared in other modules. In this case the node_module_name contains a comma separated list of module names where the selected node is declared.

This property is read-only.

node_oid Property

The Object ID of the selected node.

Syntax

def get_node_oid() -> str: ...

node_oid = property(get_node_oid, None)

Default Value

"1"

Remarks

Contains the Object Id (OID) of the currently selected node. The OID uniquely identifies the selected node within the entire object hierarchy.

This property is read-only.

node_sub_id Property

The SubId of the currently selected node.

Syntax

def get_node_sub_id() -> int: ...

node_sub_id = property(get_node_sub_id, None)

Default Value

1

Remarks

For instance, if you select the node "dod" in "rfc1155.smi", the node_sub_id value will be 6.

This property is read-only.

node_syntax Property

The syntax of the selected node.

Syntax

def get_node_syntax() -> int: ...

node_syntax = property(get_node_syntax, None)

Default Value

6

Remarks

The syntax defines what type of data the selected node contains. Common data types include:

Boolean (1) Boolean variable.
Integer (2) A 32-bit signed integer.
OctetString (4) An octet string variable that is binary or textual data.
Null (5) NULL value.
ObjectId (6) Object identifier.
IpAddress (64) A 32-bit Internet address (aaa.bbb.ccc.ddd)
Counter (65) A counter that increases until it reaches a maximum value of (2^32).
Gauge (66) A non-negative int that can increase or decrease, but never exceed a maximum value.
TimeTicks (67) A counter that measures time in hundredths of a second.
Opaque (68) This type supports the capability to pass ASN.1 syntax.
Counter64 (70) A counter that increases until it reaches a maximum value of (2^64).
UInteger (71) A 32-bit unsigned integer.

Additional type definitions can be found in the SNMP RFC's.

This property is read-only.

node_syntax_string Property

The node syntax of the selected node in text format.

Syntax

def get_node_syntax_string() -> str: ...

node_syntax_string = property(get_node_syntax_string, None)

Default Value

""

Remarks

For instance, for the node "system" in "SNMPv2-MIB", node_syntax returns 6 (stxObjectId), while node_syntax_string returns "OBJECT IDENTIFIER".

This property is read-only.

node_type Property

The type of the selected node.

Syntax

def get_node_type() -> int: ...

node_type = property(get_node_type, None)

Default Value

1

Remarks

The following are the possible values for node_type:

0mcrObjectType
1mcrObjectIdentity
2mcrModuleIdentity
3mcrNotificationType
4mcrTrapType
5mcrObjectGroup
6mcrNotificationGroup
7mcrCompliance
8mcrCapabilities

This property is read-only.

node_type_string Property

The node type of the selected node in text format.

Syntax

def get_node_type_string() -> str: ...

node_type_string = property(get_node_type_string, None)

Default Value

"OBJECT IDENTITY"

Remarks

For instance, for the node "system" in "SNMPv2-MIB", node_type returns 2 (mcrObjectIdentity), while node_type_string returns "OBJECT-IDENTITY".

This property is read-only.

config Method

Sets or retrieves a configuration setting.

Syntax

def config(configuration_string: str) -> str: ...

Remarks

config is a generic method available in every class. It is used to set and retrieve configuration settings for the class.

These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the config method.

To set a configuration setting named PROPERTY, you must call Config("PROPERTY=VALUE"), where VALUE is the value of the setting expressed as a string. For boolean values, use the strings "True", "False", "0", "1", "Yes", or "No" (case does not matter).

To read (query) the value of a configuration setting, you must call Config("PROPERTY"). The value will be returned as a string.

list_children Method

Lists the immediate children of the selected node.

Syntax

def list_children() -> None: ...

Remarks

The on_mib_node event fires once for every SubId of the selected node and provides all info related to that SubId.

For instance, the following code: MibParser.LoadMib("RFC1155-SMI") MibParser.SelectNode("internet") MibParser.ListChildren() will generate the following output through the on_mib_node event:

  directory    1.3.6.1.1
  mgmt         1.3.6.1.2
  experimental 1.3.6.1.3
  private      1.3.6.1.4

list_successors Method

Lists all successors of the selected node.

Syntax

def list_successors() -> None: ...

Remarks

The on_mib_node event fires once for each successor of the selected node and provides all information related to it.

list_traps Method

Lists all the traps defined in the loaded modules.

Syntax

def list_traps() -> None: ...

Remarks

The on_trap_node event fires once for every trap and provides all info related to it.

For instance, the following code:

MibParser.LoadMib("mib_ii.mib") MibParser.ListTraps() will generate the following output through the on_trap_node event: coldStart 0 snmp warmStart 1 snmp linkDown 2 snmp linkUp 3 snmp authenticationFailure 4 snmp

load_mib Method

Parses the file FileName and adds the parsed nodes to the collection of existing nodes.

Syntax

def load_mib(file_name: str) -> None: ...

Remarks

This method can be used to load and parse a MIB file into the class.

Some MIB modules contain references to other modules within their imports sections. When loading a MIB that contains external imports, the on_import_symbols event will fire for each external reference. These modules must be loaded if possible to generate a complete representation for the loaded MIB.

It is possible for the component to attempt to load all external references automatically. To do this, use config and set "AutoLoadMibs=True". Setting this configuration property causes the class to attempt to find and load any external references included in the current MIB. The class will only find external modules if they reside in the same directory as the current module. Alternatively, the class can load additional modules by calling load_mib while inside the on_import_symbols event.

If the AutoLoadMibs config setting is set to False, and no explicit action is taken to load necessary modules inside the on_import_symbols event, some symbols may remain unresolved. These symbols will not appear in the MibNode hierarchy until the module containing their definition is loaded. Order is unimportant when loading additional MIB modules. A complete list of unresolved symbols can be found by retrieving the UndefinedSymbols config setting (comma separated list of symbols).

Note that FileName also accepts MIB data. If MIB data is used, the class will expect the NodeFileName to be at the beginning of the string, surrounded by "[]". For example:

[RFC-1215]RFC-1215 DEFINITIONS ::= BEGIN......END

reset Method

Reset all properties of the class.

Syntax

def reset() -> None: ...

Remarks

This method resets all of the node properties as well as the internal collection of parsed nodes.

select_node Method

Used to select individual nodes in the loaded MIB module(s).

Syntax

def select_node(selector: str) -> None: ...

Remarks

select_node is used for selecting individual nodes and should be called before querying node information.

The Selector parameter can be a label such as "internet", an OID such as "1.3.6.4", a combination of the two: "iso.3.dod.internet", or a label in a particular module such as "RFC1213-MIB!interfaces".

Either '.' or ':' can be used to separate SubIds. If a SubId starts with "0x" or follows the ":" separator then its hexadecimal value is used. For instance, "0x1.0x3.0x6.0x1A" is the same as "1:3:6:1A".

All properties and methods of the class will operate on the selected node. For example, calling list_successors will only list the successors of the selected node.

on_error Event

Errors that occur while loading/parsing MIB modules are fired through this event.

Syntax

class MibBrowserErrorEventParams(object):
  @property
  def error_code() -> int: ...

  @property
  def description() -> str: ...

# In class MibBrowser:
@property
def on_error() -> Callable[[MibBrowserErrorEventParams], None]: ...
@on_error.setter
def on_error(event_hook: Callable[[MibBrowserErrorEventParams], None]) -> None: ...

Remarks

ErrorCode contains an error code and Description contains a textual description of the error. For a list of valid error codes and their descriptions, please refer to the Error Codes section.

on_import_symbols Event

List of imported symbols and the respective modules where they are declared.

Syntax

class MibBrowserImportSymbolsEventParams(object):
  @property
  def symbols() -> str: ...

  @property
  def module_name() -> str: ...

# In class MibBrowser:
@property
def on_import_symbols() -> Callable[[MibBrowserImportSymbolsEventParams], None]: ...
@on_import_symbols.setter
def on_import_symbols(event_hook: Callable[[MibBrowserImportSymbolsEventParams], None]) -> None: ...

Remarks

The Symbols parameter is a comma separated list of all symbols that must be imported from ModuleName.

The module is loaded through the load_mib method.

on_mib_node Event

This event fires once for every child or successor of the currently selected node when invoking ListChildren or ListSuccessors .

Syntax

class MibBrowserMibNodeEventParams(object):
  @property
  def node_label() -> str: ...

  @property
  def node_oid() -> str: ...

  @property
  def node_type() -> int: ...

  @property
  def node_type_string() -> str: ...

  @property
  def node_syntax() -> int: ...

  @property
  def node_syntax_string() -> str: ...

  @property
  def node_access() -> int: ...

  @property
  def node_index() -> str: ...

  @property
  def node_parent_name() -> str: ...

  @property
  def node_description() -> str: ...

  @property
  def node_module_name() -> str: ...

  @property
  def node_file_name() -> str: ...

# In class MibBrowser:
@property
def on_mib_node() -> Callable[[MibBrowserMibNodeEventParams], None]: ...
@on_mib_node.setter
def on_mib_node(event_hook: Callable[[MibBrowserMibNodeEventParams], None]) -> None: ...

Remarks

When calling either list_children or list_successors, the MibNode event will fire once for every child of the currently selected node. The list_children method will cause the event will fire once for each of the immediate children of the current node. list_successors cause this event to fire for each of the immediate children of the current node, as well as the entire tree of successors of those children.

NodeLabel is the name or textual representation of the current node, and is unique to its siblings. The NodeOid is the OID of the listed node and uniquely identifies the node within the entire MIB. The remaining parameters offer additional information about the listed node.

Information about the listed node is only available through the MibNode event parameters. All class properties remain related to the currently selected node.

If a MibNode is declared in more than one file or module, then the NodeFileName and NodeModuleName parameters will contain a comma separated list of files/modules where the node is declared.

For instance, the following code: MibParser.LoadMib("RFC1155-SMI") MibParser.SelectNode("internet") // OID 1.3.6.1 MibParser.ListSuccessors() will generate the following output through the event:

  directory    1.3.6.1.1
  mgmt         1.3.6.1.2
  experimental 1.3.6.1.3
  private      1.3.6.1.4
  enterprises  1.3.6.1.4.1

on_trap_node Event

Lists module trap information.

Syntax

class MibBrowserTrapNodeEventParams(object):
  @property
  def trap_name() -> str: ...

  @property
  def specific_trap() -> int: ...

  @property
  def trap_enterprise() -> str: ...

  @property
  def trap_variables() -> str: ...

  @property
  def trap_description() -> str: ...

  @property
  def trap_references() -> str: ...

  @property
  def trap_module_name() -> str: ...

  @property
  def trap_file_name() -> str: ...

# In class MibBrowser:
@property
def on_trap_node() -> Callable[[MibBrowserTrapNodeEventParams], None]: ...
@on_trap_node.setter
def on_trap_node(event_hook: Callable[[MibBrowserTrapNodeEventParams], None]) -> None: ...

Remarks

When calling list_traps, the on_trap_node event fires once for every trap found in the module.

The following are the descriptions of the event parameters:

TrapNameThe name of the trap (its label).
TrapSpecificTrapThe specific id of this trap.
TrapEnterpriseThe defining entity.
TrapVariablesA comma separated list of the symbols that should be present inside the trap.
TrapDescriptionA textual memo about the node.
TrapModuleNameThe module that contains the trap definition.
TrapFileNameThe filename of the MIB where the trap is defined.

If a trap has been defined in more than one module or file, then ModuleName and FileName will contain a comma separated list of values.

MibBrowser Config Settings

The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the config method.

MibBrowser Config Settings

AutoLoadMibs:   Determines whether imported MIB modules are loaded automatically.

When True (default), the class will attempt to automatically load MIB imports. Only the path of the current module will be searched.

CacheDescriptions:   Controls caching of Node descriptions.

The default value is True.

When False, the class will only save the offset of the description in the MIB file in memory, and will fetch the textual description directly from the file only when required.

When using caching, make sure that the path of the loaded modules does not change or the property will be unable to fetch the correct text description.

CacheMibs:   Controls MIB module caching.

If set to True (default), a file will never be loaded/parsed more than once.

CheckNoKnownRoots:   Controls whether or not the class fails when a file with no known root is loaded.

If set to true the class will fail with an error when load_mib is called and no root node can be found for the nodes defined in the file. When this value is False (default), on_error will fire with this alert.

DisplayHint:   The DISPLAY-HINT property for the current node.

This is set to the DISPLAY-HINT property for the current node specified in node_index.

Note that this config is read only.

MibExtensions:   Controls the file extensions that the component will search for.

When loading a MIB file with AutoLoadMibs enabled, this configuration setting controls what file extensions the component will search to find imported symbols. The default value is ".mib", which means the component will search files with a .mib extension or with no extension. If you set the value to ".txt, .mib", it will also search files with a .txt extension.

NodeIsColumnar:   Whether the current node is columnar.

This setting may be queried after calling select_node or within the on_mib_node event to determine if the current node is columnar.

NodeIsScalar:   Whether the current node is scalar.

This setting may be queried after calling select_node or within the on_mib_node event to determine if the current node is scalar.

ReleaseTempNodes:   Will release any temporary nodes stored by the component.

When exact_match is set to False, temporary nodes will be stored after select_node calls. Calling this method will release the stored temporary nodes (thus freeing up memory) and will also reset the current node back to the root node. Note that this method will not unload any previously loaded MIB files that you have loaded.

ReturnEnumValues:   Comma-separated list of the current node's enumeration textual-conventions.

If set to true, and the current node references an enumeration textual-convention, then the values of the enumeration will be returned in the following format:

"label1(Value), label2(Value), label3(Value)..."

UndefinedSymbols:   Comma-separated list of nodes that have not been resolved.

For more information, please refer to the load_mib method.

Base Config Settings

BuildInfo:   Information about the product's build.

When queried, this setting will return a string containing information about the product's build.

CodePage:   The system code page used for Unicode to Multibyte translations.

The default code page is Unicode UTF-8 (65001).

The following is a list of valid code page identifiers:

IdentifierName
037IBM EBCDIC - U.S./Canada
437OEM - United States
500IBM EBCDIC - International
708Arabic - ASMO 708
709Arabic - ASMO 449+, BCON V4
710Arabic - Transparent Arabic
720Arabic - Transparent ASMO
737OEM - Greek (formerly 437G)
775OEM - Baltic
850OEM - Multilingual Latin I
852OEM - Latin II
855OEM - Cyrillic (primarily Russian)
857OEM - Turkish
858OEM - Multilingual Latin I + Euro symbol
860OEM - Portuguese
861OEM - Icelandic
862OEM - Hebrew
863OEM - Canadian-French
864OEM - Arabic
865OEM - Nordic
866OEM - Russian
869OEM - Modern Greek
870IBM EBCDIC - Multilingual/ROECE (Latin-2)
874ANSI/OEM - Thai (same as 28605, ISO 8859-15)
875IBM EBCDIC - Modern Greek
932ANSI/OEM - Japanese, Shift-JIS
936ANSI/OEM - Simplified Chinese (PRC, Singapore)
949ANSI/OEM - Korean (Unified Hangul Code)
950ANSI/OEM - Traditional Chinese (Taiwan; Hong Kong SAR, PRC)
1026IBM EBCDIC - Turkish (Latin-5)
1047IBM EBCDIC - Latin 1/Open System
1140IBM EBCDIC - U.S./Canada (037 + Euro symbol)
1141IBM EBCDIC - Germany (20273 + Euro symbol)
1142IBM EBCDIC - Denmark/Norway (20277 + Euro symbol)
1143IBM EBCDIC - Finland/Sweden (20278 + Euro symbol)
1144IBM EBCDIC - Italy (20280 + Euro symbol)
1145IBM EBCDIC - Latin America/Spain (20284 + Euro symbol)
1146IBM EBCDIC - United Kingdom (20285 + Euro symbol)
1147IBM EBCDIC - France (20297 + Euro symbol)
1148IBM EBCDIC - International (500 + Euro symbol)
1149IBM EBCDIC - Icelandic (20871 + Euro symbol)
1200Unicode UCS-2 Little-Endian (BMP of ISO 10646)
1201Unicode UCS-2 Big-Endian
1250ANSI - Central European
1251ANSI - Cyrillic
1252ANSI - Latin I
1253ANSI - Greek
1254ANSI - Turkish
1255ANSI - Hebrew
1256ANSI - Arabic
1257ANSI - Baltic
1258ANSI/OEM - Vietnamese
1361Korean (Johab)
10000MAC - Roman
10001MAC - Japanese
10002MAC - Traditional Chinese (Big5)
10003MAC - Korean
10004MAC - Arabic
10005MAC - Hebrew
10006MAC - Greek I
10007MAC - Cyrillic
10008MAC - Simplified Chinese (GB 2312)
10010MAC - Romania
10017MAC - Ukraine
10021MAC - Thai
10029MAC - Latin II
10079MAC - Icelandic
10081MAC - Turkish
10082MAC - Croatia
12000Unicode UCS-4 Little-Endian
12001Unicode UCS-4 Big-Endian
20000CNS - Taiwan
20001TCA - Taiwan
20002Eten - Taiwan
20003IBM5550 - Taiwan
20004TeleText - Taiwan
20005Wang - Taiwan
20105IA5 IRV International Alphabet No. 5 (7-bit)
20106IA5 German (7-bit)
20107IA5 Swedish (7-bit)
20108IA5 Norwegian (7-bit)
20127US-ASCII (7-bit)
20261T.61
20269ISO 6937 Non-Spacing Accent
20273IBM EBCDIC - Germany
20277IBM EBCDIC - Denmark/Norway
20278IBM EBCDIC - Finland/Sweden
20280IBM EBCDIC - Italy
20284IBM EBCDIC - Latin America/Spain
20285IBM EBCDIC - United Kingdom
20290IBM EBCDIC - Japanese Katakana Extended
20297IBM EBCDIC - France
20420IBM EBCDIC - Arabic
20423IBM EBCDIC - Greek
20424IBM EBCDIC - Hebrew
20833IBM EBCDIC - Korean Extended
20838IBM EBCDIC - Thai
20866Russian - KOI8-R
20871IBM EBCDIC - Icelandic
20880IBM EBCDIC - Cyrillic (Russian)
20905IBM EBCDIC - Turkish
20924IBM EBCDIC - Latin-1/Open System (1047 + Euro symbol)
20932JIS X 0208-1990 & 0121-1990
20936Simplified Chinese (GB2312)
21025IBM EBCDIC - Cyrillic (Serbian, Bulgarian)
21027Extended Alpha Lowercase
21866Ukrainian (KOI8-U)
28591ISO 8859-1 Latin I
28592ISO 8859-2 Central Europe
28593ISO 8859-3 Latin 3
28594ISO 8859-4 Baltic
28595ISO 8859-5 Cyrillic
28596ISO 8859-6 Arabic
28597ISO 8859-7 Greek
28598ISO 8859-8 Hebrew
28599ISO 8859-9 Latin 5
28605ISO 8859-15 Latin 9
29001Europa 3
38598ISO 8859-8 Hebrew
50220ISO 2022 Japanese with no halfwidth Katakana
50221ISO 2022 Japanese with halfwidth Katakana
50222ISO 2022 Japanese JIS X 0201-1989
50225ISO 2022 Korean
50227ISO 2022 Simplified Chinese
50229ISO 2022 Traditional Chinese
50930Japanese (Katakana) Extended
50931US/Canada and Japanese
50933Korean Extended and Korean
50935Simplified Chinese Extended and Simplified Chinese
50936Simplified Chinese
50937US/Canada and Traditional Chinese
50939Japanese (Latin) Extended and Japanese
51932EUC - Japanese
51936EUC - Simplified Chinese
51949EUC - Korean
51950EUC - Traditional Chinese
52936HZ-GB2312 Simplified Chinese
54936Windows XP: GB18030 Simplified Chinese (4 Byte)
57002ISCII Devanagari
57003ISCII Bengali
57004ISCII Tamil
57005ISCII Telugu
57006ISCII Assamese
57007ISCII Oriya
57008ISCII Kannada
57009ISCII Malayalam
57010ISCII Gujarati
57011ISCII Punjabi
65000Unicode UTF-7
65001Unicode UTF-8
The following is a list of valid code page identifiers for Mac OS only:
IdentifierName
1ASCII
2NEXTSTEP
3JapaneseEUC
4UTF8
5ISOLatin1
6Symbol
7NonLossyASCII
8ShiftJIS
9ISOLatin2
10Unicode
11WindowsCP1251
12WindowsCP1252
13WindowsCP1253
14WindowsCP1254
15WindowsCP1250
21ISO2022JP
30MacOSRoman
10UTF16String
0x90000100UTF16BigEndian
0x94000100UTF16LittleEndian
0x8c000100UTF32String
0x98000100UTF32BigEndian
0x9c000100UTF32LittleEndian
65536Proprietary

LicenseInfo:   Information about the current license.

When queried, this setting will return a string containing information about the license this instance of a class is using. It will return the following information:

  • Product: The product the license is for.
  • Product Key: The key the license was generated from.
  • License Source: Where the license was found (e.g., RuntimeLicense, License File).
  • License Type: The type of license installed (e.g., Royalty Free, Single Server).
  • Last Valid Build: The last valid build number for which the license will work.
MaskSensitiveData:   Whether sensitive data is masked in log messages.

In certain circumstances it may be beneficial to mask sensitive data, like passwords, in log messages. Set this to True to mask sensitive data. The default is True.

This setting only works on these classes: AS3Receiver, AS3Sender, Atom, Client(3DS), FTP, FTPServer, IMAP, OFTPClient, SSHClient, SCP, Server(3DS), Sexec, SFTP, SFTPServer, SSHServer, TCPClient, TCPServer.

ProcessIdleEvents:   Whether the class uses its internal event loop to process events when the main thread is idle.

If set to False, the class will not fire internal idle events. Set this to False to use the class in a background thread on Mac OS. By default, this setting is True.

SelectWaitMillis:   The length of time in milliseconds the class will wait when DoEvents is called if there are no events to process.

If there are no events to process when do_events is called, the class will wait for the amount of time specified here before returning. The default value is 20.

UseInternalSecurityAPI:   Whether or not to use the system security libraries or an internal implementation.

When set to False, the class will use the system security libraries by default to perform cryptographic functions where applicable.

Setting this configuration setting to True tells the class to use the internal implementation instead of using the system security libraries.

On Windows, this setting is set to False by default. On Linux/macOS, this setting is set to True by default.

To use the system security libraries for Linux, OpenSSL support must be enabled. For more information on how to enable OpenSSL, please refer to the OpenSSL Notes section.

MibBrowser Errors

MibBrowser Errors

1000   Missing token.
1001   Unexpected token.
1002   Unexpected end of file.
1003   MIB error.
1004   Nested MIBs are not supported.
1005   Missing import.