snmp问题,想知道mib结构

cryptonym 2009-07-08 09:54:45
谁知道windows mib的结构,给个网上资料链接也行。谢谢!

...全文
286 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
xiaoyaojin2008 2009-07-24
  • 打赏
  • 举报
回复
cryptonym:
ip browser用了,只能看到system /interface,等几项,看不到硬盘,cpu等信息啊。

答复:
呵呵,其实这种问题其他同事经常碰到。呵呵。搞了半天,都是很简单的问题。最常见的原因是提供的MIB文件不标准。你找个标准的很快就解决了。当然你也要提供相应的依赖文件。 有什么问题请站内短信,请知,谢谢
cryptonym 2009-07-09
  • 打赏
  • 举报
回复
ip browser用了,只能看到system /interface,等几项,看不到硬盘,cpu等信息啊。
oyljerry 2009-07-08
  • 打赏
  • 举报
回复
可以用Mib viewer等相关工具查看一下
雪影 2009-07-08
  • 打赏
  • 举报
回复
路人乙2019 2009-07-08
  • 打赏
  • 举报
回复
用Mib browser吧,其实就是一个树形结构,前面的都是定义好了的,后面有个企业的节点,这个企业就可以在这个节点下设另一些节点,为节点赋值等.
Jimmy_Xia 2009-07-08
  • 打赏
  • 举报
回复
The .mib file contains a set of definitions for each managed object. It defines the data type of the object, as well as the current validity of the object. The .mib file also provides a brief description of the purpose of each MIB object. The role of the .mib file can be compared to the role of a .def file in a DLL.

TOASTER-MIB DEFINITIONS ::= BEGIN

IMPORTS
enterprises
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212
DisplayString
FROM RFC-1213;

epilogue OBJECT IDENTIFIER ::= {enterprises 12}
toaster OBJECT IDENTIFIER ::= {epilogue 2}


toasterManufacturer OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The name of the toaster's manufacturer. For instance,
Microsoft Toaster."
::= {toaster 1}

toasterModelNumber OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The name of the toaster's model. For instance,
Radiant Automatic."
::= {toaster 2}

toasterControl OBJECT-TYPE
SYNTAX INTEGER {up (1), down (2)}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This variable controls the current state of the toaster. To
begin toasting, set it to down (2). To abort toasting
(perhaps in the event of an emergency), set it to up (2)."
::= {toaster 3}

toasterDoneness OBJECT-TYPE
SYNTAX INTEGER (1..10)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This variable controls how well-done is the ensuing toast. It
should be on a scale of 1 to 10. Toast made at 10 generally
is considered unfit for human consumption;
toast made at 1 is warmed lightly."
::= {toaster 4}

toasterToastType OBJECT-TYPE
SYNTAX INTEGER {
white-bread (1),
wheat-bread (2),
wonder-bread (3),
frozen-waffle (4),
frozen-bagel (5),
hash-brown (6),
other (7)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This variable informs the toaster of the type of material that
is being toasted. The toaster uses this information, combined
with toasterToastDoneness, to compute for how long the material
must be toasted to achieve the required doneness."
::= {toaster 5}

END
快乐鹦鹉 2009-07-08
  • 打赏
  • 举报
回复
http://www.cnblogs.com/ruochen/archive/2008/01/18/1044205.html

16,548

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • AIGC Browser
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧