OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / ucd-snmp / draft / man5 / snmpd.conf.5
1 .\"
2 .\" Japanese Version Copyright (c) 2002 Yuichi SATO
3 .\"         all rights reserved.
4 .\" Translated Mon May  6 20:59:37 JST 2002
5 .\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
6 .\"
7 .TH SNMPD.CONF 5 "28 Aug 2001"
8 .ds )H U.C. Davis, ECE Dept.
9 .ds ]W V4.2.4
10 .UC 4
11 .\"O .SH NAME
12 .SH Ì¾Á°
13 .\"O /usr/share/snmp/snmpd.conf - configuration file for the ucd-snmp SNMP agent.
14 /usr/share/snmp/snmpd.conf - ucd-snmp SNMP ¥¨¡¼¥¸¥§¥ó¥È¤ÎÀßÄê¥Õ¥¡¥¤¥ë
15 .\"O .SH DESCRIPTION
16 .SH ÀâÌÀ
17 .\"O .B snmpd.conf
18 .\"O is the configuration file which defines how the ucd-smnp SNMP agent
19 .\"O operates.  These files may contain any of the directives found in the
20 .\"O DIRECTIVES section below.  This file is not required for the agent to
21 .\"O operate and report mib entries.
22 .B snmpd.conf
23 ¤Ï ucd-smnp SNMP ¥¨¡¼¥¸¥§¥ó¥È¤ÎÁàºîË¡¤òÄêµÁ¤¹¤ëÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤¢¤ë¡£
24 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ï²¼µ­¤Î¡Ö¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¡×¥»¥¯¥·¥ç¥ó¤Ë¤¢¤ë
25 Ǥ°Õ¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ò´Þ¤à¤³¤È¤¬¤Ç¤­¤ë¡£
26 ¥¨¡¼¥¸¥§¥ó¥È¤¬ mib ¥¨¥ó¥È¥ê¤òÁàºî¤·¤¿¤êɽ¼¨¤·¤¿¤ê¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
27 ¤³¤Î¥Õ¥¡¥¤¥ë¤ÏɬÍפʤ¤¡£
28 .\"O .SH PLEASE READ FIRST
29 .SH ºÇ½é¤Ë¤ªÆɤߤ¯¤À¤µ¤¤
30 .\"O First, make sure you have read the snmp_config(5) manual page that
31 .\"O describes how the ucd-snmp configuration files operate, where they
32 .\"O are located and how they all work together.
33 ºÇ½é¤Ë man ¥Ú¡¼¥¸ snmp_config(5) ¤òÆɤó¤Ç¤ª¤¯¤³¤È¡£
34 ¤³¤³¤Ë¤Ï ucd-snmp ¥Õ¥¡¥¤¥ë¤ÎÁàºîË¡¡¦¾ì½ê¡¦
35 ¸ß¤¤¤Ë¤É¤Î¤è¤¦¤ËÆ°ºî¤¹¤ë¤«¤¬½ñ¤«¤ì¤Æ¤¤¤ë¡£
36 .PP
37 .\"O Also, you might consider looking into the
38 .\"O .I snmpconf
39 .\"O application (perl script) which can help you build a snmpd.conf file
40 .\"O by prompting you for information.  You should try it.  Really.  Go
41 .\"O ahead.  Right now.  Run:
42 ¤µ¤é¤Ë¡¢
43 .I snmpconf
44 ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó (perl ¥¹¥¯¥ê¥×¥È) ¤Ë¤¶¤Ã¤ÈÌܤòÄ̤¹¤Î¤â¤è¤¤¤«¤â¤·¤ì¤Ê¤¤¡£
45 ¤³¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï¥æ¡¼¥¶¡¼¤Ë¾ðÊó¤òÄ󼨤·¤Æ
46 snmpd.conf ¥Õ¥¡¥¤¥ë¤ÎºîÀ®¤ò½õ¤±¤Æ¤¯¤ì¤ë¡£
47 »î¤·¤Æ¤ß¤Ê¤µ¤¤¡£ËÜÅö¤Ë¡£¤µ¤¢¡¢º£¤¹¤°¤Ë¡£
48 .RS
49 .IP "snmpconf -g basic_setup"
50 .RE
51 .PP
52 .\"O to get you started.
53 ¤Ç»Ï¤á¤é¤ì¤Þ¤¹¡£
54 .\"O .SH EXTENSIBLE-MIB
55 .SH ³ÈÄ¥²Äǽ MIB
56 .PP
57 .\"O The ucd-snmp SNMP agent reports much of its information through
58 .\"O queries to the 1.3.6.1.4.1.2021 section of the mib tree.  Every mib in
59 .\"O this section has the following table entries in it.
60 ucd-snmp SNMP ¥¨¡¼¥¸¥§¥ó¥È¤Ï¡¢
61 mib ¥Ä¥ê¡¼¤Î 1.3.6.1.4.1.2021 ¥»¥¯¥·¥ç¥ó¤ËÂФ·¤Æ¥¯¥§¥ê¡¼¤ò¹Ô¤¤¡¢
62 ¿¤¯¤Î¾ðÊó¤òɽ¼¨¤¹¤ë¡£
63 ¤³¤Î¥»¥¯¥·¥ç¥ó¤Î³Æ mib ¤Ë¤Ï°Ê²¼¤Î¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê¤¬¤¢¤ë¡£
64 .IP ".1 -- index"
65 .\"O This is the table's index numbers for each of the DIRECTIVES listed below.
66 °Ê²¼¤Ë¥ê¥¹¥È¤µ¤ì¤¿¡Ö¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¡×¤ËÂФ¹¤ë¥Æ¡¼¥Ö¥ë¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹Èֹ档
67 .IP ".2 -- name"
68 .\"O The name of the given table entry.  This should be unique, but is not
69 .\"O required to be.
70 »ØÄꤵ¤ì¤¿¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê¤Î̾Á°¡£
71 ¤³¤ì¤Ï¾¤È½Å¤Ê¤é¤Ê¤¤Êý¤¬Îɤ¤¤¬¡¢½Å¤Ê¤Ã¤Æ¤â¹½¤ï¤Ê¤¤¡£
72 .IP ".100 -- errorFlag"
73 .\"O This is a flag returning either the integer value 1 or 0 if an error
74 .\"O is detected for this table entry.
75 ¤³¤Î¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê¤Ë¥¨¥é¡¼¤¬¸«¤Ä¤«¤Ã¤¿¾ì¹ç¤Ë¡¢
76 À°¿ô 1 ¤Þ¤¿¤Ï 0 ¤òÊÖ¤¹¥Õ¥é¥°¡£
77 .IP ".101 -- errorMsg"
78 .\"O This is a DISPLAY-STRING describing any error triggering the errorFlag above.
79 ¾åµ­¤Î errorFlag ¤ò°ú¤­µ¯¤³¤¹¥¨¥é¡¼¤òÀâÌÀ¤¹¤ë¡Öɽ¼¨Ê¸»úÎó¡×¡£
80 .\"sato: DISPLAY-STRING ¤ËÂбþ¤¹¤ëÌõ¸ì¤Ï¤¢¤ë¤Î¤«¤Ê¡©
81 .IP ".102 -- errorFix"
82 .\"O If this entry is SNMPset to the integer value of 1 AND the errorFlag
83 .\"O defined above is indeed a 1, a program or script will get executed
84 .\"O with the table entry name from above as the argument.  The program to
85 .\"O be executed is configured in the config.h file at compile time.
86 ¤³¤Î¥¨¥ó¥È¥ê¤¬ SNMPset ¤«¤éÀ°¿ô 1 ¤Ç¡¢
87 ¤«¤Ä¾å¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë errorFlag ¤¬ 1 ¤Î¾ì¹ç¡¢
88 ¾åµ­¤Î¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê̾¤ò°ú¤­¿ô¤È¤·¤Æ
89 ¥×¥í¥°¥é¥à¤ä¥¹¥¯¥ê¥×¥È¤¬¼Â¹Ô¤µ¤ì¤ë¡£
90 .\"sato: 1 ¹ÔÌܤΠSNMPset to the integer value of 1 ¤¬¤è¤¯¤ï¤«¤é¤Ê¤¤¡£
91 ¼Â¹Ô¤µ¤ì¤ë¥×¥í¥°¥é¥à¤Ï¥³¥ó¥Ñ¥¤¥ë»þ¤Ë config.h ¥Õ¥¡¥¤¥ë¤ÇÀßÄꤵ¤ì¤ë¡£
92 .\"O .SS Directives
93 .SS ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö
94 .IP "proc NAME"
95 .IP "proc NAME MAX"
96 .IP "proc NAME MAX MIN"
97 .IP
98 .\"O Checks to see if the NAME'd processes are running on the agent's
99 .\"O machine.  An error flag (1) and a description message are then passed
100 .\"O to the 1.3.6.1.4.1.2021.2.1.100 and
101 .\"O 1.3.6.1.4.1.2021.2.1.101 mib columns (respectively) if the
102 .\"O NAME'd program is not found in the process table as reported by "/bin/ps -e".
103 NAME ¤È¤¤¤¦Ì¾Á°¤Î¥×¥í¥»¥¹¤¬
104 ¥¨¡¼¥¸¥§¥ó¥È¤Î¥Þ¥·¥ó¤Ç²ÔƯ¤·¤Æ¤¤¤ë¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
105 NAME ¤È¤¤¤¦Ì¾Á°¤Î¥×¥í¥°¥é¥à¤¬
106 "/bin/ps -e" ¤Çɽ¼¨¤µ¤ì¤ë¥×¥í¥»¥¹¥Æ¡¼¥Ö¥ë¤Ë¤Ê¤¤¾ì¹ç¡¢
107 ¥¨¥é¡¼¥Õ¥é¥° (1) ¤ÈÀâÌÀ¤Î¥á¥Ã¥»¡¼¥¸¤¬
108 mib ¥³¥é¥à¤Î 1.3.6.1.4.1.2021.2.1.100 ¤È
109 1.3.6.1.4.1.2021.2.1.101 ¤Ë (¤½¤ì¤¾¤ì) ÅϤµ¤ì¤ë¡£
110 .IP
111 .\"O If MAX and MIN are not specified, MAX is assumed to be 
112 .\"O .B infinity
113 .\"O and MIN is assumed to be 1.
114 MAX ¤È MIN ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢MAX ¤Ï
115 .B infinity
116 (̵¸ÂÂç) ¤Ç MIN ¤Ï 1 ¤Ç¤¢¤ë¤È²¾Äꤵ¤ì¤ë¡£
117 .IP
118 .\"O If MAX is specified but MIN is not specified, MIN is assumed to be 0.
119 MAX ¤Ï»ØÄꤵ¤ì¤Æ¤¤¤ë¤¬¡¢MIN ¤Ï»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
120 MIN ¤Ï 0 ¤Ç¤¢¤ë¤È²¾Äꤵ¤ì¤ë¡£
121 .IP "procfix NAME PROG ARGS"
122 .\"O This registers a command that knows how to fix errors with the given
123 .\"O process NAME.  When 1.3.6.1.4.1.2021.2.1.102 for a given
124 .\"O NAMEd program is set to the integer value of 1, this command will be
125 .\"O called.  It defaults to a compiled value set using the PROCFIXCMD
126 .\"O definition in the config.h file.
127 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢NAME ¤Ç»ØÄꤵ¤ì¤¿¥×¥í¥»¥¹¤ÇȯÀ¸¤·¤¿¥¨¥é¡¼¤ò
128 ½¤Àµ¤¹¤ë¤¿¤á¤Î¥³¥Þ¥ó¥É¤òÅÐÏ¿¤¹¤ë¡£
129 NAME ¤Ç»ØÄꤵ¤ì¤¿¥×¥í¥°¥é¥à¤ËÂФ·¤Æ 1.3.6.1.4.1.2021.2.1.102 ¤¬
130 À°¿ôÃÍ 1 ¤ËÀßÄꤵ¤ì¤¿¾ì¹ç¡¢¤³¤Î¥³¥Þ¥ó¥É¤¬¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
131 ¸Æ¤Ó½Ð¤µ¤ì¤ë¥×¥í¥°¥é¥à¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë»þ¤ÎÃͤǤ¢¤ê¡¢
132 config.h ¥Õ¥¡¥¤¥ë¤Î PROCFIXCMD ¤ÇÄêµÁ¤µ¤ì¤ë¡£
133 .IP "exec NAME PROG ARGS"
134 .IP "exec MIBNUM NAME PROG ARGS"
135 .IP
136 .\"O If MIBNUM is not specified, the agent executes the named PROG with
137 .\"O arguments of ARGS and returns the exit status and the first line of
138 .\"O the STDOUT output of the PROG program to queries of the
139 .\"O 1.3.6.1.4.1.2021.8.1.100 and
140 .\"O 1.3.6.1.4.1.2021.8.1.101 mib columns (respectively).  All
141 .\"O STDOUT output beyond the first line is silently truncated.
142 MIBNUM ¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢
143 ¥¨¡¼¥¸¥§¥ó¥È¤Ï PROG ¤È¤¤¤¦Ì¾Á°¤Î¥×¥í¥°¥é¥à¤ò°ú¤­¿ô ARGS ¤òÉÕ¤±¤Æ¼Â¹Ô¤·¡¢
144 ¥×¥í¥°¥é¥à PROG ¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤Èɸ½à½ÐÎϤΠ1 ¹ÔÌܤòÊÖ¤¹¡£
145 ¤³¤ì¤é¤Ï¤½¤ì¤¾¤ì mib ¥³¥é¥à¤Î 1.3.6.1.4.1.2021.8.1.100 ¤È
146 1.3.6.1.4.1.2021.8.1.101 ¤ÎÃͤò¥¯¥§¥ê¡¼¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
147 ɸ½à½ÐÎϤΠ1 ¹ÔÌܰʹߤϰÅÌÛ¤ÎÆâ¤Ë¾Êά¤µ¤ì¤ë¡£
148 .IP
149 .\"O If MIBNUM is specified, it acts as above but returns the exit status
150 .\"O to MIBNUM.100.0 and the entire STDOUT output to the table
151 .\"O MIBNUM.101 in a mib table.  In this case, the MIBNUM.101 mib
152 .\"O contains the entire STDOUT output, one mib table entry per line of
153 .\"O output (ie, the first line is output as MIBNUM.101.1, the second
154 .\"O at MIBNUM.101.2, etc...).
155 MIBNUM ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤â¡¢¾å¤ÈƱ¤¸¤è¤¦¤ËÆ°ºî¤¹¤ë¤¬¡¢
156 ½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤ò MIBNUM.100.0 ¤ËÊÖ¤·¡¢
157 ɸ½à½ÐÎÏÁ´ÂΤò mib ¥Æ¡¼¥Ö¥ëÆâ¤Î¥Æ¡¼¥Ö¥ë MIBNUM.101 ¤ËÊÖ¤¹¡£
158 ¤³¤Î¤È¤­ MIBNUM.101 mib ¤Ë¤Ïɸ½à½ÐÎϤؤνÐÎÏÁ´ÂΤ¬Æþ¤ê¡¢
159 1 ¤Ä¤Î mib ¥Æ¡¼¥Ö¥ë¥¨¥ó¥È¥ê¤Ë¤Ï½ÐÎϤΠ1 ¹Ôʬ¤¬Æþ¤ë
160 (¤Ä¤Þ¤ê¡¢½ÐÎϤÎÂè 1 ¹Ô¤Ï MIBNUM.101.1¡¢
161 Âè 2 ¹Ô¤Ï MIBNUM.101.2¡¢... ¤È¤Ê¤ë)¡£
162 .RS
163 .\"O .IP Note:
164 .IP Ãí°Õ:
165 .\"O The MIBNUM must be specified in dotted-integer notation and can
166 .\"O not be specified as ".iso.org.dod.internet..." (should instead
167 .\"O be .1.3.6.1...).
168 MIBNUM ¤Ï¥É¥Ã¥È¶èÀÚ¤ê¤ÎÀ°¿ôÃÍɽµ­¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
169 (.1.3.6.1... ¤ÎÂå¤ï¤ê¤Ë) ".iso.org.dod.internet..." ¤Î¤è¤¦¤Ë
170 »ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤­¤Ê¤¤¡£
171 .\"O .IP Note: 
172 .IP Ãí°Õ:
173 .\"O The agent caches the exit status and STDOUT of the executed program
174 .\"O for 30 seconds after the initial query.  This is to increase speed and
175 .\"O maintain consistency of information for consecutive table queries.
176 ¥¨¡¼¥¸¥§¥ó¥È¤ÏºÇ½é¤Î¥¯¥§¥ê¡¼¤ò¹Ô¤Ã¤¿¸å¡¢
177 ¼Â¹Ô¤·¤¿¥×¥í¥°¥é¥à¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤Èɸ½à½ÐÎϤò 30 Éô֥­¥ã¥Ã¥·¥å¤¹¤ë¡£
178 ¤³¤ì¤Ë¤è¤ê¤½¤Î¸å¤Î¥Æ¡¼¥Ö¥ë¤Î¥¯¥§¥ê¡¼¤Î¥¹¥Ô¡¼¥É¤¬¾å¤¬¤ê¡¢
179 ¾ðÊó¤Î°ì´ÓÀ­¤¬´ÉÍý¤Ç¤­¤ë¡£
180 .\"O The cache can be flushed by a snmp-set request of integer(1) to
181 .\"O 1.3.6.1.4.1.2021.100.VERCLEARCACHE.
182 ¤³¤Î¥­¥ã¥Ã¥·¥å¤Ï 1.3.6.1.4.1.2021.100.VERCLEARCACHE ¤ò
183 À°¿ô (1) ¤ËÀßÄꤹ¤ë snmp-set Í×µá¤Ë¤è¤ê¾Ãµî¤µ¤ì¤ë¡£
184 .RE
185 .IP "execfix NAME PROG ARGS"
186 .\"O This registers a command that knows how to fix errors with the given
187 .\"O exec or sh NAME.  When 1.3.6.1.4.1.2021.8.1.102 for a
188 .\"O given NAMEd entry is set to the integer value of 1, this command will
189 .\"O be called.  It defaults to a compiled value set using the EXECFIXCMD
190 .\"O definition in the config.h file.
191 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï NAME ¤Ç»ØÄꤵ¤ì¤¿
192 ¼Â¹Ô¥×¥í¥°¥é¥à¤Þ¤¿¤Ï¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤ÇȯÀ¸¤·¤¿
193 ¥¨¥é¡¼¤ò½¤Àµ¤¹¤ë¤¿¤á¤Î¥³¥Þ¥ó¥É¤òÅÐÏ¿¤¹¤ë¡£
194 NAME ¤Ç»ØÄꤷ¤¿¥¨¥ó¥È¥ê¤ËÂФ·¤Æ
195 1.3.6.1.4.1.2021.8.1.102 ¤¬À°¿ôÃÍ 1 ¤ËÀßÄꤵ¤ì¤ë¤È¡¢
196 ¤³¤Î¥³¥Þ¥ó¥É¤¬¸Æ¤Ó½Ð¤µ¤ì¤ë¡£
197 ¸Æ¤Ó½Ð¤µ¤ì¤ë¥×¥í¥°¥é¥à¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë»þ¤ÎÃͤǤ¢¤ê¡¢
198 config.h ¥Õ¥¡¥¤¥ë¤Î EXECFIXCMD ¤ÇÄêµÁ¤µ¤ì¤ë¡£
199 .IP "disk PATH"
200 .IP "disk PATH [ MINSPACE | MINPERCENT% ]"
201 .IP
202 .\"O Checks the named disks mounted at PATH for available disk space.  If
203 .\"O the disk space is less than MINSPACE (kB) if specified or less than
204 .\"O MINPERCENT (%) if a % sign is specified, or DEFDISKMINIMUMSPACE (kB)
205 .\"O if not specified, the associated entry in the
206 .\"O 1.3.6.1.4.1.2021.9.1.100 mib table will be set to (1) and
207 .\"O a descriptive error message will be returned to queries of
208 .\"O 1.3.6.1.4.1.2021.9.1.101.
209 PATH ¤Ë¥Þ¥¦¥ó¥È¤µ¤ì¤¿¥Ç¥£¥¹¥¯¤Î»ÈÍѲÄǽ¤Ê¥Ç¥£¥¹¥¯ÍÆÎ̤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
210 ¥Ç¥£¥¹¥¯ÍÆÎ̤¬ MINSPACE (kB) ¤è¤ê¾¯¤Ê¤¤¾ì¹ç¡¢
211 ¤Þ¤¿¤Ï % µ­¹æ¤ò»ØÄꤷ¤Æ MINPERCENT (%) ¤è¤ê¾¯¤Ê¤¤¾ì¹ç¡¢
212 ¤Þ¤¿¤Ï DEFDISKMINIMUMSPACE (kB) ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
213 1.3.6.1.4.1.2021.9.1.100 mib ¥Æ¡¼¥Ö¥ë¤Î´ØÏ¢¤¹¤ë¥¨¥ó¥È¥ê¤¬ (1) ¤ËÀßÄꤵ¤ì¡¢
214 ¥¨¥é¡¼¤òÀâÌÀ¤¹¤ë¥á¥Ã¥»¡¼¥¸¤¬
215 1.3.6.1.4.1.2021.9.1.101 ¤Î¥¯¥§¥ê¡¼¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤ë¡£
216 .IP "load MAX1"
217 .IP "load MAX1 MAX5"
218 .IP "load MAX1 MAX5 MAX15"
219 .IP
220 .\"O Checks the load average of the machine and returns an error flag (1),
221 .\"O and an text-string error message
222 .\"O to queries of 1.3.6.1.4.1.2021.10.1.100 and
223 .\"O 1.3.6.1.4.1.2021.10.1.101 (respectively) when the
224 .\"O 1-minute, 5-minute, or 15-minute averages exceed the associated
225 .\"O maximum values.  If any of the MAX1, MAX5, or MAX15 values are
226 .\"O unspecified, they default to a value of DEFMAXLOADAVE.
227 ¥Þ¥·¥ó¤ÎÊ¿¶ÑÉé²Ù¤ò¥Á¥§¥Ã¥¯¤·¡¢
228 1 Ê¬´Ö¡¦5 Ê¬´Ö¡¦15 Ê¬´Ö¤ÎÊ¿¶Ñ¤¬¤½¤ì¤¾¤ì¤ÎºÇÂçÃͤòĶ¤¨¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢
229 1.3.6.1.4.1.2021.10.1.100 ¤È 1.3.6.1.4.1.2021.10.1.101 ¤ò¥¯¥§¥ê¡¼¤·¤Æ¡¢
230 ¥¨¥é¡¼¥Õ¥é¥° (1) ¤È¥Æ¥­¥¹¥Èʸ»úÎó¤Î¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤òÊÖ¤¹¡£
231 MAX1, MAX5, MAX15 ¤ÎÃͤΤ¦¤Á»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤â¤Î¤Ï¡¢
232 ¥Ç¥Õ¥©¥ë¥È¤Î DEFMAXLOADAVE ¤Ë¤Ê¤ë¡£
233 .IP "file FILE [MAXSIZE]"
234 .\"O Monitors file sizes and makes sure they don't grow beyond a certain
235 .\"O size (in kilobytes).  MAXSIZE defaults to infinite if not specified,
236 .\"O and only monitors the size without reporting errors about it.
237 ¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤ò´Æ»ë¤·¡¢(¥­¥í¥Ð¥¤¥È¤Ç) »ØÄꤵ¤ì¤¿¥µ¥¤¥º¤ò
238 Ķ¤¨¤Æ¤Ê¤¤¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¡£
239 MAXSIZE ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï̵¸ÂÂç¤Ë¤Ê¤ê¡¢
240 ¥¨¥é¡¼¤òÊó¹ð¤»¤º¤Ë¥µ¥¤¥º¤Î¤ß¤ò´Æ»ë¤¹¤ë¡£
241 .\"O .SS "Errors"
242 .SS ¥¨¥é¡¼
243 .PP
244 .\"O Any errors in obtaining the above information are reported via the
245 .\"O 1.3.6.1.4.1.2021.101.1.100 flag and the
246 .\"O 1.3.6.1.4.1.2021.101.1.101 text-string description.
247 ¾åµ­¤Î¾ðÊó¤ò¼èÆÀ¤¹¤ë¤¿¤á¤Î¥¨¥é¡¼¤Ï¡¢
248 1.3.6.1.4.1.2021.101.1.100 ¥Õ¥é¥°¤È
249 1.3.6.1.4.1.2021.101.1.101 ¥Æ¥­¥¹¥Èʸ»úÎó¤ò¥¯¥§¥ê¡¼¤·¤Æɽ¼¨¤µ¤ì¤ë¡£
250 .\"O .SH AGENTX SUB-AGENTS
251 .SH AGENTX ¥µ¥Ö¥¨¡¼¥¸¥§¥ó¥È
252 .\"O To enable AgentX support in the snmp master agent, put the following
253 .\"O line in your snmpd.conf file:
254 .\"O .IP "master agentx"
255 .\"O Note that this support is still experimental, and should not be used
256 .\"O on production systems.  See README.agentx for details.
257 snmp ¥Þ¥¹¥¿¡¼¥¨¡¼¥¸¥§¥ó¥È¤Ç AgentX ¥µ¥Ý¡¼¥È¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
258 snmpd.conf ¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Î¤è¤¦¤Ê¹Ô¤ò½ñ¤­¹þ¤á¤Ð¤è¤¤:
259 .IP "master agentx"
260 ¤³¤Î¥µ¥Ý¡¼¥È¤Ï¤Þ¤À¼Â¸³Åª¤Ê¤â¤Î¤Ç¡¢À½ÉÊÈǤΥ·¥¹¥Æ¥à¤Ç¤Ï»ÈÍѤ¹¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£
261 ¾ÜºÙ¤Ï README.agentx ¤ò»²¾È¤¹¤ë¤³¤È¡£
262 .\"O .SH SMUX SUB-AGENTS
263 .SH SMUX ¥µ¥Ö¥¨¡¼¥¸¥§¥ó¥È
264 .\"O To enable and SMUX based sub-agent, such as
265 .\"O .IR gated ,
266 .\"O use the
267 .\"O .I smuxpeer
268 .\"O configuration entry
269 .I gated
270 ¤Î¤è¤¦¤Ê SMUX ¥Ù¡¼¥¹¤Î¥µ¥Ö¥¨¡¼¥¸¥§¥ó¥È¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢
271 °Ê²¼¤Î¤è¤¦¤Ë
272 .I smuxpeer
273 ÀßÄꥨ¥ó¥È¥ê¤ò»È¤¨¤Ð¤è¤¤:
274 .IP "smuxpeer OID PASS"
275 .\"O For 
276 .\"O .I gated
277 .\"O a sensible entry might be
278 .\"O .I smuxpeer .1.3.6.1.4.1.4.1.3 secret
279 .\"Osato: 
280 .\"Osato: sensible ¤Î°ÕÌ£¤Ï¡Ö¼ÂºÝ¤Î¡×¤Ç¤¤¤¤¤«¤Ê¡©
281 .\"Osato: 
282 .I gated
283 ¤Ë¤Ä¤¤¤Æ¤Î¼ÂºÝ¤Î¥¨¥ó¥È¥ê¤Ï
284 .I smuxpeer .1.3.6.1.4.1.4.1.3 secret
285 ¤Î¤è¤¦¤Ë¤Ê¤ë¡£
286 .\"O .SH DYNAMICALLY LOADABLE MODULES
287 .SH Æ°ÅªÆɤ߹þ¤ß²Äǽ¥â¥¸¥å¡¼¥ë
288 .\"O If the agent is built with support for the UCD-DLMOD-MIB it is capable
289 .\"O of loading agent MIB modules dynamically at startup through
290 .\"O the \fIdlmod\fR directive and during runtime through use of the UCD-DLMOD-MIB.
291 .\"O The following directive loads the shared object module file PATH which
292 .\"O uses the module name prefix NAME.
293 ¥¨¡¼¥¸¥§¥ó¥È¤¬ UCD-DLMOD-MIB ¤Î¥µ¥Ý¡¼¥È¤òÁȤ߹þ¤ó¤Ç¤¤¤ë¾ì¹ç¡¢
294 ¥¨¡¼¥¸¥§¥ó¥È MIB ¥â¥¸¥å¡¼¥ë¤ò
295 µ¯Æ°»þ¤Ë \fIdlmod\fR ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ò»È¤Ã¤ÆưŪ¤Ë¥í¡¼¥É¤·¤¿¤ê¡¢
296 ¼Â¹ÔÃæ¤Ë UCD-DLMOD-MIB ¤ò»È¤Ã¤ÆưŪ¤Ë¥í¡¼¥É¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
297 °Ê²¼¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢¥â¥¸¥å¡¼¥ë̾¥×¥ì¥Õ¥£¥Ã¥¯¥¹¤¬ NAME ¤Ç¤¢¤ë
298 ¶¦Í­¥ª¥Ö¥¸¥§¥¯¥È¥â¥¸¥å¡¼¥ë¥Õ¥¡¥¤¥ë PATH ¤ò¥í¡¼¥É¤¹¤ë¡£
299 .IP "dlmod NAME PATH"
300 .IP
301 .\"O .SH ACCESS CONTROL
302 .SH ¥¢¥¯¥»¥¹À©¸æ
303 .\"O snmpd supports the View-Based Access Control Model (vacm)
304 .\"O as defined in RFC 2275.
305 .\"O To this end, it recognizes the following keywords in the configuration
306 .\"O file: \fIcom2sec\fR, \fIgroup\fR, \fIaccess\fR, and \fIview\fR as well 
307 .\"O as some easier-to-use wrapper directives: \fIrocommunity\fR,
308 .\"O \fIrwcommunity\fR, \fIrouser\fR, \fIrwuser\fR.
309 snmpd ¤Ï RFC 2275 ¤Çµ¬Äꤵ¤ì¤Æ¤¤¤ë
310 View-Based Access Control Model (vacm) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
311 ¤³¤Î¤¿¤á¡¢snmpd ¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë
312 \fIcom2sec\fR, \fIgroup\fR, \fIaccess\fR, \fIview\fR 
313 ¤È¤¤¤¦¥­¡¼¥ï¡¼¥É¤òǧ¼±¤¹¤ë¡£
314 ¤Þ¤¿´Êñ¤Ë»ÈÍѤ¹¤ë¤¿¤á¤Î¥é¥Ã¥Ñ¡¼¥Ç¥£¥ì¥¯¥Æ¥£¥Ö
315 \fIrocommunity\fR, \fIrwcommunity\fR, 
316 \fIrouser\fR, \fIrwuser\fR ¤âǧ¼±¤¹¤ë¡£
317 .IP "rocommunity COMMUNITY [SOURCE] [OID]"
318 .IP "rwcommunity COMMUNITY [SOURCE] [OID]"
319 .\"O These create read-only and read-write communities that can be used to
320 .\"O access the agent.  They are a quick method of using the following
321 .\"O \fIcom2sec\fR, \fIgroup\fR, \fIaccess\fR, and \fIview\fR directive lines.  They are
322 .\"O not as efficient either, as groups aren't created so the tables are
323 .\"O possibly larger.  In other words: don't use these if you have complex
324 .\"O situations to set up.
325 ¤³¤ì¤é¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ÏÆɤ߹þ¤ß¤·¤«¤Ç¤­¤Ê¤¤¥³¥ß¥å¥Ë¥Æ¥£¤È
326 Æɤ߽ñ¤­¤Ç¤­¤ë¥³¥ß¥å¥Ë¥Æ¥£¤òºîÀ®¤·¡¢
327 ¥¨¡¼¥¸¥§¥ó¥È¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Ë»ÈÍѤ¹¤ë¡£
328 ¤³¤ì¤é¤Ï°Ê²¼¤Î \fIcom2sec\fR, \fIgroup\fR, 
329 \fIaccess\fR, \fIview\fR ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¹Ô¤ò´Êñ¤Ë»È¤¦¤¿¤á¤ÎÊýË¡¤Ç¤¢¤ë¡£
330 ¤³¤ì¤é¤Ï¸úΨŪ¤Ç¤Ï¤Ê¤¯¡¢¥°¥ë¡¼¥×¤¬ºîÀ®¤µ¤ì¤Ê¤¤¤¿¤á¤Ë
331 ¥Æ¡¼¥Ö¥ë¤¬´öʬÂ礭¤¯¤Ê¤ë¡£
332 ¸À¤¤´¹¤¨¤ì¤Ð¡¢Ê£»¨¤Ê¾õÂÖ¤òÀßÄꤹ¤ë¾ì¹ç¤Ë¤Ï»ÈÍѤ·¤Æ¤Ï¤Ê¤é¤Ê¤¤¡¢
333 ¤È¤¤¤¦¤³¤È¤Ç¤¢¤ë¡£
334 .IP
335 .\"O The format of the SOURCE is token is described in the \fIcom2sec\fR
336 .\"O directive section below.  The OID token restricts access for that
337 .\"O community to everything below that given OID.
338 SOURCE ¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢°Ê²¼¤Î \fIcom2sec\fR ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¥»¥¯¥·¥ç¥ó¤Ç
339 ÀâÌÀ¤µ¤ì¤Æ¤¤¤ë¥È¡¼¥¯¥ó¤ÈƱ¤¸¤Ç¤¢¤ë¡£
340 OID ¥È¡¼¥¯¥ó¤Ï¡¢¥³¥ß¥å¥Ë¥Æ¥£¤Î¥¢¥¯¥»¥¹¤ò¡¢
341 »ØÄꤵ¤ì¤¿ OID °Ê²¼¤Î¤â¤Î¤À¤±¤ËÀ©¸Â¤¹¤ë¡£
342 .IP "rouser USER [noauth|auth|priv] [OID]"
343 .IP "rwuser USER [noauth|auth|priv] [OID]"
344 .\"O Creates a SNMPv3 USM user in the VACM access configuration tables.
345 .\"O Again, its more efficient (and powerful) to use the combined
346 .\"O \fIcom2sec\fR, \fIgroup\fR, \fIaccess\fR, and \fIview\fR directives instead.
347 SNMPv3 USM ¥æ¡¼¥¶¡¼¤ò VACM ¥¢¥¯¥»¥¹ÀßÄê¥Æ¡¼¥Ö¥ë¤ËºîÀ®¤¹¤ë¡£
348 ¤³¤ì¤â¤Þ¤¿¡¢\fIcom2sec\fR, \fIgroup\fR, \fIaccess\fR, \fIview\fR 
349 ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤òÁȤ߹ç¤ï¤»¤Æ»ÈÍѤ·¤¿Êý¤¬¸úΨŪ (¤«¤Ä¶¯ÎÏ) ¤Ç¤¢¤ë¡£
350 .IP
351 .\"O The minimum level of authentication and privacy the user must use is
352 .\"O specified by the first token (which defaults to "auth").  The OID
353 .\"O parameter restricts access for that user to everything below the given 
354 .\"O OID.
355 ¥æ¡¼¥¶¡¼¤¬»ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤Ç§¾Ú¤È¥×¥é¥¤¥Ð¥·¡¼¤ÎºÇÄã¥ì¥Ù¥ë¤ò
356 ºÇ½é¤Î¥È¡¼¥¯¥ó¤Ç»ØÄꤹ¤ë (¥Ç¥Õ¥©¥ë¥È¤Ï "auth" ¤Ç¤¢¤ë)¡£
357 OID ¥Ñ¥é¥á¡¼¥¿¤Ï¡¢¤½¤Î¥æ¡¼¥¶¡¼¤Î¥¢¥¯¥»¥¹¤ò¡¢
358 »ØÄꤵ¤ì¤¿ OID °Ê²¼¤Î¤â¤Î¤À¤±¤ËÀ©¸Â¤¹¤ë¡£
359 .IP "com2sec NAME SOURCE COMMUNITY"
360 .\"O This directive specifies the mapping from a source/community pair to
361 .\"O a security name. SOURCE can be a hostname, a subnet, or the word
362 .\"O \fI"default"\fR.
363 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¥½¡¼¥¹ (SOURCE) ¤È¥³¥ß¥å¥Ë¥Æ¥£ (COMMUNITY) ¤Î¥Ú¥¢¤«¤é
364 ¥»¥­¥å¥ê¥Æ¥£Ì¾ (NAME) ¤Ø¤Î¥Þ¥Ã¥Ô¥ó¥°¤ò»ØÄꤹ¤ë¡£
365 SOURCE ¤Ï¥Û¥¹¥È̾¡¦¥µ¥Ö¥Í¥Ã¥È¡¦\fI"default"\fR ¤Ç¤¢¤ë¡£
366 .\"O A subnet can be specified as IP/MASK or IP/BITS.
367 .\"O The first source/community combination that matches the incoming packet
368 .\"O is selected.
369 ¥µ¥Ö¥Í¥Ã¥È¤Ï IP/MASK ¤Þ¤¿¤Ï IP/BITS ¤Ç»ØÄê¤Ç¤­¤ë¡£
370 Æþ¤Ã¤Æ¤¯¤ë¥Ñ¥±¥Ã¥È¤Ë¥Þ¥Ã¥Á¤¹¤ë¥½¡¼¥¹¤È¥³¥ß¥å¥Ë¥Æ¥£¤ÎÁȤ߹ç¤ï¤»¤¬ÁªÂò¤µ¤ì¤ë¡£
371 .IP "group NAME MODEL SECURITY"
372 .\"O This directive defines the mapping from securitymodel/securityname to group.
373 .\"O MODEL is one of \fIv1\fR, \fIv2c\fR, or \fIusm\fR.
374 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¥»¥­¥å¥ê¥Æ¥£¥â¥Ç¥ë (MODEL) ¤È
375 ¥»¥­¥å¥ê¥Æ¥£Ì¾ (SECURITY) ¤Î¥Ú¥¢¤«¤é
376 ¥°¥ë¡¼¥×̾ (NAME) ¤Ø¤Î¥Þ¥Ã¥Ô¥ó¥°¤òÄêµÁ¤¹¤ë¡£
377 MODEL ¤Ï \fIv1\fR, \fIv2c\fR, \fIusm\fR ¤Î¤¤¤º¤ì¤« 1 ¤Ä¤Ç¤¢¤ë¡£
378 .IP "access NAME CONTEXT MODEL LEVEL PREFX READ WRITE NOTIFY"
379 .\"O The access directive maps from group/security model/security level to
380 .\"O a view. 
381 .\"O MODEL is one of \fIany\fR, \fIv1\fR, \fIv2c\fR, or \fIusm\fR.
382 .\"O LEVEL is one of \fInoauth\fR, \fIauth\fR, or \fIpriv\fR.
383 access ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¥°¥ë¡¼¥×¥»¥­¥å¥ê¥Æ¥£¤È
384 ¥â¥Ç¥ë¥»¥­¥å¥ê¥Æ¥£¤Î¥ì¥Ù¥ë¤ò¡¢¤¢¤ë¥Ó¥å¡¼ (view) ¤Ë¥Þ¥Ã¥×¤¹¤ë¡£
385 MODEL ¤Ï \fIany\fR, \fIv1\fR, \fIv2c\fR, \fIusm\fR ¤Î¤¤¤º¤ì¤« 1 ¤Ä¤Ç¤¢¤ë¡£
386 LEVEL ¤Ï \fInoauth\fR, \fIauth\fR, \fIpriv\fR ¤Î¤¤¤º¤ì¤« 1 ¤Ä¤Ç¤¢¤ë¡£
387 .\"O PREFX specifies how CONTEXT should be matched against the context of
388 .\"O the incoming pdu, either \fIexact\fR or \fIprefix\fR.
389 .\"O READ, WRITE and NOTIFY specifies the view to be used for the corresponding 
390 .\"O access.
391 .\"O For v1 or v2c access, LEVEL will be noauth, and CONTEXT will be empty.
392 PREFX ¤ÏÆþ¤Ã¤Æ¤¯¤ë pdu ¤ÎÆâÍƤËÂФ¹¤ë
393 CONTEXT ¤Î¥Þ¥Ã¥Á¤ÎÊýË¡¤ò»ØÄꤹ¤ë¤â¤Î¤Ç¡¢
394 \fIexact\fR ¤Þ¤¿¤Ï \fIprefix\fR ¤Ç¤¢¤ë¡£
395 READ, WRITE, NOTIFY ¤Ï¥Ó¥å¡¼¤ËÂбþ¤¹¤ë¥¢¥¯¥»¥¹ÊýË¡¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤ï¤ì¤ë¡£
396 v1 ¤Þ¤¿¤Ï v2c ¤Î¥¢¥¯¥»¥¹¤Ç¤Ï¡¢LEVEL ¤Ï noauth¡¢
397 CONTEXT ¤Ï¶õʸ»úÎó¤Ç¤¢¤ë¡£
398 .IP "view NAME TYPE SUBTREE [MASK]"
399 .\"O The defines the named view. TYPE is either \fIincluded\fR or \fIexcluded\fR.
400 .\"O MASK is a list of hex octets, separated by '.' or ':'.  The MASK
401 .\"O defaults to "ff" if not specified.
402 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï»ØÄꤷ¤¿Ì¾Á°¤Î¥Ó¥å¡¼ (view) ¤òÄêµÁ¤¹¤ë¡£
403 TYPE ¤Ï \fIincluded\fR ¤Þ¤¿¤Ï \fIexcluded\fR ¤Ç¤¢¤ë¡£
404 MASK ¤Ï 16 ¿Ê¿ô¤Çɽ¤·¤¿ 8 ¥Ó¥Ã¥È¤ò
405 \&'.' ¤Þ¤¿¤Ï ':' ¤Ç¶èÀڤäƥꥹ¥È¤Ë¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£
406 MASK ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥È¤Ï "ff" ¤Ç¤¢¤ë¡£
407 .IP
408 .\"O The reason for the mask is, that it allows you to control access to
409 .\"O one row in a table, in a relatively simple way. As an example, as an ISP
410 .\"O you might consider giving each customer access to his or her own interface:
411 ¥Þ¥¹¥¯¤ò»ÈÍѤ¹¤ëÍýͳ¤Ï¡¢Èæ³ÓŪ´Êñ¤Ë
412 ¥Æ¡¼¥Ö¥ë¤Î 1 ¤Ä¤Î¹Ô (row) ¤Ø¤Î¥¢¥¯¥»¥¹¤òÀ©¸æ¤¹¤ë¤³¤È¤Ë¤¢¤ë¡£
413 Î㤨¤Ð¡¢ISP ¤Ç¤Ï¤½¤ì¤¾¤ì¤Î¸ÜµÒ¤ËÂФ·¤Æ
414 ¸ÜµÒ¤´¤È¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë¥¢¥¯¥»¥¹¤µ¤»¤¿¤¤¤È¹Í¤¨¤ë¤«¤â¤·¤ì¤Ê¤¤:
415 .IP
416 .nf
417 view cust1 included interfaces.ifTable.ifEntry.ifIndex.1 ff.a0
418 view cust2 included interfaces.ifTable.ifEntry.ifIndex.2 ff.a0
419 .IP
420 .\"O (interfaces.ifTable.ifEntry.ifIndex.1 == .1.3.6.1.2.1.2.2.1.1.1,
421 .\"O ff.a0 == 11111111.10100000. which nicely covers up and including
422 .\"O the row index, but lets the user vary the field of the row)
423 (interfaces.ifTable.ifEntry.ifIndex.1 == .1.3.6.1.2.1.2.2.1.1.1 ¤Ç
424 ff.a0 == 11111111.10100000 ¤Ç¤¢¤ë¡£
425 ¤³¤ì¤Ï¹Ô¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¤¦¤Þ¤¤¶ñ¹ç¤¤¤Ë¥«¥Ð¡¼¤·¤Æ´Þ¤ó¤Ç¤¤¤ë¤¬¡¢
426 ¹Ô¥Õ¥£¡¼¥ë¥É¤ÎÊѹ¹¤ò¥æ¡¼¥¶¡¼¤Ëµö²Ä¤·¤Æ¤¤¤ë¡£)
427 .\"O .IP "VACM Examples:"
428 .IP "VACM ¤ÎÎã:"
429 .nf
430 #       sec.name  source          community
431 com2sec local     localhost       private
432 com2sec mynet     10.10.10.0/24   public
433 com2sec public    default         public
434
435 #             sec.model  sec.name
436 group mygroup v1         mynet
437 group mygroup v2c        mynet
438 group mygroup usm        mynet
439 group local   v1         local
440 group local   v2c        local
441 group local   usm        local
442 group public  v1         public
443 group public  v2c        public
444 group public  usm        public
445
446 #           incl/excl subtree                          mask
447 view all    included  .1                               80
448 view system included  system                           fe
449 view mib2   included  .iso.org.dod.internet.mgmt.mib-2 fc
450
451 #              context sec.model sec.level prefix read   write notify
452 access mygroup ""      any       noauth    exact  mib2   none  none
453 access public  ""      any       noauth    exact  system none  none
454 access local   ""      any       noauth    exact  all    all   all
455 .\"O .IP "Default VACM model"
456 .IP "¥Ç¥Õ¥©¥ë¥È¤Î VACM ¥â¥Ç¥ë"
457 .\"O The default configuration of the agent, as shipped, is functionally
458 .\"O equivalent to the following entries:
459 ºÇ½é¤Î¾õÂ֤ǤΥ¨¡¼¥¸¥§¥ó¥È¤Î¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ï¡¢
460 µ¡Ç½Åª¤Ë¤Ï°Ê²¼¤Î¥¨¥ó¥È¥ê¤ÈÅù²Á¤Ç¤¢¤ë:
461 .nf
462 com2sec public  default public
463 group   public  v1      public
464 group   public  v2c     public
465 group   public  usm     public
466 view    all     included        .1
467 access  public  ""      any     noauth  exact   all     none    none
468 .\"O .SH SNMPv3 CONFIGURATION
469 .SH SNMPv3 ÀßÄê
470 .PP
471 .IP "engineID STRING"
472 .\"O The snmpd agent needs to be configured with an engineID to be able to
473 .\"O respond to SNMPv3 messages.  With this configuration file line, the
474 .\"O engineID will be configured from STRING.  The default value of the
475 .\"O engineID is configured with the first IP address found for the
476 .\"O hostname of the machine.
477 snmpd ¥¨¡¼¥¸¥§¥ó¥È¤¬ SNMPv3 ¥á¥Ã¥»¡¼¥¸¤Ë±þÅú¤¹¤ë¤¿¤á¤Ë¤Ï
478 engineID ¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ë¡£
479 ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤³¤Î¹Ô¤¬¤¢¤ì¤Ð¡¢STRING ¤«¤é engineID ¤òÀßÄꤹ¤ë¡£
480 engineID ¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤϡ¢¥Þ¥·¥ó¤Î¥Û¥¹¥È̾¤ËÂФ·¤Æ¸«¤Ä¤«¤ë
481 ºÇ½é¤Î IP ¥¢¥É¥ì¥¹¤ËÀßÄꤵ¤ì¤ë¡£
482 .IP "createUser username (MD5|SHA) authpassphrase [DES] [privpassphrase]"
483 .\"O This directive should be placed into the
484 .\"O "/var/ucd-snmp"/snmpd.conf file instead of the other normal
485 .\"O locations.  The reason is that the information is read from the file
486 .\"O and then the line is removed (eliminating the storage of the master
487 .\"O password for that user) and replaced with the key that is derived from 
488 .\"O it.  This key is a localized key, so that if it is stolen it can not
489 .\"O be used to access other agents.  If the password is stolen, however,
490 .\"O it can be.
491 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢Â¾¤Î¾ì½ê¤Ë¤¢¤ëÄ̾ï¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¤Ê¤¯¡¢
492 "/var/ucd-snmp"/snmpd.conf ¥Õ¥¡¥¤¥ë¤Ë½ñ¤¯¤Ù¤­¤Ç¤¢¤ë¡£
493 ¤½¤ÎÍýͳ¤Ï¡¢¾ðÊ󤬤³¤Î¥Õ¥¡¥¤¥ë¤«¤éÆɤ߹þ¤Þ¤ì¤¿¸å¡¢
494 ¤³¤Î¹Ô¤¬ºï½ü¤µ¤ì (¥æ¡¼¥¶¡¼¤Î¥Þ¥¹¥¿¡¼¥Ñ¥¹¥ï¡¼¥É¤Î³ÊǼ¾ì½ê¤«¤é¾Ãµî¤µ¤ì¤Æ)¡¢
495 ¤³¤Î¹Ô¤«¤éÆÀ¤é¤ì¤ë¥­¡¼¤ËÃÖ¤­´¹¤¨¤é¤ì¤ë¤¿¤á¤Ç¤¢¤ë¡£
496 ¤³¤Î¥­¡¼¤Ï¥í¡¼¥«¥ë¤Ê¥­¡¼¤Ç¤¢¤ê¡¢
497 Åð¤Þ¤ì¤¿¤È¤·¤Æ¤â¾¤Î¥¨¡¼¥¸¥§¥ó¥È¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤Î¤Ë¤Ï»È¤¨¤Ê¤¤¡£
498 ¤·¤«¤·¥Ñ¥¹¥ï¡¼¥É¤¬Åð¤Þ¤ì¤¿¾ì¹ç¤Ï¡¢Â¾¤Î¥¨¡¼¥¸¥§¥ó¥È¤Ë¥¢¥¯¥»¥¹¤Ç¤­¤ë¡£
499 .IP
500 .\"O MD5 and SHA are the authentication types to use, but you must have
501 .\"O built the package with openssl installed in order to use SHA.  The
502 .\"O only privacy protocol currently supported is DES.  If the privacy
503 .\"O passphrase is not specified, it is assumed to be the same as the
504 .\"O authentication passphrase.  Note that the users created will be
505 .\"O useless unless they are also added to the VACM access control tables
506 .\"O described above.
507 MD5 ¤È SHA ¤Ï»ÈÍѤµ¤ì¤ëǧ¾Ú¥¿¥¤¥×¤Ç¤¢¤ë¤¬¡¢
508 SHA ¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë openssl ¤ò»È¤Ã¤Æ
509 ¥Ñ¥Ã¥±¡¼¥¸¤òºîÀ®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
510 ¸½ºß¤Î¤È¤³¤í¥×¥é¥¤¥Ð¥·¡¼¥×¥í¥È¥³¥ë¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤Î¤Ï DES ¤Î¤ß¤Ç¤¢¤ë¡£
511 ¥×¥é¥¤¥Ð¥·¡¼¥Ñ¥¹¥Õ¥ì¡¼¥º¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
512 ǧ¾Ú¥Ñ¥¹¥Õ¥ì¡¼¥º¤ÈƱ¤¸¤Ç¤¢¤ë¤È²¾Äꤵ¤ì¤ë¡£
513 ¾å¤ÇÀâÌÀ¤·¤¿ VACM ¥¢¥¯¥»¥¹À©¸æ¥Æ¡¼¥Ö¥ë¤ËÆþ¤ì¤Ê¤±¤ì¤Ð¡¢
514 ºîÀ®¤·¤¿¥æ¡¼¥¶¡¼¤Î»È¤¤Æ»¤¬¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
515 .IP
516 .\"O Warning: the minimum pass phrase length is 8 characters.
517 ·Ù¹ð: ¥Ñ¥¹¥Õ¥ì¡¼¥º¤Ï¾¯¤Ê¤¯¤È¤â 8 Ê¸»ú¤Ç¤¢¤ë¡£
518 .IP
519 .\"O SNMPv3 users can be created at runtime using the
520 .\"O .I snmpusm
521 .\"O command.
522 .I snmpusm
523 ¥³¥Þ¥ó¥É¤òÍѤ¤¤ì¤Ð¡¢¼Â¹ÔÃæ¤Ë SNMPv3 ¥æ¡¼¥¶¡¼¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
524 .IP
525 .\"O .SH SETTING SYSTEM INFORMATION
526 .SH ¥·¥¹¥Æ¥à¾ðÊó¤ÎÀßÄê
527 .IP "syslocation STRING"
528 .IP "syscontact STRING"
529 .IP "sysname STRING"
530 .\"O Sets the system location, system contact or system name for the agent.
531 .\"O This information is reported in the 'system' group the mibII tree.
532 ¥¨¡¼¥¸¥§¥ó¥È¤¬ÃÖ¤«¤ì¤Æ¤¤¤ë¥·¥¹¥Æ¥à¤Î¾ì½ê (location)¡¦
533 Ï¢ÍíÀè (contact)¡¦Ì¾Á° (name) ¤òÀßÄꤹ¤ë¡£
534 ¤³¤Î¾ðÊó¤Ï mibII ¥Ä¥ê¡¼¤Î 'system' ¥°¥ë¡¼¥×¤ËÀßÄꤵ¤ì¤ë¡£
535 .\"O Ordinarily these objects (sysLocation.0, sysContact.0 and sysName.0)
536 .\"O are read-write.  However, specifying the value for one of these
537 .\"O objects by giving the appropriate token makes the corresponding object
538 .\"O read-only, and attempts to set the value of the object will result in
539 .\"O a notWritable error response.
540 Ä̾¤³¤ì¤é¤Î¥ª¥Ö¥¸¥§¥¯¥È (sysLocation.0, sysContact.0 and sysName.0) ¤Ï
541 Æɤ߽ñ¤­²Äǽ¤Ç¤¢¤ë¡£
542 ¤¿¤À¤·¡¢¤³¤ì¤é¤Î¥ª¥Ö¥¸¥§¥¯¥È¤ÎÃͤËŬÀڤʥȡ¼¥¯¥ó¤òÉղ䷤ƻØÄꤹ¤ì¤Ð¡¢
543 ¤½¤Î¥ª¥Ö¥¸¥§¥¯¥È¤òÆɤ߹þ¤ß¤Î¤ß¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤­¡¢
544 ¥ª¥Ö¥¸¥§¥¯¥È¤ÎÃͤòÀßÄꤷ¤è¤¦¤È¤·¤¿¤È¤­¤Ë
545 notWritable ¥¨¥é¡¼¥ì¥¹¥Ý¥ó¥¹¤òÊÖ¤¹¤è¤¦¤Ë¤Ç¤­¤ë¡£
546 .IP "sysservices NUMBER"
547 .\"O Sets the value of the system.sysServices.0 object.
548 .\"O For a host, a good value is 72.
549 system.sysServices.0 ¥ª¥Ö¥¸¥§¥¯¥È¤ÎÃͤòÀßÄꤹ¤ë¡£
550 ¥Û¥¹¥È¤Î¾ì¹ç¤Ï¡¢72 ¤¬¤è¤¤¡£
551 .IP "agentaddress [(udp|tcp):]port[@address][,...]"
552 .\"O Makes the agent list on the specified list of sockets instead of the
553 .\"O default port, which is port 161.  Multiple ports can be separated by
554 .\"O commas.  Transports can be specified by prepending the port number
555 .\"O with the transport name ("udp" or "tcp") followed by a colon.
556 .\"O Finally, to bind to a particular interface, you can specify the
557 .\"O address you want it to bind with.
558 ¥Ç¥Õ¥©¥ë¥È¤Î 161 È֥ݡ¼¥È¤Ç¤Ï¤Ê¤¯¡¢
559 »ØÄꤷ¤¿¥½¥±¥Ã¥È¤Î¥ê¥¹¥È¤Ç¥¨¡¼¥¸¥§¥ó¥È¤Î¥ê¥¹¥È¤òºîÀ®¤¹¤ë¡£
560 Ê£¿ô¤Î¥Ý¡¼¥È¤ò¥³¥ó¥Þ¤Ç¶èÀڤäƻØÄê¤Ç¤­¤ë¡£
561 ¥È¥é¥ó¥¹¥Ý¡¼¥È̾ ("udp" ¤Þ¤¿¤Ï "tcp")¡¦¥³¥í¥ó¡¦¥Ý¡¼¥È̾¤Î¤è¤¦¤Ë¤·¤Æ¡¢
562 ¥È¥é¥ó¥¹¥Ý¡¼¥È̾¤ò»ØÄê¤Ç¤­¤ë¡£
563 ÆÃÄê¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ë¥Ð¥¤¥ó¥É¤¹¤ë¤¿¤á¤Ë¡¢
564 ¥¢¥É¥ì¥¹¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
565 .\"O For example, specifying
566 .\"O .I "agentaddress 161,tcp:161,9161@localhost"
567 .\"O will make the agent listen on: udp port 161 for any address, tcp port
568 .\"O 161 for any address, and udp port 9161 on only the interface
569 .\"O associated with the localhost address.  Note that the 
570 .\"O .I "-T"
571 .\"O flag changes the default transport mapping to use (in the
572 .\"O above example, the default transport mapping is 
573 .\"O .I udp.
574 Î㤨¤Ð
575 .I "agentaddress 161,tcp:161,9161@localhost"
576 ¤Î¤è¤¦¤Ë»ØÄꤹ¤ì¤Ð¡¢¥¨¡¼¥¸¥§¥ó¥È¤ËÂФ·¤Æ¡¢
577 Á´¤Æ¤Î¥¢¥É¥ì¥¹¤Î udp ¥Ý¡¼¥È 161¡¦Á´¤Æ¤Î¥¢¥É¥ì¥¹¤Î tcp ¥Ý¡¼¥È 161¡¦
578 localhost ¤Î¥¢¥É¥ì¥¹¤Ë´ØÏ¢¤Å¤±¤é¤ì¤¿
579 ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î udp ¥Ý¡¼¥È 9161 ¤ò´Æ»ë (listen) ¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
580 .I "-T"
581 ¥Õ¥é¥°¤òÍѤ¤¤ì¤Ð¡¢
582 »ÈÍѤ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥È¥é¥ó¥¹¥Ý¡¼¥È¥Þ¥Ã¥Ô¥ó¥°¤òÊѹ¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë
583 (¾åµ­¤ÎÎã¤Ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥È¥é¥ó¥¹¥Ý¡¼¥È¥Þ¥Ã¥Ô¥ó¥°¤Ï
584 .I udp
585 ¤Ç¤¢¤ë)¡£
586 .IP "agentgroup groupid"
587 .\"O Change to this gid after opening port. The groupid may refer to a group
588 .\"O by name or a number if the group number starts with '#'. For example,
589 .\"O specifying
590 .\"O .I agentgroup snmp
591 .\"O will cause the agent to run as the snmp group or
592 .\"O .I agentgroup #10
593 .\"O will cause the agent to run as the group with groupid 10.
594 ¥Ý¡¼¥È¤ò¥ª¡¼¥×¥ó¤·¤¿¸å¤Ç¡¢¥°¥ë¡¼¥× ID ¤ò»ØÄꤷ¤¿ÃͤËÊѹ¹¤¹¤ë¡£
595 groupid ¤Ï¥°¥ë¡¼¥×̾¤Þ¤¿¤Ï¥°¥ë¡¼¥×ÈÖ¹æ¤Ç¤¢¤ë¡£
596 ¥°¥ë¡¼¥×ÈÖ¹æ¤Î¾ì¹ç¤Ï '#' ¤Ç»Ï¤á¤ë¡£
597 Î㤨¤Ð
598 .I agentgroup snmp
599 ¤Î¾ì¹ç¤Ï¡¢¥¨¡¼¥¸¥§¥ó¥È¤ò snmp ¥°¥ë¡¼¥×¤ÇÆ°ºî¤µ¤»¤ë¡£
600 .I agentgroup #10
601 ¤Î¾ì¹ç¤Ï¡¢¥¨¡¼¥¸¥§¥ó¥È¤ò¥°¥ë¡¼¥× ID 10 ÈÖ¤ÇÆ°ºî¤µ¤»¤ë¡£
602 .IP "agentuser uid"
603 .\"O Change to this uid after opening port. The userid may refer to a user
604 .\"O by name or a number if the user number starts with '#'. For example,
605 .\"O specifying
606 .\"O .I agentuser snmp
607 .\"O will cause the agent to run as the snmp user or
608 .\"O .I agentuser #10
609 .\"O will cause the agent to run as the user with userid 10.
610 ¥Ý¡¼¥È¤ò¥ª¡¼¥×¥ó¤·¤¿¸å¤Ç¡¢¥æ¡¼¥¶¡¼ ID ¤ò»ØÄꤷ¤¿ÃͤËÊѹ¹¤¹¤ë¡£
611 userid ¤Ï¥æ¡¼¥¶¡¼Ì¾¤Þ¤¿¤Ï¥æ¡¼¥¶¡¼ÈÖ¹æ¤Ç¤¢¤ë¡£
612 ¥æ¡¼¥¶¡¼ÈÖ¹æ¤Î¾ì¹ç¤Ï '#' ¤Ç»Ï¤á¤ë¡£
613 Î㤨¤Ð
614 .I agentuser snmp
615 ¤Î¾ì¹ç¤Ï¡¢¥¨¡¼¥¸¥§¥ó¥È¤ò¥æ¡¼¥¶¡¼ snmp ¤ÇÆ°ºî¤µ¤»¤ë¡£
616 .I agentuser #10
617 ¤Î¾ì¹ç¤Ï¡¢¥¨¡¼¥¸¥§¥ó¥È¤ò¥æ¡¼¥¶¡¼ ID 10 ÈÖ¤ÇÆ°ºî¤µ¤»¤ë¡£
618 .IP "interface NAME TYPE SPEED"
619 .\"O For interfaces where the agent fails to guess correctly on the type and
620 .\"O speed, this directive can supply additional information.
621 .\"O TYPE is a type value as given in the IANAifType-MIB.
622 ¥¨¡¼¥¸¥§¥ó¥È¤¬¥¿¥¤¥×¤ä¥¹¥Ô¡¼¥É¤Î¿ä¬¤Ë¼ºÇÔ¤·¤¿¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ËÂФ·¤Æ¡¢
623 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ÇÄɲäξðÊó¤òÄ󶡤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
624 TYPE ¤Ï IANAifType-MIB ¤Ç»ØÄꤵ¤ì¤ë¥¿¥¤¥×¤Ç¤¢¤ë¡£
625 .IP "ignoredisk STRING"
626 .\"O When scanning for available disk devices the agent might block in trying
627 .\"O to open all possible disk devices. This might lead to a timeout when
628 .\"O walking the device tree. Sometimes the next walk will run without timeout,
629 .\"O sometimes it will timeout every time you try it.
630 »ÈÍѲÄǽ¤Ê¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤ò¥¹¥­¥ã¥ó¤¹¤ë¾ì¹ç¡¢
631 ¥¨¡¼¥¸¥§¥ó¥È¤Ï»ÈÍѲÄǽ¤Ê¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹¤ò¥ª¡¼¥×¥ó¤¹¤ë¤È¤­¤Ë
632 ¥Ö¥í¥Ã¥¯¤ò¹Ô¤¦¤³¤È¤¬¤¢¤ë¡£
633 ¤³¤ì¤Ë¤è¤Ã¤Æ¥Ç¥Ð¥¤¥¹¥Ä¥ê¡¼¤òé¤Ã¤Æ¤¤¤ë¤È¤­¤Ë¥¿¥¤¥à¥¢¥¦¥È¤¬µ¯¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
634 ¼¡¤Ëé¤Ã¤¿¤È¤­¤Ë¥¿¥¤¥à¥¢¥¦¥È¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Ê¤¤¤·¡¢
635 Ëè²ó¥¿¥¤¥à¥¢¥¦¥È¤Ë¤Ê¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
636 .IP
637 .\"O If you experience such behaviour you might add this directive and give all
638 .\"O device names not to be checked (i.e. opened). You might have more than one
639 .\"O such directive in your configuration file stating all devices not to be
640 .\"O opened. You might also specify those devices using wildcards similar to
641 .\"O the syntax you can use in a bourne shell (see examples below).
642 ¤³¤Î¤è¤¦¤Ê¸½¾Ý¤¬µ¯¤Ã¤¿¾ì¹ç¤Ï¡¢¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤òÄɲä·¡¢
643 ¥Á¥§¥Ã¥¯¤·¤Ê¤¤ (¤Ä¤Þ¤ê¥ª¡¼¥×¥ó¤·¤Ê¤¤) Á´¤Æ¤Î¥Ç¥Ð¥¤¥¹¤ò»ØÄꤹ¤ë¡£
644 ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤ò 1 ¤Ä°Ê¾å¤Î»ØÄꤷ¤Æ¡¢
645 ¥ª¡¼¥×¥ó¤·¤Ê¤¤Á´¤Æ¤Î¥Ç¥Ð¥¤¥¹¤ò½ñ¤­¹þ¤à¡£
646 bourne ¥·¥§¥ë¤Îʸˡ¤Î»÷¤¿¥ï¥¤¥ë¥É¥«¡¼¥É¤ò»È¤Ã¤Æ¡¢
647 ¥Ç¥Ð¥¤¥¹¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤ë (²¼µ­¤ÎÎã¤ò»²¾È¤¹¤ë¤³¤È)¡£
648 .IP
649 .\"O .B Note:
650 .B Ãí°Õ:
651 .\"O For a list of devices scanned for every system please consult the sources
652 .\"O (host/hr_disk.c) and check for the Add_HR_Disk_entry() calls relevant for
653 .\"O your type of OS.
654 Á´¤Æ¤Î¥·¥¹¥Æ¥à¤Ç¥¹¥­¥ã¥ó¤µ¤ì¤ë¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¤Ï¡¢
655 ¥½¡¼¥¹ (host/hr_disk.c) ¤ò¸«¤Æ¡¢
656 OS ¥¿¥¤¥×¤ËÂбþ¤·¤¿ Add_HR_Disk_entry() ¥³¡¼¥ë¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¡£
657 .IP
658 .\"O Examples:
659 Îã:
660 .IP
661 ignoredisk /dev/rdsk/c0t2d0
662 .IP
663 .\"O This directive prevents the device /dev/rdsk/c0t2d0 from being scanned.
664 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢
665 ¥Ç¥Ð¥¤¥¹ /dev/rdsk/c0t2d0 ¤ò¥¹¥­¥ã¥ó¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£
666 .IP
667 ignoredisk /dev/rdsk/c0t[!6]d0
668 .IP
669 .\"O This directive prevents all devices /dev/rdsk/c0tXd0 except .../c0t6d0
670 .\"O from being scanned. For most systems similar is the following directive:
671 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï /dev/rdsk/c0t6d0 ¤ò½ü¤¯ /dev/rdsk/c0tXd0 ¤Î
672 Á´¤Æ¤Î¥Ç¥Ð¥¤¥¹¤ò¥¹¥­¥ã¥ó¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£ 
673 ¿¤¯¤Î¥·¥¹¥Æ¥à¤ÇƱÍͤʥǥ£¥ì¥¯¥Æ¥£¥Ö¤È¤·¤Æ¤Ï°Ê²¼¤Î¤â¤Î¤¬¤¢¤ë:
674 .IP
675 ignoredisk /dev/rdsk/c0t[0-57-9a-f]d0
676 .IP
677 ignoredisk /dev/rdsk/c1*
678 .IP
679 .\"O This directive prevents all devices whose device names start with /dev/rdsk/c1
680 .\"O from being scanned.
681 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢/dev/rdsk/c1 ¤Ç»Ï¤Þ¤ë̾Á°¤Î¥Ç¥Ð¥¤¥¹¤ò
682 Á´¤Æ¥¹¥­¥ã¥ó¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£
683 .IP
684 ignoredisk /dev/rdsk/c?t0d0
685 .IP
686 .\"O This directive prevents all devices /dev/rdsk/cXt0d0 ('X' might be any char)
687 .\"O from being scanned.
688 ¤³¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ï¡¢¥Ç¥Ð¥¤¥¹ /dev/rdsk/cXt0d0 ('X' ¤ÏǤ°Õ¤Îʸ»ú) ¤ò
689 Á´¤Æ¥¹¥­¥ã¥ó¤µ¤»¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¡£
690 .IP
691 .\"O You might use more than one such wildcard expression in any such directive.
692 ¤É¤Î¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ë¤ª¤¤¤Æ¤â¡¢
693 ¤³¤Î¤è¤¦¤Ê¥ï¥¤¥ë¥É¥«¡¼¥Éɽ¸½¤ò 2 ¤Ä°Ê¾å»È¤¦¤³¤È¤Ç¤­¤ë¡£
694 .IP "authtrapenable NUMBER"
695 .\"O Setting authtrapenable to 1 enables generation of authentication failure
696 .\"O traps.  The default value is disabled(2).  Ordinarily the corresponding
697 .\"O object (snmpEnableAuthenTraps.0) is read-write, but setting its value
698 .\"O via this token makes the object read-only, and attempts to set the
699 .\"O value of the object will result in a notWritable error response.
700 authtrapenable ¤ò 1 ¤ËÀßÄꤹ¤ë¤È¡¢
701 ǧ¾Ú¤Î¼ºÇÔ¤¬µ¯¤Ã¤¿¾ì¹ç¤Ë¥È¥é¥Ã¥×¤òÀ¸À®¤¹¤ë¡£
702 ¥Ç¥Õ¥©¥ë¥È¤ÎÃͤϠdisabled(2) ¤Ç¤¢¤ë¡£
703 Ä̾盧¤ì¤ËÂбþ¤¹¤ë¥ª¥Ö¥¸¥§¥¯¥È
704 (snmpEnableAuthenTraps.0) ¤ÏÆɤ߽ñ¤­²Äǽ¤Ç¤¢¤ë¤¬¡¢
705 ¤³¤Î¥È¡¼¥¯¥ó¤ò»È¤Ã¤ÆÃͤòÀßÄꤹ¤ë¤ÈÆɤ߹þ¤ß¤À¤±¤Ë¤Ê¤ê¡¢
706 ¥ª¥Ö¥¸¥§¥¯¥È¤ÎÃͤòÀßÄꤷ¤è¤¦¤È¤·¤¿¾ì¹ç¤Ë¤Ï
707 notWritable ¥¨¥é¡¼¥ì¥¹¥Ý¥ó¥¹¤òÊÖ¤¹¡£
708 .IP "trapcommunity STRING"
709 .\"O This defines the default community string to be used when sending traps.
710 .\"O Note that this command must be used prior to any of the following three
711 .\"O commands that are intended use this community string.
712 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¥È¥é¥Ã¥×¤òÁ÷¤ë¤È¤­¤Ë»È¤¦
713 ¥Ç¥Õ¥©¥ë¥È¤Î¥³¥ß¥å¥Ë¥Æ¥£Ê¸»úÎó¤òÄêµÁ¤¹¤ë¡£
714 ¤³¤Î¥³¥Þ¥ó¥É¤Ï¥³¥ß¥å¥Ë¥Æ¥£Ê¸»úÎó¤ò»È¤¦°Ê²¼¤Î 3 ¤Ä¤Î¥³¥Þ¥ó¥É¤è¤ê
715 Á°¤Ë»ÈÍѤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
716 .IP "trapsink HOST [COMMUNITY [PORT]]"
717 .IP "trap2sink HOST [COMMUNITY [PORT]]"
718 .IP "informsink HOST [COMMUNITY [PORT]]"
719 .\"O These commands define
720 .\"O the hosts to receive traps (and/or inform notifications). The
721 .\"O daemon sends a Cold Start trap when it starts up. If enabled, it also sends
722 .\"O traps on authentication failures.  Multiple \fItrapsink\fR, \fItrap2sink\fR
723 .\"O and \fIinformsink\fR lines may be specified to specify multiple destinations.
724 ¤³¤ì¤é¤Î¥³¥Þ¥ó¥É¤Ï¥È¥é¥Ã¥×¤ò¼õ¿®¤¹¤ë (ÄÌÃΤòÁ÷¤ëÀè¤Î) ¥Û¥¹¥È¤òÄêµÁ¤¹¤ë¡£
725 ¤³¤Î¥Ç¡¼¥â¥ó¤Ïµ¯Æ°»þ¤Ë Cold Start ¥È¥é¥Ã¥×¤òÁ÷¤ë¡£
726 Í­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢Ç§¾Ú¤¬¼ºÇÔ¤·¤¿¤È¤­¤Ë¤â¥È¥é¥Ã¥×¤òÁ÷¤ë¡£
727 \fItrapsink\fR, \fItrap2sink\fR, \fIinformsink\fR ¹Ô¤òÊ£¿ô»ØÄꤹ¤ì¤Ð¡¢
728 Ê£¿ô¤ÎÁ÷¿®Àè¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
729 .\"O Use \fItrap2sink\fR to send SNMPv2 traps and \fIinformsink\fR to send
730 .\"O inform notifications.
731 .\"O If COMMUNITY is not specified, the string from a preceding \fItrapcommunity\fR
732 .\"O directive will be used. If PORT is not specified, the well known SNMP trap
733 .\"O port (162) will be used.
734 \fItrap2sink\fR ¤Ï SNMPv2 ¥È¥é¥Ã¥×¤òÁ÷¤ë¤Î¤Ë»È¤¦¡£
735 \fIinformsink\fR ¤ÏÄÌÃΤòȯ¹Ô¤¹¤ë¤Î¤Ë»È¤¦¡£
736 COMMUNITY ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
737 °ÊÁ°¤Ë \fItrapcommunity\fR ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ç»ØÄꤷ¤¿Ê¸»úÎ󤬻Ȥï¤ì¤ë¡£
738 PORT ¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢
739 Îɤ¯ÃΤé¤ì¤Æ¤¤¤ë SNMP ¥È¥é¥Ã¥×¥Ý¡¼¥È (162) ¤¬»È¤ï¤ì¤ë¡£
740 .IP "trapsess [SNMPCMD_ARGS] HOST [COMMUNITY]"
741 .\"O This is a more generic trap configuration token that allows any type
742 .\"O of trap destination to be specified with any version of SNMP.  See the 
743 .\"O .I snmpcmd(1)
744 .\"O manual page for further details on the arguments that can be passed as
745 .\"O .I "SNMPCMD ARGS".
746 ¤³¤ì¤Ï¤è¤ê´ðËÜŪ¤Ê¥È¥é¥Ã¥×ÀßÄê¥È¡¼¥¯¥ó¤Ç¡¢
747 Ǥ°Õ¤Î¥È¥é¥Ã¥×Á÷¿®À西¥¤¥×¤ÈǤ°Õ¤Î SNMP ¥Ð¡¼¥¸¥ç¥ó¤ò»ØÄê¤Ç¤­¤ë¡£
748 .I "SNMPCMD ARGS"
749 ¤È¤·¤ÆÅϤµ¤ì¤ë°ú¤­¿ô¤Î¤è¤ê¾Ü¤·¤¤¾ðÊó¤Ï¡¢
750 .I snmpcmd(1)
751 ¤Î man ¥Ú¡¼¥¸¤ò»²¾È¤¹¤ë¤³¤È¡£
752 .\"O In addition to the arguments listed there, the special argument
753 .\"O \fI-Ci\fR specifies that you want inform notifications to be used
754 .\"O instead of unacknowledged traps (this requires that you also specify a 
755 .\"O version number of v2c or v3 as well).
756 .\"Osato: 
757 .\"Osato: that you want ... to be used ¤ÎÌõ¤¬¼«¿®¤Ê¤·¡£
758 .\"Osato: 
759 ¤³¤³¤Çµó¤²¤¿°ú¤­¿ô¤Ë²Ã¤¨¤Æ¡¢ÆÃÊ̤ʰú¤­¿ô \fI-Ci\fR ¤¬¤¢¤ê¡¢
760 unacknowledged ¥È¥é¥Ã¥×¤Ç¤Ï¤Ê¤¯ÄÌÃΤò»ÈÍѤ¹¤ë¤³¤È¤ò»ØÄꤹ¤ë¡£
761 (¤³¤Î°ú¤­¿ô¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢
762 ¥Ð¡¼¥¸¥ç¥óÈÖ¹æ v2c ¤Þ¤¿¤Ï v3 ¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë)¡£
763 .\"O .SH "PROXY SUPPORT"
764 .SH ¥×¥í¥­¥·¤Î¥µ¥Ý¡¼¥È
765 .IP "proxy [SNMPCMD ARGS] HOST OID [REMOTEOID]"
766 .\"O .B Warning:
767 .B ·Ù¹ð:
768 .\"O This functionality is at beta level support.
769 ¤³¤Îµ¡Ç½¤Ï¥µ¥Ý¡¼¥È¤Ï¦ÂÈǤǤ¢¤ë¡£
770 .IP
771 .\"O This token specifies that any incoming requests under OID should be
772 .\"O proxied on to HOST instead.  Optionally, relocate the local OID tree
773 .\"O to the new location at the REMOTEOID.  To authenticate to HOST you
774 .\"O should use the appropriate set of
775 .\"O .I "SNMPCMD ARGS."
776 .\"O See the snmpcmd man page for details.
777 ¤³¤Î¥È¡¼¥¯¥ó¤Ï¼õ¿®¤·¤¿ OID °Ê²¼¤ÎǤ°Õ¤Î¥ê¥¯¥¨¥¹¥È¤ò HOST ¤ËÃæ·Ñ¤·¤ÆÅϤ¹¡£
778 Ä̾ï¤Ï¥í¡¼¥«¥ë¤Î OID ¥Ä¥ê¡¼¤ò¿·¤·¤¤  REMOTEOID ¤È¤¤¤¦¾ì½ê¤ËÊѹ¹¤¹¤ë¡£
779 HOST ¤Çǧ¾Ú¤µ¤ì¤ë¤¿¤á¤Ë¤Ï¡¢Å¬ÀÚ¤Ê
780 .I "SNMPCMD ARGS"
781 ¤Î¥»¥Ã¥È¤ò»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
782 ¾ÜºÙ¤Ï snmpcmd ¤Î man ¥Ú¡¼¥¸¤ò»²¾È¤¹¤ë¤³¤È¡£
783 .IP
784 .\"O Examples:
785 Îã:
786 .IP
787 proxy -v 1 -c public remotehost .1.3.6.1.4.1.2021
788 .IP
789 proxy -v 3 -l noAuthNoPriv -u user remotehost .1.3.6.1.3.10 .1.3.6.1.2.1.1
790 .\"O .SH "PASS-THROUGH CONTROL"
791 .SH ¥Ñ¥¹¥¹¥ë¡¼À©¸æ
792 .IP "pass MIBOID EXEC"
793 .\"O Passes entire control of MIBOID to the EXEC program.  The EXEC program
794 .\"O is called in one of the following three ways:
795 MIBOID ¤ÎÁ´À©¸æ¤ò EXEC ¥×¥í¥°¥é¥à¤ËÅϤ¹¡£
796 EXEC ¥×¥í¥°¥é¥à¤Ï°Ê²¼¤Î 3 ¤Ä¤Î¤¦¤Á¤Î 1 ¤Ä¤ÎÊýË¡¤Ç¸Æ¤Ó½Ð¤¹:
797 .RS
798 .IP "EXEC -g MIBOID"
799 .IP "EXEC -n MIBOID"
800 .IP
801 .\"O These call lines match to SNMP get and getnext requests.  It is
802 .\"O expected that the EXEC program will take the arguments passed to it
803 .\"O and return the appropriate response through it's stdout.  
804 ¤³¤ì¤é¤Î¸Æ¤Ó½Ð¤·¤Ï SNMP get ¤È getnext ¥ê¥¯¥¨¥¹¥È¤Ë¥Þ¥Ã¥Á¤¹¤ë¡£
805 EXEC ¥×¥í¥°¥é¥à¤ÏÅϤµ¤ì¤¿°ú¤­¿ô¤ò¼õ¤±¼è¤ê¡¢
806 ¥ì¥¹¥Ý¥ó¥¹¤òɸ½à½ÐÎϤËÊÖ¤¹¤È²¾Äꤵ¤ì¤Æ¤¤¤ë¡£
807 .IP
808 .\"O The first line of stdout should be the mib OID of the returning value.
809 ɸ½à½ÐÎϤΠ1 ¹ÔÌܤÏÊÖ¤êÃͤΠmib OID ¤Ç¤¢¤ë¡£
810 .\"O The second line should be the TYPE of value returned, where TYPE is
811 .\"O one of the text strings:
812 .\"O .B string, integer, unsigned, objectid, timeticks, ipaddress, counter, 
813 .\"O or
814 .\"O .B gauge.
815 2 ¹ÔÌܤÏÊÖ¤µ¤ì¤ëÃͤΠTYPE ¤Ç¤¢¤ë¡£
816 TYPE ¤Ï¥Æ¥­¥¹¥Èʸ»úÎó
817 .BR string ", " integer ", " unsigned ", " objectid ", "
818 .BR timeticks ", " ipaddress ", " counter ", " gauge
819 ¤Î¤¦¤Á¤Î 1 ¤Ä¤Ç¤¢¤ë¡£
820 .\"O The third line of stdout should be the VALUE corresponding with the
821 .\"O returned TYPE.
822 ɸ½à½ÐÎϤΠ3 ¹ÔÌܤÏÊÖ¤µ¤ì¤¿ TYPE ¤ËÂбþ¤¹¤ë VALUE ¤Ç¤¢¤ë¡£
823 .IP
824 .\"O For instance, if a script was to return the value integer value "42"
825 .\"O when a request for .1.3.6.1.4.100 was requested, the script should
826 .\"O return the following 3 lines:
827 Î㤨¤Ð .1.3.6.1.4.100 ¤Ø¥ê¥¯¥¨¥¹¥È¤¬Á÷¤é¤ì¤¿¤È¤­¤Ë
828 ¥¹¥¯¥ê¥×¥È¤¬À°¿ôÃÍ "42" ¤òÊÖ¤¹¾ì¹ç¡¢
829 ¥¹¥¯¥ê¥×¥È¤Ï°Ê²¼¤Î 3 ¹Ô¤òÊÖ¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤:
830 .br
831 .RS
832   .1.3.6.1.4.100
833 .br
834   integer
835 .br
836   42
837 .RE
838 .IP
839 .\"O To indicate that the script is unable to comply with the request due
840 .\"O to an end-of-mib condition or an invalid request, simple exit and
841 .\"O return no output to stdout at all.  A snmp error will be generated
842 .\"O corresponding to the SNMP NO-SUCH-NAME response.
843 end-of-mib ¾ò·ï¤äÉÔÀµ¤Ê¥ê¥¯¥¨¥¹¤¬¸¶°ø¤Ç¡¢
844 ¥¹¥¯¥ê¥×¥È¤¬±þÅú¤Ç¤­¤Ê¤¤¤³¤È¤òɽ¤¹¤Ë¤Ï¡¢
845 ñ½ã¤Ë exit ¤·¤Æɸ½à½ÐÎϤ˲¿¤âÊÖ¤µ¤Ê¤±¤ì¤Ð¤è¤¤¡£
846 SNMP NO-SUCH-NAME ¥ì¥¹¥Ý¥ó¥¹¤ËÂбþ¤¹¤ë snmp ¥¨¥é¡¼¤¬À¸À®¤µ¤ì¤ë¡£
847 .IP "EXEC -s MIBOID TYPE VALUE"
848 .IP 
849 .\"O For SNMP set requests, the above call method is used.  The TYPE passed
850 .\"O to the EXEC program is one of the text strings:
851 .\"O .B integer, counter, gauge, timeticks, ipaddress, objid,
852 .\"O or 
853 .\"O .B string,
854 .\"O indicating the type of value passed in the next argument.
855 SNMP set ¥ê¥¯¥¨¥¹¥È¤òÁ÷¤ë¤Ë¤Ï¡¢¾å¤ÎÊýË¡¤òÍѤ¤¤ë¡£
856 EXEC ¥×¥í¥°¥é¥à¤ËÅϤµ¤ì¤ë TYPE ¤Ï¡¢¥Æ¥­¥¹¥Èʸ»úÎó
857 .BR integer ", " counter ", " gauge ", " timeticks ", " 
858 .BR ipaddress ", " objid ", " string
859 ¤Î¤¦¤Á¤Î 1 ¤Ä¤Ç¤¢¤ë¡£
860 ¤³¤ì¤é¤Ï¼¡¤Î°ú¤­¿ô¤ÇÅϤµ¤ì¤ë VALUE ¤Î¥¿¥¤¥×¤òɽ¤¹¡£
861 .IP
862 .\"O Return nothing to stdout, and the set will assumed to have been
863 .\"O successful.  Otherwise, return one of the following error strings to
864 .\"O signal an error:
865 .\"O .B not-writable, 
866 .\"O or 
867 .\"O .B wrong-type
868 .\"O and the appropriate error response will be generated instead.
869 ɸ½à½ÐÎϤ˲¿¤âÊÖ¤µ¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï¡¢set ¤¬À®¸ù¤·¤¿¤â¤Î¤È²¾Äꤹ¤ë¡£
870 ¤½¤ì°Ê³°¤Î¾ì¹ç¤È¤·¤Æ¤Ï¡¢¥¨¥é¡¼¤ò¼¨¤¹¤¿¤á¤Ë
871 .B not-writable
872 ¤Þ¤¿¤Ï
873 .B wrong-type
874 ¤Î¤¤¤º¤ì¤«¤Îʸ»úÎó¤òÊÖ¤¹¤³¤È¤¬¤¢¤ê¡¢
875 ŬÅö¤Ê¥¨¥é¡¼¥ì¥¹¥Ý¥ó¥¹¤¬À¸À®¤µ¤ì¤ë¡£
876 .RS
877 .\"O .IP Note:
878 .IP Ãí°Õ:
879 .\"O By default, the only community allowed to write (ie snmpset) to your
880 .\"O script will be the "private" community,or community #2 if defined
881 .\"O differently by the "community" token discussed above.  Which
882 .\"O communities are allowed write access are controlled by the RWRITE
883 .\"O definition in the snmplib/snmp_impl.h source file.
884 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥æ¡¼¥¶¡¼¤Î¥¹¥¯¥ê¥×¥È¤Ç
885 write (¤Ä¤Þ¤ê snmpset) ¤¬µö²Ä¤µ¤ì¤ë¥³¥ß¥å¥Ë¥Æ¥£¤Ï¡¢
886 "private" ¥³¥ß¥å¥Ë¥Æ¥£¤È
887 ¾å¤ÇÀâÌÀ¤·¤¿ "community" ¥È¡¼¥¯¥ó¤ÇÊ̤ËÄêµÁ¤·¤¿
888 ¥³¥ß¥å¥Ë¥Æ¥£ #2 ¤Î¤ß¤Ç¤¢¤ë¡£
889 ¤É¤Î¥³¥ß¥å¥Ë¥Æ¥£¤Ë½ñ¤­¹þ¤ß¥¢¥¯¥»¥¹¤òµö²Ä¤¹¤ë¤«¤Ï¡¢
890 ¥½¡¼¥¹¥Õ¥¡¥¤¥ë snmplib/snmp_impl.h ¤Î
891 RWRITE ÄêµÁ¤ÇÀ©¸æ¤Ç¤­¤ë¡£
892 .RE
893 .RE
894 .IP
895 .\"O Example (in snmpd.conf):
896 (snmpd.conf ¤Ë¤ª¤±¤ë) Îã:
897 .IP
898 pass .1.3.6.1.4.1.2021.255 /path/to/local/passtest
899 .RE
900 .IP "pass_persist MIBOID EXEC"
901 .\"O Passes entire control of MIBOID to the EXEC program.  
902 .\"O Similar to pass, but the EXEC program continues to run after the initial
903 .\"O request is answered.
904 MIBOID ¤ÎÁ´¤Æ¤ÎÀ©¸æ¤ò EXEC ¥×¥í¥°¥é¥à¤ËÅϤ¹¡£
905 pass ¤È»÷¤Æ¤¤¤ë¤¬¡¢EXEC ¥×¥í¥°¥é¥à¤Ï
906 ºÇ½é¤Î¥ê¥¯¥¨¥¹¥È¤ËÊÖÅú¤·¤¿¸å¤â²ÔƯ¤·Â³¤±¤ë¡£
907 .IP
908 .\"O Upon initialization, EXEC is passed the string "PING\\n" in stdin,
909 .\"O and it should respond by printing "PONG\\n" to stdout.
910 ½é´ü²½¤ÎºÝ¤Ë¤Ï¡¢EXEC ¤ËÂФ·¤Æɸ½àÆþÎϤ«¤éʸ»úÎó "PING\\n" ¤¬ÅϤµ¤ì¡¢
911 ɸ½à½ÐÎϤˠ"PONG\\n" ¤òɽ¼¨¤·¤ÆÊÖÅú¤¹¤ë¡£
912 .IP
913 .\"O For get and getnext requests, EXEC program is passed two lines,
914 .\"O the command (get or getnext) and the mib OID.  It should return
915 .\"O three lines, the mib OID, the TYPE of value returned,
916 .\"O the VALUE corresponding with the returned TYPE.
917 get ¤Þ¤¿¤Ï getnext ¥ê¥¯¥¨¥¹¥È¤òÁ÷¤ë¤Ë¤Ï¡¢
918 EXEC ¥×¥í¥°¥é¥à¤Ë¥³¥Þ¥ó¥É (get ¤Þ¤¿¤Ï getnext) ¤È
919 mib OID ¤È¤¤¤¦ 2 ¹Ô¤òÅϤ¹¡£
920 EXEC ¥×¥í¥°¥é¥à¤Ï¡¢mib OID¡¦ÊÖ¤µ¤ì¤ë VALUE ¤Î TYPE¡¦
921 ÊÖ¤µ¤ì¤¿ TYPE ¤ËÂбþ¤¹¤ë VALUE ¤È¤¤¤¦ 3 ¹Ô¤òÊÖ¤¹¡£
922 .IP
923 .\"O For example, if the value for .1.3.6.1.4.100 was requested, the following
924 .\"O 2 lines would be passed in to stdin:
925 Î㤨¤Ð¡¢.1.3.6.1.4.100 ¤ÎÃͤò¥ê¥¯¥¨¥¹¥È¤¹¤ë¾ì¹ç¤Ï¡¢
926 ɸ½àÆþÎϤ˰ʲ¼¤Î 2 ¹Ô¤òÅϤ¹¡£
927 .br
928 .RS
929   get
930 .br
931   .1.3.6.1.4.100  
932 .RE
933 .IP
934 .\"O To return the value, say, 42, the script would write to stdout:
935 ÃÍ¡¢¤Ä¤Þ¤ê 42 ¤òÊÖ¤¹¤¿¤á¤Ë¡¢¥¹¥¯¥ê¥×¥È¤Ï°Ê²¼¤Î¤è¤¦¤Ê½ñ¤­½Ð¤·¤ò¹Ô¤¦:
936 .br
937 .RS
938   .1.3.6.1.4.100
939 .br
940   integer
941 .br
942   42
943 .RE
944 .IP
945 .\"O To indicate that the script is unable to comply with the request due
946 .\"O to an end-of-mib condition or an invalid request, print "NONE\\n" to
947 .\"O stdout.
948 end-of-mib ¾ò·ï¤Þ¤¿¤ÏÉÔÀµ¤Ê¥ê¥¯¥¨¥¹¥È¤¬¸¶°ø¤Ç¡¢
949 ¥¹¥¯¥ê¥×¥È¤¬¥ê¥¯¥¨¥¹¥È¤Ë±þÅú¤Ç¤­¤Ê¤¤¤³¤È¤òɽ¤¹¤Ë¤Ï¡¢
950 ɸ½à½ÐÎϤˠ"NONE\\n" ¤ò½ñ¤­½Ð¤¹¡£
951 .IP
952 .\"O Example (in snmpd.conf):
953 (snmpd.conf ¤Ë¤ª¤±¤ë) Îã:
954 .IP
955 pass_persist .1.3.6.1.4.1.2021.255 /path/to/local/pass_persisttest
956 .RE
957 .\"O .SH "EXAMPLE"
958 .SH Îã
959 .\"O See the EXAMPLE.CONF file in the top level source directory for a more
960 .\"O detailed example of how the above information is used in real
961 .\"O examples.
962 ¾åµ­¤Î¾ðÊ󤬼ºݤÎÎã¤Ç¤É¤Î¤è¤¦¤Ë»È¤ï¤ì¤Æ¤¤¤ë¤«¤Ë¤Ä¤¤¤Æ¤Ï¡¢
963 ¥½¡¼¥¹¤Î¥È¥Ã¥×¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë EXAMPLE.CONF ¥Õ¥¡¥¤¥ë¤ò»²¾È¤¹¤ë¤³¤È¡£
964 .\"O .SH "RE-READING snmpd.conf and snmpd.local.conf"
965 .SH snmpd.conf ¤È snmpd.local.conf ¤ÎºÆÆɤ߹þ¤ß
966 .\"O The ucd-snmp agent can be forced to re-read its configuration files.
967 .\"O It can be told to do so by one of two ways:
968 ucd-snmp ¥¨¡¼¥¸¥§¥ó¥È¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤òºÆÆɤ߹þ¤ß¤µ¤»¤ë¤³¤È¤¬²Äǽ¤Ç¤¢¤ë¡£
969 °Ê²¼¤Î 2 ¤Ä¤Î¤¦¤Á¤Î 1 ¤Ä¤ò¼Â¹Ô¤¹¤ì¤Ð¤è¤¤:
970 .IP 1.
971 .\"O An snmpset of integer(1) to UCD-SNMP-MIB::versionUpdateConfig.0
972 .\"O (.1.3.6.1.4.1.2021.100.11.0)
973 snmpset ¤Ç UCD-SNMP-MIB::versionUpdateConfig.0
974 (.1.3.6.1.4.1.2021.100.11.0) ¤òÀ°¿ô (1) ¤ËÀßÄꤹ¤ë¡£
975 .IP 2.
976 .\"O A "kill -HUP" signal sent to the snmpd agent process.
977 snmpd ¥¨¡¼¥¸¥§¥ó¥È¥×¥í¥»¥¹¤Ë "kill -HUP" ¥·¥°¥Ê¥ë¤òÁ÷¤ë¡£
978 .\"O .SH "FILES"
979 .SH ¥Õ¥¡¥¤¥ë
980 /usr/share/snmp/snmpd.conf
981 .\"O .SH "SEE ALSO"
982 .SH ´ØÏ¢¹àÌÜ
983 snmpconf(1), snmp.conf(5), snmp_config(5), snmpd(1), EXAMPLE.conf, read_config(3).
984 .\" Local Variables:
985 .\"  mode: nroff
986 .\" End: