reassign 452595 snmpd 5.4.1~dfsg-4 retitle 452595 agentXPerms configuration directive is ignored thanks
Jon Webster wrote: > pbx# snmpget localhost -v2c -c asterisk 1.3.6.1.4.1.22736.1.5.1.0 > ASTERISK-MIB::astNumChannels.0 = No Such Object available on this agent at > this OID I tried to follow the documentation and verified that indeed it does not work. It appears that asterisk is unable to connect to the AgentX socket of snmpd. This appears to be a permission problem, since asterisk drops its privileges. The agentXPerms configuration directive of snmpd.conf (as suggested by Asterisk's documentation and snmpd's man page) is supposed to call chmod/chown to alter the permissions of /var/agentx and /var/agentx/master. This is not however the case, presumably due to a bug of snmpd. To workaround this bug, try to change the permissions of /var/agentx and /var/agentx/master. For example chown -R asterisk.asterisk /var/agentx This is far from ideal, since you'll have to execute this every time snmpd is (re)started. I'm reassigning the bug so that the Net-SNMP maintainers can have a look. Thanks, Faidon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]