Windows服務器SNMP服務的配置方法
更新時間:2009年07月22日 23:31:26 作者:
SNMP(Simple Network Management Protocol,簡單網(wǎng)絡管理協(xié)議),用來對通信線路進行管理。
在Windows服務器上配置SNMP服務時,使用手動填寫信息太麻煩。下面是使用命令行執(zhí)行配置文件來實現(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
在服務器上運行以下命令
C:\Windows\System32\Sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:path_to_the_file/snmp.inf
創(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
在服務器上運行以下命令
C:\Windows\System32\Sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:path_to_the_file/snmp.inf
相關文章
Windows 2008任務計劃執(zhí)行bat腳本失敗返回0x1的解決方法
這篇文章主要介紹了Windows 2008任務計劃執(zhí)行bat腳本失敗返回0x1的解決方法,腳本之家小編一般更傾向于使用vbs來實現(xiàn)功能更強大與簡單2020-05-05windows server 2008 R2 管理員帳戶克隆方法(圖文)
大家知道,黑客入侵一臺服務器,一般都會先建立一個帳戶,然后再設法將該帳戶進行提權,而且這個過程都是隱藏的,下面我們來試試如何將GUEST帳戶提權成管理員(administrators)帳戶2015-10-10