[Mod-apache-snmp-users] Can't set MIB value - privileges problem? what should I change?
Monitor Apache using SNMP
Brought to you by:
eplx
From: luiscc1989 <lui...@gm...> - 2012-08-18 21:45:44
|
Hello again, I go on with the install of mod-apache2-snmp. I solved the last problems and now Apache starts correctly with snmpd daemon. It was because there were some bugs in the httpd.conf file, in this moment this is my file httpd.conf: *<IfDefine SNMP>* *#ExtendedStatus On* *LoadModule ap2_snmp_module modules/mod_ap2_snmp.so* * * *<Location /ap2_snmp>* * * *SetHandler ap2_snmp* *Order Deny,Allow* *Deny from all* *Allow from 192.168.1.0/24* * * *</Location>* * * *snmp_community public* *snmp_agent_address 192.168.1.10* *snmp_tmp_dir /tmp/* *snmp_version 1* *snmp_http_address 192.168.1.10 161* * * *</IfDefine>* *I still don't know if the snmp_http_address directive is correct. Can you help me with this issue?* *I advise you to update the web site, because it not show IfDefine directives in the example for httpd.conf, furthermore the comments (#) next to the code are wrong and causes problems with Apache.* *My problem now is with the modification of APACHE2-MIB, when Apache2 starts show this error in log:* *[error] AP2_SNMP: Can't set MIB value.* *[error] APACHE2-MIB::serverStatus.0* *[...]* And the same with all items of MIB I guess that it's a privileges problem, but I don't know why Should I change the owner of a file or process? Thanks, bye. |