On Wed, Jan 23, 2008 at 11:12:00PM +0100, Axel Beckert wrote:
Is there a possibility to _not_ show the whole ps output in the procs details CGI? BB only showed the monitored processes. With hobbit this page shows the whole ps output.
It can be done for all servers, by adding the "--no-ps-listing" option to the hobbitd_client command in hobbitlaunch.cfg . That should do it for data from Hobbit clients.
IMHO this is a privacy issue -- even with a passowrd protection for the CGI scripts -- since the output may get saved permanently in the history.
That's interesting, I hadn't thought about that.
If your client reports data from the "top" utility, then a partial ps-listing also appears in the "cpu" status column. This cannot be turned off, currently. It sounds as if it might be a good idea to let the --no-ps-listing option block this ps listing as well, although the "top" display (at least on Linux - not sure about other platforms) only shows the basic command, not commandline options.
Regards, Henrik