国内最专业的网络分析论坛----http://www.netexpert.cn
icefired@netexpert.cn
如何使用 SNPM 来监控 Linux 服务器
作 者: icefired (icefired@netexpert.cn) 2005-9-16
[Keywords] SNMP, Linux, Orion NPM, MRTG, Net-SNMP [Ojects] Using SNMP to monitor a Linux server
[准
备]
1. Net-SNMP 5.1.2 或 UCD-SNMP 4.2.3 下载:http://www.net-snmp.org/download.html 2. A Linux Server: Redhat Linux 7/8/9,RHEL 3/4 或其他 Linux 发行版. 3. SNMP Tool: Solarwinds toolset V8.2 或 Orion Network Performance Monitor V7.8, 其他支持 SNMP 监控的工具如 HP OpenView, IBM NetView, SNMPC V7 均可以.
[步
骤]
1. 安装 Net-SNMP 或 UCD-SNMP. (三种方法) 1.1 安装 Linux 系统时自动安装 安装 Linux 系统的时候选择 UCD-SNMP 和 SNMP-Utility 两个安装包就 可以了. 1.2 使用 RPM 包来安装,这里以 Redhat 9 为例来说明. 先检查有无安装旧的版本: rpm –q ucd-snmp 全新安装:
#rpm –ivh net-snmp-5.1.2-1.rh9.i386.rpm #rpm –ivh net-snmp-devel-5.1.2-1.rh9.i386.rpm
1.3 使用原代码来安装
#wget http://mesh.dl.sourceforge.net/sourceforge/net-snmp/net-snmp-5.1.3.1.tar.gz #tar –xzvf net-snmp-5.1.3.1.tar.gz #cd net-snmp-5.1.3.1 #./configure # make & make install
如果没什么问题则顺利完成安装,Linux 的安装和命令使用不在本文讨 论范围,请大家查询相关手册. 2. 配置 SNMP 2.1 设置 SNMPD 服务自动启动 # setup 然后勾选上 services -> snmpd 启动 snmpd 进程
1
国内最专业的网络分析论坛----http://www.netexpert.cn
icefired@netexpert.cn
#service snmpd start
2.2 检查一下 snmpd 进程是否运行正常
# ps –ef | grep snmpd
2.3
配置/etc/snmp/snmpd.conf 好了,按照前面的步骤我们已经顺利的安装好 SNMP 服务了,如果使 用默认的 snmpd.conf 文件,我们将只能够看到系统信息,而不能对系统 资源进行监测. 下面是一份 net-snmp 自带的 snmpd.conf 文件:
##################---Begin---################################ #################### # snmpd.conf: # # ######################################################### # # This file is intended to only be as a starting point. # full details, see the snmpd.conf(5) manual page. # # All lines beginning with a '#' are comments and are intended for you # to read. All other lines are configuration commands for the agent. Many more # configuration directives exist than are mentioned in this file. For An example configuration file for configuring the ucd-snmp snmpd agent.
- netsnmp > icefired@netexpertcn
-
icefired@netexpertcn
下载该文档 文档格式:PDF 更新时间:2010-02-01 下载次数:0 点击次数:1
文档基本属性 文档语言: Simplified Chinese 文档格式: pdf 文档作者: 魏伟 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: 湖北省档案局 分类: 创建时间: 上次保存者: 修订次数: 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 段落数: 字节数: 备注: 演示格式: 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
-
PDF格式下载
- 更多文档...
-
上一篇:WebNMS/AdventNet
下一篇:课题:AgentX协议研究及其基于net-snmp的实现
点击查看更多关于netsnmp的相关文档
- 您可能感兴趣的
- netsnmp snmpsharpnet netsnmp安装 netsnmp配置 netsnmp下载 netsnmp使用 netsnmp5.7.1 netsnmpwindows netsnmptrap linuxnetsnmp
- 大家在找
-
- · 企业所得税鉴证2011
- · 体操世锦赛
- · 十八岁禁止观看
- · 2011wwe送葬者牢笼战
- · 小仓鼠吃什么
- · cad怎么转换jpg格式
- · 管理学课件ppt陈劲
- · 饲料粉碎机应用现状
- · 2012村官考试时间
- · 幼儿教师说课范例
- · 房屋厨房装修风水知识
- · 大学生暑期打工心得
- · 建筑工程软件cad
- · 带式压滤脱水机
- · 认识excel教案
- · 底线黄宗泽
- · cad特殊符号输入
- · 电驴破解版下载软件
- · 厂房消防通道
- · 公路桥涵设计手册pdf
- · 整机配置单查询
- · txt坏蛋是怎样炼成的5
- · pt100热电阻计算公式
- · 偷天大逃杀下载
- · 门窗冲孔模具
- · 汽车教学课件
- · 中小企业管理案例
- · 2010年度河北新闻奖获奖作品
- · 自媒体市场
- · ibm双肩电脑包
- 赞助商链接