Processes graph and GrSecurity

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
PacketCollision
Posts: 1
Joined: Mon Aug 02, 2004 2:38 pm

Processes graph and GrSecurity

Post by PacketCollision »

I run GrSecurity on my box which means that all non-root users can only see processes that they started. This means that the "processes" graph never shows more than about 6 processes running at any time. I tried making the perl script setuid root, but it appears not to help. I was wondering if anyone had come across this issue and if so, what they did to solve it.

Thanks.
Coeus
Cacti User
Posts: 51
Joined: Mon Aug 04, 2003 8:46 pm
Location: Perth - Western Australia

Post by Coeus »

It appears GrSecurity uses kernel level restrictions, which means you aren't likely to be able to fix this directly.

I Suggest setting up a cron script using root something like

Code: Select all

*/5 * * * * (perl /path/to/cacti/scripts/unix_scripts.pl > /tmp/blah; chown cacti:cacti /tmp/blah)
Then create a script for cacti to parse the text file instead.

Carl
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest