非常教程

Erlang 20参考手册

snmp

snmp_view_based_acm_mib

模块

snmp_view_based_acm_mib

模块摘要

基于snmp视图的仪器功能.acm-mib

描述

模块snmp_view_based_acm_mib实现基于SNMP视图的ACM-MIB的检测功能和配置数据库的功能.

配置文件在SNMP用户手册中有描述。

出口

configure(ConfDir) -> void()

类型

此功能由系统启动时的主管调用.

将配置文件中的所有数据插入到数据库中,并使用StorageType销毁所有旧行volatile。从配置文件创建的行将具有StorageType nonVolatile

snmp计数器设置为零。

如果在配置文件中发现错误,则使用config_err/2错误报告模块的功能来报告错误,并且该功能因原因而失败configuration_error

ConfDir指向找到配置文件的目录的字符串。

读取的配置文件是:vacm.conf

reconfigure(ConfDir) -> void()

类型

将配置文件中的所有数据插入到数据库中,并销毁所有旧数据,包括具有StorageType的行nonVolatile。从配置文件创建的行将具有StorageType nonVolatile

因此,在调用此函数之后,基于SNMP视图的ACM-MIB中的数据是来自配置文件的数据。

snmp计数器设置为零。

如果在配置文件中发现错误,则使用config_err/2错误报告模块的功能来报告错误,并且该功能因原因而失败configuration_error

ConfDir指向找到配置文件的目录的字符串。

读取的配置文件是:vacm.conf

add_sec2group(SecModel, SecName, GroupName) -> Ret

类型

将安全性添加到组定义到代理配置。属性中的一个VVmSecurityToGroup行。vacm.conf档案。

delete_sec2group(Key) -> Ret

类型

从代理配置中删除组定义的安全性。

add_access(GroupName, Prefix, SecModel, SecLevel, Match, RV, WV, NV) -> Ret

类型

将访问定义添加到代理配置中。等效于vacm.conf档案。

delete_access(Key) -> Ret

类型

从代理配置中删除访问定义。

add_view_tree_fam(ViewIndex, SubTree, Status, Mask) -> Ret

类型

将视图树族定义添加到代理配置中。等效于vacm.conf档案。

delete_view_tree_fam(Key) -> Ret

类型

从代理配置中删除视图树族定义。

snmp相关

1.1. SNMP简介 | 1. SNMP Introduction
2.2.代理功能描述 | 2. Agent Functional Description
3.3.管理功能描述 | 3. Manager Functional Description
4.4. MIB编译器 | 4. The MIB Compiler
5.5.运行应用程序 | 5. Running the application
6.6.代理配置文件的定义 | 6. Definition of Agent Configuration Files
7.7. Manager配置文件的定义 | 7. Definition of Manager Configuration Files
8.8.代理实现示例 | 8. Agent Implementation Example
9.9.管理实施例 | 9. Manager Implementation Example
10.10.检测函数 | 10. Instrumentation Functions
11.检测函数的定义 | 11. Definition of Instrumentation Functions
12.Net if的定义 | 12. Definition of Agent Net if
13.管理Netif 的定义 | 13. Definition of Manager Net if
14.14.审计跟踪日志 | 14. Audit Trail Log
15.15.高级代理主题 | 15. Advanced Agent Topics
16.16. SNMP Appendix A
17.17. SNMP Appendix B
18.snmp
19.snmpa
20.snmpa_conf
21.snmpa_discovery_handler
22.snmpa_error
23.snmpa_error_io
24.snmpa_error_logger
25.snmpa_error_report
26.snmpa_local_db
27.snmpa_mib_data
28.snmpa_mib_storage
29.snmpa_mpd
30.snmpa_network_interface
31.snmpa_network_interface_filter
32.snmpa_notification_delivery_info_receiver
33.snmpa_notification_filter
34.snmpa_supervisor
35.snmpc
36.snmpm
37.snmpm_conf
38.snmpm_mpd
39.snmpm_network_interface
40.snmpm_network_interface_filter
41.snmpm_user
42.snmp_community_mib
43.snmp_framework_mib
44.snmp_generic
45.snmp_index
46.snmp_notification_mib
47.snmp_pdus
48.snmp_standard_mib
49.snmp_target_mib
50.snmp_user_based_sm_mib
Erlang 20

Erlang 是一种通用的面向并发的编程语言,可应付大规模开发活动的程序设计语言和运行环境。

主页 https://www.erlang.org/
源码 https://github.com/erlang/otp
版本 20
发布版本 20.1