|
|
相同的snmpd.conf只有此台机器有这个问题不能够用snmpwalk获取信息,提示错误为主机没有相应,log日志如下:
2006-04-17 11:44:04 snmpd: snmpd shutdown succeeded
2006-04-17 11:44:04 snmpd: snmpd startup succeeded
2006-04-17 11:44:04 kernel: audit(1145245060.470:0): avc: denied { read } for pid=14209 exe=/usr/sbin/snmpd name=snmpd.conf dev=cciss/c0d0p9 ino=1251123 scontext=root:system_r:snmpd_t tcontext=root bject_r:user_home_t tclass=file
2006-04-17 11:44:04 snmpd[14209]: 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.
配置文件内容如下:
com2sec notConfigUser default public
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
view mib2 included .iso.org.dod.internet.mgmt.mib-2 fc
access notConfigGroup "" any noauth exact all none none
view all included .1 80 |
|