SNMP(Simple Network Management Protocol,簡單網(wǎng)絡(luò)管理協(xié)議),用來對通信線路進(jìn)行管理。在Windows服務(wù)器上配置SNMP服務(wù)時(shí),使用手動(dòng)填寫信息太麻煩。下面是使用命令行執(zhí)行配置文件來實(shí)現(xiàn)。
創(chuàng)建snmp.inf
[NetOptionalComponents]
SNMP = 1
[SNMP]
Contact_Name = "ITSupport"
Location = "ServerRoom"
Service = Physical, Applications, End-to-End
Community_Name = Type_your_string_here
Traps = Type_the_destination_IP
Send_Authentication = Yes
Accept_CommunityName = Type_your_string_here:Read_Only
Any_Host = no
Limit_Host = Type_the_destination_IP
在服務(wù)器上運(yùn)行以下命令
C:/Windows/System32/Sysocmgr.exe /i:%windir%/inf/sysoc.inf /u:path_to_the_file/snmp.inf
新聞熱點(diǎn)
疑難解答
圖片精選