-
Notifications
You must be signed in to change notification settings - Fork 91
/
snmpd.conf
38 lines (25 loc) · 1.1 KB
/
snmpd.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
#####################
#### START File #####
### TechArkit #######
#####################
# First, map the community name "public" into a "security name"
# sec.name source community
com2sec technetwork 192.168.48.0/24 techarkit
com2sec technetwork 192.168.1.0/24 techarkit
com2sec technetwork 127.0.0.1 techarkit
####
# Second, map the security name into a group name:
# groupName securityModel securityName
group TECHGROUP v1 technetwork
group TECHGROUP v2c technetwork
# Make at least snmpwalk -v 1 localhost -c public system fast again.
view all included .1
# Finally, grant the group read-only access to the systemview view.
# group context sec.model sec.level prefix read write notif
access TECHGROUP "" any noauth exact all none none
# System contact information
syslocation NagiosCore,Hyderabad,India,TechArkit (edit /etc/snmp/snmpd.conf)
syscontact Admin [email protected] (configure /etc/snmp)
# Logging
dontLogTCPWrappersConnects yes
#### END FILE #######################