1# load average checks
2
3# load [1MAX=DEFMAXLOADAVE] [5MAX=DEFMAXLOADAVE] [15MAX=DEFMAXLOADAVE]
4#
5# 1MAX:   If the 1 minute load average is above this limit at query
6#         time, the errorFlag will be set.
7# 5MAX:   Similar, but for 5 min average.
8# 15MAX:  Similar, but for 15 min average.
9
10# Check for loads:
11load 12 14 14
12
13# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.10
14
15# snmp agent errors
16
17# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.101
18
19# snmp version mib
20
21# % snmpwalk -v 1 localhost public .1.3.6.1.4.1.2021.100
22
23# System contact information
24
25syslocation PicoBSD
26syscontact root <root@pico>
27
28# Setting up the access control lists to the agent
29
30#       sec.name  source          community
31com2sec local     localhost       private
32com2sec public    default         public
33
34#             sec.model  sec.name
35group local   any        local
36group public  any        public
37
38#           incl/excl subtree                          mask
39view all    included  .1                               80
40view system included  system                           fe
41view mib2   included  .iso.org.dod.internet.mgmt.mib-2 fc
42
43#              context sec.model sec.level prefix read   write  not
44access public  ""      any       noauth    0      system none   none
45access local   ""      any       noauth    0      all    all    all
46
47# If you want to get back to the functionality of previous versions,
48# where the public community could read anything from anywhere and the 
49# private community could write anything from anywhere, use these
50# lines instead:
51#
52# com2sec public  default public
53# com2sec private default private
54# group   public  any     public
55# group   private any     private
56# view    all     included .1 80
57# access  public  "" any noauth 0 all none none
58# access  private "" any noauth 0 all all none
59