erlang / 25.0 / lib / snmp-5.13 / doc / html / snmpa_mib_storage.html /

snmpa_mib_storage

Behaviour module for the SNMP agent mib storage.

Module snmpa_mib_storage was introduced in OTP R16B01.

This module defines the behaviour of the SNMP agent mib storage.

The mib storage is used by the agent to store internal mib- related information. The mib storage module is used by several entities, not just the mib-server.

A snmpa_mib_storage compliant module must export the following functions:

The semantics of them and their exact signatures are explained below.

The following functions must be exported from a mib-server data callback module:

Types

Create or open a mib storage table.

Note that the RecordName and Fields arguments my not be used in all implementations (they are actually only needed for mnesia-based implementations).

Note also that the Options argument comes from the options config option of the mib-storage config option, and is passed on as is.

Types

Close the mib-storage table.

Types

Read a record from the mib-storage table.

Types

Write a record to the mib-storage table.

Types

Delete an entire mib-storage table.

Types

Delete a record from the mib-storage table.

Types

Search the mib-storage table for record that match the specified pattern.

Types

Search the mib-storage table for record that match the specified pattern and then delete them. The records deleted are also returned.

Types

Return all records in the mib-storage table in the form of a list.

Types

Retrieve implementation dependent mib-storage table information.

Types

Synchronize the mib-storage table.

What this means, if anything, is implementation dependent.

Types

Perform a backup of the mib-storage table.

What this means, if anything, is implementation dependent.

© 2010–2022 Ericsson AB
Licensed under the Apache License, Version 2.0.