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

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

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

  2021-03-17 我要评论
想了解Windows服务器SNMP服务的配置方法的相关内容吗,在本文为您仔细讲解Windows SNMP的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点: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

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们