-
Notifications
You must be signed in to change notification settings - Fork 14
/
snmp.conf
105 lines (73 loc) · 3.06 KB
/
snmp.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
###########################################################################
#
# snmp.conf
#
# - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Default Authentication Options
#
# This section defines the default authentication
# information. Setting these up properly in your
# ~/.snmp/snmp.conf file will greatly reduce the amount of
# command line arguments you need to type (especially for snmpv3).
# defaultport: The default port number to use
# This token specifies the default port number you want packets to
# be sent to and received from.
# override: with -p on the command line.
# arguments: portnum
defaultport 161
# defversion: The default snmp version number to use.
# override: with -v on the command line.
# arguments: 1|2c|3
defversion 2c
# defcommunity: The default snmpv1 and snmpv2c community name to use when needed.
# If this is specified, you don't need to include the community
# name as an argument to the snmp applications.
# override: with -c on the command line.
# arguments: communityname
defcommunity public
###########################################################################
# SECTION: Textual mib parsing
#
# This section controls the textual mib parser. Textual
# mibs are parsed in order to convert OIDs, enumerated
# lists, and ... to and from textual representations
# and numerical representations.
# mibdirs: Specifies directories to be searched for mibs.
# Adding a '+' sign to the front of the argument appends the new
# directory to the list of directories already being searched.
# arguments: [+]directory[:directory...]
mibdirs +/usr/share/snmp/mibs/system
mibdirs +/usr/share/snmp/mibs/iana
mibdirs +/usr/share/snmp/mibs/ieee
mibdirs +/usr/share/snmp/mibs/ietf
mibdirs +/usr/share/snmp/mibs/a10
mibdirs +/usr/share/snmp/mibs/arista
mibdirs +/usr/share/snmp/mibs/checkpoint
mibdirs +/usr/share/snmp/mibs/cisco/v2
mibdirs +/usr/share/snmp/mibs/citrix
mibdirs +/usr/share/snmp/mibs/emc
mibdirs +/usr/share/snmp/mibs/f5
mibdirs +/usr/share/snmp/mibs/juniper
# mibs: Specifies a list of mibs to be searched for and loaded.
# Adding a '+' sign to the front of the argument appends the new
# mib name to the list of mibs already being searched for.
# arguments: [+]mibname[:mibname...]
mibs +ALL
# showmiberrors: Should errors in mibs be displayed when the mibs are loaded
# arguments: (1|yes|true|0|no|false)
showmiberrors 0
# mibwarninglevel: Should warnings about mibs be displayed when the mibs are loaded
# arguments: 1|2
mibwarninglevel 0
# strictcommentterm: Be strict about about mib comment termination.
# Strictly follow comment rules about parsing mibs.
# arguments: (1|yes|true|0|no|false)
strictcommentterm 0
# miballowunderline: Should underlines be allowed in mib symbols (illegal)
# arguments: (1|yes|true|0|no|false)
miballowunderline 1
# mibreplacewithlatest: Force replacement of older mibs with known updated ones
# arguments: (1|yes|true|0|no|false)
mibreplacewithlatest 1