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

树叶云

在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

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/223808.html<

(0)
运维的头像运维
上一篇2025-04-16 03:29
下一篇 2025-04-16 03:30

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注