Adil Hasan wrote:
Hello,
I quickly took a look at Ganglia and it looks like a nice tool for
monitoring some of our servers. However, I'd like to be able to run as a
non root user. Is it possible to do this? Or, is there another tool that
would be better suited for non-root users?
thanks, adil
The short answer: Yes.
Here's some interesting tidbits from /etc/gmond.conf:
# If you don't want gmond to setuid, set this to "on"
# default: off
# no_setuid on
#
# Which user should gmond run as?
# default: nobody
# setuid nobody
Note that the specific implementation of the monitoring core on your
platform may require root access to read some metrics properly (I'm
thinking specifically of Solaris but I'm not sure).
But I just tested this on Linux and the monitoring core's running fine as
myself...