• netsnmp > icefired@netexpertcn
  • icefired@netexpertcn

    免费下载 下载该文档 文档格式:PDF   更新时间:2010-02-01   下载次数:0   点击次数:1
    文档基本属性
    文档语言:Simplified Chinese
    文档格式:pdf
    文档作者:魏伟
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性
    国内最专业的网络分析论坛----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.

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 PDF格式下载
  • 您可能感兴趣的
  • netsnmp  snmpsharpnet  netsnmp安装  netsnmp配置  netsnmp下载  netsnmp使用  netsnmp5.7.1  netsnmpwindows  netsnmptrap  linuxnetsnmp