In an attempt to implement a simple script which monitors resources from within an OpenVZ VPS, I'm running into a permission problem when trying to read /proc/user_beancounters. This confuses me because both /proc and /proc/user_beancounters is readable by the whole world and my script works perfectly fine when executed manually from the command line. However, once it gets executed by the ZABBIX Agent, I get a 'Permission denied' on /proc/user_beancounters.
What am I overlooking here? Does anybody have a clue?
What am I overlooking here? Does anybody have a clue?
Comment