google-code-export / mysql-cacti-templates

Automatically exported from code.google.com/p/mysql-cacti-templates
GNU General Public License v2.0
1 stars 0 forks source link

Only root user can access /proc/user_beancounters #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Only the root user can access /proc/user_beancounters in later versions of 
OpenVZ.

The solution I took to fix this was a chmod 4755 script that an unprivileged 
user could use to output the contents of the file.

I used this program "beanc", but any scripting language could be used:
http://www.labradordata.ca/home/35

I'm not sure what the right solution is here for your distribution, but at the 
very least, the docs should have some info in it explaining the problem and 
possibly pointing to the link above for a solution, or offering your own.

Original issue reported on code.google.com by daniel.b...@gmail.com on 10 Mar 2010 at 2:13

GoogleCodeExporter commented 9 years ago
I'll make a parameter that lets the user specify whether to use 'cat' or to 
execute
'beanc'.  Thanks for the report.

Original comment by baron.schwartz on 21 Mar 2010 at 12:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r430.

Original comment by baron.schwartz on 21 Mar 2010 at 12:56

GoogleCodeExporter commented 9 years ago
By the way, if you have an example of the OpenVZ graphs, it would be great to 
have
some to add to the wiki.

Original comment by baron.schwartz on 21 Mar 2010 at 12:57

GoogleCodeExporter commented 9 years ago
Sorry it took me so long to respond.  Thanks for fixing the ticket and we do 
have some 
graphs we could give you guys.  I'll try to attach them to this ticket sometime 
this 
week.

Original comment by daniel.b...@gmail.com on 3 Apr 2010 at 4:17