- 论坛徽章:
- 1
|
Well after my last post, I was compelled to find out the solution to this :
(By the way this seems to be a problem on Solaris 8, Solaris 9 doesn't seem to mind) :
To stop the inane, endless error and the filling of /var to 100% :
Nov 9 11:41:03 solaview /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] session_open() failed for a pdu received from localhost.51673
Nov 9 11:41:03 solaview /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] community_check();bad community from localhost
configure /etc/snmp/conf/snmpd.conf with the required community string :
system-group-read-community COMstring
trap-community COMstring
managers localhost snmpman
------------------
Then configure /etc/snmp/conf/snmpdx.acl with :
acl = {
{
communities = public
access = read-only
managers = *
}
}
Note : if you configure communities = COMstring
or anything else, the inane error message starts scrolling up again...
Of course you can be more specific with the managers setting...
when you have finished reconfiguring :
/etc/rc3.d/S76snmpdx stop
/etc/rc3.d/S76snmpdx start
Tail -f /var/adm/messages and it should have stopped.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/894/showart_84686.html |
|