帝王谷资源网 Design By www.wdxyy.com
在Windows服务器上配置SNMP服务时,使用手动填写信息太麻烦。下面是使用命令行执行配置文件来实现。
  创建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,SNMP

帝王谷资源网 Design By www.wdxyy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
帝王谷资源网 Design By www.wdxyy.com