LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1614|回复: 5

[求助]在SunOS 5.8上的 net-snmp问题

[复制链接]
发表于 2005-7-1 16:50:09 | 显示全部楼层 |阅读模式
我在solaris8上用pkgadd装了net-snmp-5.0.7-sol8-sparc-local,同时也装了openssl,libgcc和zlib,可是在作snmpconf -g basic_setup这一步时总是提示:No such file or directory;然后我自己重新建了一个snmp.conf后出现下列信息:
bash-2.03# /usr/local/sbin/snmpd -f -L
/usr/local/share/snmp/snmp.conf: line 1: Warning: Unknown token: com2sec.
/usr/local/share/snmp/snmp.conf: line 3: Warning: Unknown token: group.
/usr/local/share/snmp/snmp.conf: line 4: Warning: Unknown token: group.
/usr/local/share/snmp/snmp.conf: line 6: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 7: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 8: Warning: Unknown token: view.
/usr/local/share/snmp/snmp.conf: line 10: Warning: Unknown token: access.
/usr/local/share/snmp/snmp.conf: line 12: Warning: Unknown token: syslocation.
/usr/local/share/snmp/snmp.conf: line 13: Warning: Unknown token: syscontact.
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
  Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.
NET-SNMP version 5.0.7

现在snmp就是起不来,我郁闷了 : (
 楼主| 发表于 2005-7-1 16:59:04 | 显示全部楼层
之前我也用源码编译过net-snmp,在./configure后已经按提示创建了snmp,make也没有error,可是在make test时都是fail

不知道该怎么办了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-3 01:50:04 | 显示全部楼层
没有人知道吗?
我刚刚接触solaris,不清楚是什么原因
在别的linux机器上snmp都配好了,就差几台unix的机器
回复 支持 反对

使用道具 举报

发表于 2005-7-5 09:10:01 | 显示全部楼层
很抱歉不能帮你,不过看了你们的贴子让我着急啊,我怎么什么都不知道呢,连snmp是用来做什么的都不清楚也。谢谢指教。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-7-5 09:51:57 | 显示全部楼层
snmp是一种网络协议,利用它可以远程把运行snmp服务的机器上的磁盘空间、cpu、进程等信息抓到本地,然后就可以利用一些程序,例如mrtg或者cacti把它们以可以图表的形式反应出来。

我是想用他做公司server的监控
回复 支持 反对

使用道具 举报

发表于 2005-8-8 13:48:43 | 显示全部楼层
可以试一下novell的eDirectory,里面对SNMP的SUPPORT挺不错的,
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表