免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1854 | 回复: 2
打印 上一主题 下一主题

SNMP高手请赐教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-30 17:13 |只看该作者 |倒序浏览
1. HOST_RESOURCE_MIB中有一个hrProcessorLoad为什么在solaris中没有值? 如何才能将这个值取出?
2. 我从网上下载了一个ORALISTENER-MIB, 但是我用mibbrowse取值也不行? 不知道这里面的原理是咋样的?

请帮忙, 谢先!

论坛徽章:
0
2 [报告]
发表于 2006-10-31 12:18 |只看该作者
没人会吗?

论坛徽章:
0
3 [报告]
发表于 2006-10-31 14:04 |只看该作者
Hope you can find the info you need from the infodoc below.

There are MIBs listed in the file. So you mean Solaris can't provide the value for this entry?
See Manpage will be a good way to find the problem.

bash-3.00# find . |xargs grep hrProcessorLoad
./mibs/HOST-RESOURCES-MIB.txt:           hrDeviceErrors, hrProcessorLoad, hrNetworkIfIndex,
./mibs/HOST-RESOURCES-MIB.txt:        hrProcessorLoad             Integer32
./mibs/HOST-RESOURCES-MIB.txt:hrProcessorLoad OBJECT-TYPE
./mibs/HOST-RESOURCES-MIB.txt:            hrProcessorFrwID, hrProcessorLoad,
bash-3.00# pwd
/etc/sma/snmp


Description:        Top

This infodoc provides location information and a brief desciption of what is
available for supported SNMP tools.

DISCLAIMER:

LIMITATION OF LIABILITY. IN NO EVENT WILL SUN BE LIABLE FOR ANY LOST REVENUE,
PROFIT OR DATA, OR
FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER
CAUSED AND
REGARDLESS OF THE THEORY OF LIABILITY ARISING OUT OF THE USE OF OR INABILITY TO
USE SOFTWARE,
EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


Document Body:        Top

Where to find information
   Website - http://net-snmp.sourceforge.net/


History
This package was originally based on the Carnegie Mellon University and
University of California
at Davis SNMP implementations.  The package has been greatly enhanced, ported,
fixed, made
easier to use, and thus barely resembles the original package.


The following are some excerpts from the FAQ page found on the site listed
above. For
the complete FAQ, go to the site.

   What is it?
   - Various tools relating to the Simple Network Management Protocol including:

        * An extensible agent
        * A SNMP library
        * Tools to request or set information from SNMP agents
        * Tools to generate and handle SNMP traps
        * A version of the unix 'netstat' command using SNMP
        * A graphical Perl/Tk/SNMP based mib browser

   Where can I get it?
      Download:
        - http://www.net-snmp.org/download/
        - ftp://ftp.net-snmp.org/pub/sourceforge/net-snmp/
      MD5 Sums:
        - http://www.net-snmp.org/md5/
      Sourceforge Project page:
        - http://www.net-snmp.org/project/
      Mirrors (note that sourceforge download servers are mirrored themselves):
        - US:          ftp://ftp.freesnmp.com/mirrors/net-snmp/
        - Bulgaria:    http://rtfm.uni-svishtov.bg/net-snmp/
        - Japan:       ftp://ftp.ayamura.org/pub/net-snmp/
        - Germany:     ftp://ftp.mpg.goe.ni.schule.de/pub/internet/net-snmp/


   What documentation is available?
        README
        INSTALL
        PORTING
        EXAMPLE.conf
        man pages for the individual tools, files and the API
        A guide for extending the agent
        Tutorials for both ucd-snmp v4 and net-snmp v5
           at  http://www.net-snmp.org/tutorial/
           and http://www.net-snmp.org/tutorial-5/ respectively


   What operating systems does it run on?
     Both the applications and the agent have been reported as running
     (at least in part) on the following operating systems:

        * HP-UX (10.20 to 9.01 and 11.0 -- see README.hpux11)
        * Ultrix (4.5 to 4.2)
        * Solaris (2.8 to 2.3) and SunOS (4.1.4 to 4.1.2)
        * OSF (4.0, 3.2)
        * NetBSD (1.5alpha to 1.0)
        * FreeBSD (4.1 to 2.2)
        * BSDi (4.0.1 to 2.1)
        * Linux (kernels 2.4 to 1.3)
        * AIX (4.1.5, 3.2.5)
        * OpenBSD (2.8, 2.6)
        * Irix (6.5 to 5.1)
        * OS X (10.1.1 and 10.1.2)
        * Dynix/PTX 4.4

   We have also been informed about a port to the Stratus VOS.
   See http://ftp.stratus.com/vos/network/network.html for detail


Internal Only:        Top

Sun is by no means responsible for any support for these tools. For support of
these tools, do the following:

++
Questions about using the package should be directed to the
net-snmp-users@lists.sourceforge.net mailing list.  
Note that this mailing list is relatively busy, and the people answering these
questions are
doing so out of the goodness of their hearts, and in addition to their main
employment.  

Please note the following:
     - use plain text mail, rather than HTML
     - don't send questions more than once (even if no-one answers immediately)
     - include full details of exact commands and error messages
          ("I've tried everything, and it doesn't work" isn't much use!)
     - do *NOT* send messages to -users and -coders mailing lists
          (most developers read both anyway)
     - don't mail the developers privately - keep everything on the list

Remember that this is basically an unsupported package.  Fundamentally it's Open
Source, so you have
the source code.  If you need something fixed, it's up to you to do the work.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP