home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 March / Chip_2011.03_CD.iso / I386 / NETSNMP.IN_ / netsnmp.inf
Encoding:
Text (UTF-16)  |  2001-10-19  |  22.9 KB  |  357 lines

  1. ; NETSNMP.INX
  2. ;
  3. ; Simple Network Management Protocol
  4. ;
  5. ; Copyright (c) 1993-1999, Microsoft Corporation
  6.  
  7. [Version]
  8. Signature="$Windows NT$"
  9. LayoutFile=layout.inf
  10. Provider=%Msft%
  11. DriverVer=07/01/2001,5.1.2535.0
  12.  
  13. [SNMP]
  14. CopyFiles               = CpyFiles_Sys
  15. DelFiles                = DelObsolete_Sys
  16. Uninstall               = SNMP.Remove
  17. StartServices           = SNMP, SNMPTRAP
  18.  
  19. [SNMP.Remove]
  20. DelReg                  = SNMP.DelReg
  21. DelFiles                = DelFiles_Sys
  22.  
  23. [DestinationDirs]
  24. CpyFiles_Sys            = 11                ;%windir%\System32
  25. DelFiles_Sys            = 11                ;%windir%\System32
  26. DelObsolete_Sys         = 11                ;%windir%\System32
  27.  
  28. [SNMP.Services]
  29. AddService = SNMP, 0x10,         SNMP_Service_Inst,      SNMP_Evt
  30. AddService = SNMPTRAP, 0x10,     SNMPTRAP_Service_Inst,  SNMPTRAP_Evt
  31.  
  32. [SNMP.Remove.Services]
  33. DelService = SNMP, 0x04
  34. DelService = SNMPTRAP, 0x04
  35.  
  36. ;-------------------------------------------------------------------------
  37. ; SNMP subagent sections/entries
  38. ; In order to add an SNMP subagent:
  39. ; - define an entry in each of [SNMP.SNMPAgent] and [SNMP.Remove.SNMPAgent]
  40. ; - define [SNMP.Add<subagent>] and [SNMP.Remove.Del<subagent>]
  41. ; - make sure the binary is copied/removed by [CpyFiles_Sys] and [DelFiles_Sys]
  42. ; - any other particular registry configuration should go in [SNMP.AddReg] and [SNMP.DelReg]
  43. ;-------------------------------------------------------------------------
  44. [SNMP.SNMPAgent]
  45. AddAgent = SNMP.AddLMMIB2Agent
  46. AddAgent = SNMP.AddINETMIB1Agent
  47. AddAgent = SNMP.AddHOSTMIBAgent
  48. AddAgent = SNMP.AddSNMPAgent
  49. AddAgent = SNMP.AddEVNTAgent
  50. AddAgent = SNMP.AddWINSSNMPAgent
  51. AddAgent = SNMP.AddDHCPSNMPAgent
  52. AddAgent = SNMP.AddIGMPSNMPAgent
  53. AddAgent = SNMP.AddIPMulticastSNMPAgent
  54. AddAgent = SNMP.AddIPXSNMPAgent
  55. AddAgent = SNMP.AddIASSNMPAgent
  56.  
  57. [SNMP.Remove.SNMPAgent]
  58. DelAgent = SNMP.Remove.DelLMMIB2Agent
  59. DelAgent = SNMP.Remove.DelINETMIB1Agent
  60. DelAgent = SNMP.Remove.DelHOSTMIBAgent
  61. DelAgent = SNMP.Remove.DelSNMPAgent
  62. DelAgent = SNMP.Remove.DelEVNTAgent
  63. DelAgent = SNMP.Remove.DelWINSSNMPAgent
  64. DelAgent = SNMP.Remove.DelDHCPSNMPAgent
  65. DelAgent = SNMP.Remove.DelIGMPSNMPAgent
  66. DelAgent = SNMP.Remove.DelIPMulticastSNMPAgent
  67. DelAgent = SNMP.Remove.DelIPXSNMPAgent
  68. AddAgent = SNMP.Remove.DelIASSNMPAgent
  69.  
  70. [SNMP.AddLMMIB2Agent]
  71. ServiceName = "SNMP"
  72. AgentName = "LANManagerMIB2Agent"
  73. AgentPath = "%SystemRoot%\System32\lmmib2.dll"
  74.  
  75. [SNMP.AddINETMIB1Agent]
  76. ServiceName = "SNMP"
  77. AgentName = "RFC1156Agent"
  78. AgentPath = "%SystemRoot%\System32\inetmib1.dll"
  79.  
  80. [SNMP.AddHOSTMIBAgent]
  81. ServiceName = "SNMP"
  82. AgentName = "HostMIB"
  83. AgentPath = "%SystemRoot%\System32\hostmib.dll"
  84.  
  85. [SNMP.AddSNMPAgent]
  86. ServiceName = "SNMP"
  87. AgentName = "SNMPMIB"
  88. AgentPath = "%SystemRoot%\System32\snmpmib.dll"
  89.  
  90. [SNMP.AddEVNTAgent]
  91. ServiceName = "SNMP"
  92. AgentName = "SNMP_EVENTS"
  93. AgentPath = "%SystemRoot%\System32\evntagnt.dll"
  94.  
  95. [SNMP.AddWINSSNMPAgent]
  96. ServiceName = "WINS"
  97. AgentName = "WINSMibAgent"
  98. AgentPath = "%SystemRoot%\System32\winsmib.dll"
  99.  
  100. [SNMP.AddDHCPSNMPAgent]
  101. ServiceName = "DHCPServer"
  102. AgentName = "DhcpMibAgent"
  103. AgentPath = "%SystemRoot%\System32\dhcpmib.dll"
  104.  
  105. [SNMP.AddIGMPSNMPAgent]
  106. ServiceName = "RemoteAccess"
  107. AgentName = "IGMPMibAgent"
  108. AgentPath = "%SystemRoot%\System32\igmpagnt.dll"
  109.  
  110. [SNMP.AddIPMulticastSNMPAgent]
  111. ServiceName = "RemoteAccess"
  112. AgentName = "IPMulticastMibAgent"
  113. AgentPath = "%SystemRoot%\System32\mcastmib.dll"
  114.  
  115.  
  116.  
  117.  
  118. [SNMP.AddIPXSNMPAgent]
  119. ServiceName = "RemoteAccess"
  120. AgentName = "IPXMibAgent"
  121. AgentPath = "%SystemRoot%\System32\rtipxmib.dll"
  122.  
  123. [SNMP.AddIASSNMPAgent]
  124. ServiceName = "IAS"
  125. AgentName = "IASAgent"
  126. AgentPath = "%SystemRoot%\System32\iasperf.dll"
  127.  
  128. [SNMP.Remove.DelLMMIB2Agent]
  129. AgentName = "LANManagerMIB2Agent"
  130.  
  131. [SNMP.Remove.DelINETMIB1Agent]
  132. AgentName = "RFC1156Agent"
  133.  
  134. [SNMP.Remove.DelHOSTMIBAgent]
  135. AgentName = "HostMIB"
  136.  
  137. [SNMP.Remove.DelSNMPAgent]
  138. AgentName = "SNMPMIB"
  139.  
  140. [SNMP.Remove.DelEVNTAgent]
  141. AgentName = "SNMP_EVENTS"
  142.  
  143. [SNMP.Remove.DelWINSSNMPAgent]
  144. AgentName = "WINSMibAgent"
  145.  
  146. [SNMP.Remove.DelDHCPSNMPAgent]
  147. AgentName = "DhcpMibAgent"
  148.  
  149. [SNMP.Remove.DelIGMPSNMPAgent]
  150. AgentName = "IGMPMibAgent"
  151.  
  152. [SNMP.Remove.DelIPMulticastSNMPAgent]
  153. AgentName = "IPMulticastMibAgent"
  154.  
  155. [SNMP.Remove.DelRIPSNMPAgent]
  156. AgentName = "RIPMibAgent"
  157.  
  158. [SNMP.Remove.DelOSPFSNMPAgent]
  159. AgentName = "OSPFMibAgent"
  160.  
  161. [SNMP.Remove.DelBOOTPSNMPAgent]
  162. AgentName = "BOOTPMibAgent"
  163.  
  164. [SNMP.Remove.DelIPXSNMPAgent]
  165. AgentName = "IPXMibAgent"
  166.  
  167. [SNMP.Remove.DelIASSNMPAgent]
  168. AgentName = "IASAgent"
  169.  
  170. ;-------------------------------------------------------------------------
  171. ; File operations performed on SNMP service installation
  172. ; - copy files to %windir%system32 directory
  173. ; - copy files to %windir%help directory
  174. ; - delete obsoleted files from %windir%\system32 directory
  175. ;-------------------------------------------------------------------------
  176. [CpyFiles_Sys]
  177. lmmib2.dll,,,2
  178. hostmib.dll,,,2
  179. snmpmib.dll,,,2
  180. evntagnt.dll,,,2
  181. evntcmd.exe,,,2
  182. evntwin.exe,,,2
  183. snmp.exe,,,2
  184. snmptrap.exe,,,2
  185. accserv.mib,,,2
  186. authserv.mib,,,2
  187. dhcp.mib,,,2
  188. ftp.mib,,,2
  189. hostmib.mib,,,2
  190. http.mib,,,2
  191. inetsrv.mib,,,2
  192. ipforwd.mib,,,2
  193. lmmib2.mib,,,2
  194. mcastmib.mib,,,2
  195. mib_ii.mib,,,2
  196. mipx.mib,,,2
  197. mripsap.mib,,,2
  198. msft.mib,,,2
  199. msipbtp.mib,,,2
  200. msiprip2.mib,,,2
  201. nipx.mib,,,2
  202. smi.mib,,,2
  203. wfospf.mib,,,2
  204. wins.mib,,,2
  205.  
  206. [CpyFiles_Sys.Security]
  207. "D:P(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"
  208.  
  209. [DelObsolete_Sys]
  210. snmpcfg.exe,,,1
  211.  
  212. ;-------------------------------------------------------------------------
  213. ; File operations performed when SNMP service gets uninstalled
  214. ; - delete files from %windir%\system32 directory
  215. ; - delete files from %windir%\help directory
  216. ;-------------------------------------------------------------------------
  217. [DelFiles_Sys]
  218. lmmib2.dll,,,1
  219. hostmib.dll,,,1
  220. snmpmib.dll,,,1
  221. evntagnt.dll,,,1
  222. evntcmd.exe,,,1
  223. evntwin.exe,,,1
  224. snmp.exe,,,1
  225. snmptrap.exe,,,1
  226. accserv.mib,,,1
  227. authserv.mib,,,1
  228. dhcp.mib,,,1
  229. ftp.mib,,,1
  230. hostmib.mib,,,1
  231. http.mib,,,1
  232. inetsrv.mib,,,1
  233. ipforwd.mib,,,1
  234. lmmib2.mib,,,1
  235. mcastmib.mib,,,1
  236. mib_ii.mib,,,1
  237. mipx.mib,,,1
  238. mripsap.mib,,,1
  239. msft.mib,,,1
  240. msipbtp.mib,,,1
  241. msiprip2.mib,,,1
  242. nipx.mib,,,1
  243. smi.mib,,,1
  244. wfospf.mib,,,1
  245. wins.mib,,,1
  246.  
  247. ;-------------------------------------------------------------------------
  248. ; Service Install Sections
  249. ;-------------------------------------------------------------------------
  250. [SNMP_Service_Inst]
  251. DisplayName     =   %SNMP_Display%
  252. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  253. StartType       =   %SERVICE_AUTO_START%
  254. ErrorControl    =   1
  255. ServiceBinary   =   "%%SystemRoot%%\System32\snmp.exe"
  256. Dependencies    =   EventLog
  257. StartName       =   LocalSystem
  258. AddReg          =   SNMP_AddReg
  259. Description     =   %SNMP_Desc%
  260.  
  261. [SNMPTRAP_Service_Inst]
  262. DisplayName     =   %SNMPTRAP_Display%
  263. ServiceType     =   %SERVICE_WIN32_OWN_PROCESS%
  264. StartType       =   %SERVICE_DEMAND_START%
  265. ErrorControl    =   1
  266. ServiceBinary   =   "%%SystemRoot%%\System32\snmptrap.exe"
  267. Dependencies    =   EventLog
  268. StartName       =   "NT AUTHORITY"\LocalService
  269. AddReg          =   SNMPTRAP_AddReg
  270. Description     =   %SNMPTRAP_Desc%
  271.  
  272. [SNMP_AddReg]
  273. HKR,"Parameters",                        "EnableAuthenticationTraps",    0x00010003, 1
  274. HKR,"Parameters",                        "NameResolutionRetries",        0x00010003, 16
  275. HKR,"Parameters\ExtensionAgents",       ,                                0x00000010      ; no values
  276. HKR,"Parameters\PermittedManagers",     ,                                0x00000010      ; no values
  277. HKR,"Parameters\TrapConfiguration",     ,                                0x00000010      ; no values
  278. HKR,"Parameters\ValidCommunities",      ,                                0x00000010      ; no values
  279.  
  280. HKR,"Parameters\RFC1156Agent",                                "sysContact",        0x00000002, ""
  281. HKR,"Parameters\RFC1156Agent",                                "sysLocation",       0x00000002, ""
  282. HKR,"Parameters\RFC1156Agent",                                "sysServices",       0x00010003, 76
  283.  
  284. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "ConfigurationType", 0x00010003, 0
  285. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog",               "TranslatorEnabled", 0x00000002, "No"
  286. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "BaseEnterpriseOID", 0x00000002, "1.3.6.1.4.1.311.1.13.1"
  287. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Parameters",    "SupportedView",     0x00000002, "2.0"
  288. HKLM,"SOFTWARE\Microsoft\SNMP_EVENTS\EventLog\Sources",       ,                    0x00000010       ; no values
  289.  
  290. [SNMP.DelReg]
  291. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt"
  292.  
  293. ;-------------------------------------------------------------------------
  294. ; Event sources registered when SNMP is installed
  295. ;-------------------------------------------------------------------------
  296. [SNMP_Evt]
  297. AddReg = SNMP_Evt_AddReg
  298. AddReg = EVNTAGNT_Evt_AddReg
  299. ;-------------------------------------------------------------------------
  300. ; register SNMP.EXE as an event source
  301. ;-------------------------------------------------------------------------
  302. [SNMP_Evt_AddReg]
  303. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmp.exe"
  304. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  305. ;-------------------------------------------------------------------------
  306. ; register EVNTAGNT.DLL as an event source
  307. ;-------------------------------------------------------------------------
  308. [EVNTAGNT_Evt_AddReg]
  309. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\evntagnt.dll"
  310. HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\EvntAgnt", TypesSupported,   %REG_DWORD%,        0x00000007
  311.  
  312. ;-------------------------------------------------------------------------
  313. ; Event sources registered when SNMPTRAP service is installed
  314. ;-------------------------------------------------------------------------
  315. [SNMPTRAP_Evt]
  316. AddReg = SNMPTRAP_Evt_AddReg
  317. ;-------------------------------------------------------------------------
  318. ; register SNMPTRAP.EXE as an event source
  319. ;-------------------------------------------------------------------------
  320. [SNMPTRAP_Evt_AddReg]
  321. HKR,, EventMessageFile, %REG_EXPAND_SZ%,    "%%SystemRoot%%\System32\snmptrap.exe"
  322. HKR,, TypesSupported,   %REG_DWORD%,        0x00000007
  323.  
  324. [Strings]
  325. Msft = "Microsoft"
  326.  
  327. ; Service names
  328. SNMP_Display = "Служба SNMP"
  329. SNMP_Desc = "Включает агентов, производящих наблюдение за работой сетевых устройств и выводит результаты на рабочую станцию сетевой консоли."
  330. SNMPTRAP_Display = "Служба ловушек SNMP"
  331. SNMPTRAP_Desc = "Принимает сообщения перехвата, созданные локальными или удаленными агентами SNMP и пересылает их программам управления SNMP, запущенными на этом компьютере."
  332. SNMP_HELP = "Служба Simple Network Management Protocol (SNMP) обеспечивает возможность удаленного администрирования компьютера под управлением Windows с помощью инструментария SNMP."
  333. Admin_Tools = "Администрирование"
  334.  
  335. REG_MULTI_SZ = 0x10000
  336. REG_EXPAND_SZ = 0x20000
  337. FLG_ADDREG_KEYONLY = 0x0010
  338. REG_DWORD = 0x10001
  339. SERVICE_DEMAND_START = 3
  340. SERVICE_AUTO_START = 2
  341. SERVICE_WIN32_SHARE_PROCESS = 32
  342. SERVICE_FILE_SYSTEM_DRIVER = 2
  343. SERVICE_WIN32_OWN_PROCESS = 16
  344.  
  345. ; Characteristic flags
  346. NCF_VIRTUAL                 = 0x0001
  347. NCF_WRAPPER                 = 0x0002
  348. NCF_PHYSICAL                = 0x0004
  349. NCF_HIDDEN                  = 0x0008
  350. NCF_NO_SERVICE              = 0x0010
  351. NCF_NOT_USER_REMOVABLE      = 0x0020
  352. NCF_HAS_UI                  = 0x0080
  353. NCF_MODEM                   = 0x0100
  354.  
  355. KEY_OPTIONAL            = "SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OptionalComponents"
  356.  
  357.