[Ganglia-general] Running as non-root on Solaris
Adesanya, Adeyemi
yemi at SLAC.Stanford.EDU
Tue Sep 30 17:43:17 EDT 2003
Hi Steven.
Thanks for the pointer. I managed to disable/strip the built-in solaris metrics and now gmond runs in non-root!!
----
Yemi
> -----Original Message-----
> From: steven wagner [mailto:swagner at ilm.com]
> Sent: Monday, September 29, 2003 11:05 AM
> To: Adesanya, Adeyemi
> Cc: 'ganglia-general at lists.sourceforge.net'
> Subject: Re: [Ganglia-general] Running as non-root on Solaris
>
>
> Sure, there's some metric stub code you can copy from in the
> gmond/machines directory. I think cygwin.c is still mostly returning
> dummy values for metrics ( ... anyone?), you could use that as a
> template for the functions you'll be disabling.
>
> Sorry I can't offer you any more direct assistance, but I
> don't really
> have any cycles to spare for Solaris Ganglia 2.x development.
>
> Happy hacking :)
>
> Adesanya, Adeyemi wrote:
> > Hi Steve.
> >
> > Thanks for responding. Perhaps an alternative may be switches to
> > disable those metrics that require gmond to run as root?
> >
> > ----
> > Yemi
> >
> >
> >
> >>-----Original Message-----
> >>From: steven wagner [mailto:swagner at ilm.com]
> >>Sent: Monday, September 29, 2003 10:32 AM
> >>To: Adesanya, Adeyemi
> >>Cc: ganglia-general at lists.sourceforge.net
> >>Subject: Re: [Ganglia-general] Running as non-root on Solaris
> >>
> >>
> >>Adeyemi Adesanya wrote:
> >>
> >>>Hi There.
> >>>
> >>>I spent some time digging through the archives but I am
> >>
> >>unable to find
> >>
> >>>a way of running gmond as a non-root user on Solaris. Is
> >>
> >>this out of
> >>
> >>>the question or is there some way to patch the code? All of our
> >>>critical servers run Solaris, that¹s where the real action
> >>
> >>is and that
> >>
> >>>what I'd like to monitor.
> >>
> >>Unfortunately, not all of the information that the Solaris
> monitoring
> >>core collects can be gathered through a warm and fuzzy API
> >>(as far as I
> >>could tell, anyway). Many metrics had to be gathered by
> >>peeking at the
> >>kernel memory and symbol table, both of which require
> >>superuser permissions.
> >>
> >>It's entirely possible that the kstat API has been extended
> >>(or that I
> >>just plain didn't RTFM thoroughly enough) and that all of
> these calls
> >>can be handled that way. In which case, the first person to
> >>point this
> >>out volunteers to rewrite all my spaghetti solaris.c code. :)
> >>
> >>Good luck!
> >>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Ganglia-general mailing list
Ganglia-general at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general
More information about the Beowulf
mailing list