Windows服务器SNMP服务的配置方法

 2022-11-04    298  

在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服务的配置方法

以上所述是小编给大家介绍的Windows服务器SNMP服务的配置方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对77isp云服务器技术网的支持! 如果你觉得本文对你有帮助,欢迎转载,烦请注明出处,谢谢!

原文链接:https://77isp.com/post/11741.html

=========================================

https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。