命令行配置Windows SNMP服务
2009-07-08 00:05
218 查看
[align=center]命令行配置Windows SNMP服务[/align]
[align=center]原文地址:/article/4410428.html[/align]
我转载这篇文章的目的和该文的作者一样,找个地方记下来:
[1楼]
jessq
[align=right]2009-06-12 18:26:18[/align]
熟悉命令行的用这个肯定很好,不过一般人不愿意记忆啊。
博主回复:
所以才用用博客把它记下来。
2009-06-13 09:35:10
原文如下:
经常需要在Windows服务器上配置SNMP服务,一项项手动填写信息太麻烦。所以就用命令行执行配置文件来实现。
1) 创建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
2) 在服务器上运行以下命令
C:\Windows\System32\Sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:path_to_the_file/snmp.inf
《Java程序员,上班那点事儿》,前言,目录
[align=center]原文地址:/article/4410428.html[/align]
我转载这篇文章的目的和该文的作者一样,找个地方记下来:
[1楼]
jessq
[align=right]2009-06-12 18:26:18[/align]
熟悉命令行的用这个肯定很好,不过一般人不愿意记忆啊。
博主回复:
所以才用用博客把它记下来。
2009-06-13 09:35:10
原文如下:
经常需要在Windows服务器上配置SNMP服务,一项项手动填写信息太麻烦。所以就用命令行执行配置文件来实现。
1) 创建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
2) 在服务器上运行以下命令
C:\Windows\System32\Sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:path_to_the_file/snmp.inf
《Java程序员,上班那点事儿》,前言,目录
相关文章推荐
- 惊艳的cygwin——Windows下的Linux命令行环境的配置和使用
- windows下安装pear及phpunit(注意配置好php命令行环境)
- Windows下如何使用命令行来配置iSCSI连接
- 命令行下配置Windows 2003防火墙
- 惊艳的 cygwin——Windows下的Linux命令行环境的配置和使用
- Windows命令行下配置Windows XP防火墙
- 惊艳的cygwin——Windows下的Linux命令行环境的配置和使用
- 在Windows命令行下配置IP地址
- windows 下通过命令行配置zendframework项目环境
- 命令行方式配置windows环境变量
- windows netsh配置IP地址(命令行)
- java SE运行环境在windows下的配置和命令行方式编译与运行java程序
- 惊艳的cygwin——Windows下的Linux命令行环境的配置和使用
- windows下zendframework项目环境搭建(通过命令行配置)
- windows下安装pear及phpunit(注意配置好php命令行环境)
- [命令行] 配置颜色(windows cmd,powershell,linux console)
- Windows命令行下配置IP地址
- Win7开启SNMP服务(被监控端的Windows主机的SNMP服务配置)
- windows下安装pear及phpunit(注意配置好php命令行环境)
- 【PE】Windows平台命令行中使用vcvarsall.bat配置编译环境