source: hybrid/trunk/nanobsd/files/usr/local/share/snmp/snmpd.conf@ 10136

Last change on this file since 10136 was 10136, checked in by richardvm, 13 years ago

domme toevoeging van proxy files

File size: 1.6 KB
Line 
1# snmpd.conf
2
3# First, map the community name (COMMUNITY) into a security name
4# (local and mynetwork, depending on where the request is coming
5# from):
6
7# sec.name source community
8com2sec local localhost public
9com2sec mynetwork 172.16.0.0/12 public
10com2sec mynetwork 10.0.0.0/8 public
11com2sec mynetwork 192.168.0.0/16 public
12
13
14
15# Second, map the security names into group names:
16
17# sec.model sec.name
18group MyRWGroup v1 local
19group MyRWGroup v2c local
20group MyRWGroup usm local
21group MyROGroup v1 mynetwork
22group MyROGroup v2c mynetwork
23group MyROGroup usm mynetwork
24
25
26# Third, create a view for us to let the groups have rights to:
27
28# incl/excl subtree mask
29view all included .1 80
30
31
32# Finally, grant the 2 groups access to the 1 view with different
33# write permissions:
34
35# context sec.model sec.level match read write notif
36access MyROGroup "" any noauth exact all none none
37access MyRWGroup "" any noauth exact all all none
38
39
40# System contact information
41
42sysLocation Somewhere in or near Leiden
43sysContact Stichting Wireless Leiden <beheer@wirelessleiden.nl> / +31 71 5139817
44
45
46# Process checks.
47
48# name max min
49proc sshd 8 1
50proc syslogd 1 1
51proc ntpd 1 1
52proc snmpd 1 1
53proc cron 2 1
54
55
56# disk checks
57
58# path min
59#disk / 90%
60#disk /var 80%
61#disk /usr 80%
62#disk /tmp 60%
63includeAllDisks 85%
64
65
66# load average checks
67
68# 1max 5max 15max
69load 12 14 14
70
71
72# Pass through control
73
74# miboid exec-command
75pass .1.3.6.1.4.1.2021.50 /usr/local/nagios/bin/processor
76
77pass_persist .1.3.6.1.4.1.21695.1.2 /usr/local/sbin/dhcpd-snmp /usr/local/etc/dhcpd-snmp.conf
Note: See TracBrowser for help on using the repository browser.