Ticket #50195: snmpd.conf

File snmpd.conf, 3.3 KB (added by mail@…, 9 years ago)
Line 
1###########################################################################
2#
3# snmpd.conf
4#
5#   - created by the snmpconf configuration program
6#
7###########################################################################
8# SECTION: Access Control Setup
9#
10#   This section defines who is allowed to talk to your running
11#   snmp agent.
12
13# rwuser: a SNMPv3 read-write user
14#   arguments:  user [noauth|auth|priv] [restriction_oid]
15
16
17# rocommunity: a SNMPv1/SNMPv2c read-only access community name
18#   arguments:  community [default|hostname|network/bits] [oid]
19
20rocommunity  public 
21
22
23
24###########################################################################
25# SECTION: Extending the Agent
26#
27#   You can extend the snmp agent to have it return information
28#   that you yourself define.
29
30# exec: run a simple command using exec()
31#   arguments:  [oid] name /path/to/executable arguments
32
33
34###########################################################################
35# SECTION: Monitor Various Aspects of the Running Host
36#
37#   The following check up on various aspects of a host.
38
39# proc: Check for processes that should be running.
40#     proc NAME [MAX=0] [MIN=0]
41#   
42#     NAME:  the name of the process to check for.  It must match
43#            exactly (ie, http will not find httpd processes).
44#     MAX:   the maximum number allowed to be running.  Defaults to 0.
45#     MIN:   the minimum number to be running.  Defaults to 0.
46#   
47#   The results are reported in the prTable section of the UCD-SNMP-MIB tree
48#   Special Case:  When the min and max numbers are both 0, it assumes
49#   you want a max of infinity and a min of 1.
50
51
52# disk: Check for disk space usage of a partition.
53#   The agent can check the amount of available disk space, and make
54#   sure it is above a set limit. 
55#   
56#    disk PATH [MIN=100000]
57#   
58#    PATH:  mount path to the disk in question.
59#    MIN:   Disks with space below this value will have the Mib's errorFlag set.
60#           Can be a raw integer value (units of kB) or a percentage followed by the %
61#           symbol.  Default value = 100000.
62#   
63#   The results are reported in the dskTable section of the UCD-SNMP-MIB tree
64
65
66
67
68
69
70###########################################################################
71# SECTION: System Information Setup
72#
73#   This section defines some of the information reported in
74#   the "system" mib group in the mibII tree.
75
76# syslocation: The [typically physical] location of the system.
77#   Note that setting this value here means that when trying to
78#   perform an snmp SET operation to the sysLocation.0 variable will make
79#   the agent return the "notWritable" error code.  IE, including
80#   this token in the snmpd.conf file will disable write access to
81#   the variable.
82#   arguments:  location_string
83
84syslocation  "Berlin/Europe"
85
86# syscontact: The contact information for the administrator
87#   Note that setting this value here means that when trying to
88#   perform an snmp SET operation to the sysContact.0 variable will make
89#   the agent return the "notWritable" error code.  IE, including
90#   this token in the snmpd.conf file will disable write access to
91#   the variable.
92#   arguments:  contact_string
93
94syscontact  "someone@somewhere.de"
95
96# sysservices: The proper value for the sysServices object.
97#   arguments:  sysservices_number
98
99sysservices 76
100