[Slackbuilds-users] ganglia is missing, is it not needed anymore?

Karel Venken k.venken at online.be
Sat Apr 13 13:57:57 UTC 2024


Emmanuel,

I had a few notes, not sure if they are useful, so feel free to 
add/discard them in a readme.

for ganglia:
for hosts ONLY monitoring, build as is and you only need to run 
/etc/rc.d/rc.gmond
for hosts ALSO capturing data, install rrdtool first and build with 
option OPT=gmetad, run /etc/rc.d/gmetad, and,  if needed also 
/etc/rc.d/rc.gmond

to allow the gmetad to capture data, you need to create a spot for the 
rrds data:

mkdir -p /var/lib/ganglia/rrds
chown nobody:nobody /var/lib/ganglia/rrds

and you need to activate one of the RRAS in /etc/gamglia/gmetad.conf

for ganglia-web:
on the host with the gmeta deamon, configure the php module and add 
index.php in the configuration /etc/httpd//httpd.conf and start the 
webserver /etc/rc.d/rc.httpd.

kind regards


Emmanuel wrote:
> Hi, thanks Jeremy and Karel for the comments,
>
> I was able to test the suggested flags and just submitted the package.
>
> Best regards.
>
> On Fri, Apr 12, 2024 at 9:50 AM Karel Venken via SlackBuilds-users 
> <slackbuilds-users at slackbuilds.org 
> <mailto:slackbuilds-users at slackbuilds.org>> wrote:
>
>     Jeremy,
>
>     Yes this helps. I successfully built ganglia and ganglia-web and was
>     able to get it running (over multiple stations). So it seems to
>     work. I
>     did need to make a few changes manually in the filesystem which I
>     don't
>     remember to be needed before. So I want to check if this was needed
>     before. Otherwise I'll add a readme to explain this.
>
>     kind regards
>
>     Jeremy Hansen wrote:
>     > I was able to build it using:
>     >
>     > LDFLAGS=-ltirpc \
>     > CFLAGS=-I/usr/include/trip \
>     > ./configure
>     >
>     > make completed successfully, but I haven't checked the program
>     beyond
>     > that.
>     >
>     > Hopefully it will get you on the right trajectory to get an updated
>     > SlackBuild submitted to SBo.
>     >
>     > Jeremy
>     >
>     > On Thu, Apr 11, 2024, 9:36 AM Karel Venken via SlackBuilds-users
>     > <slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     > <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>> wrote:
>     >
>     >     Emmanuel,
>     >
>     >     (I did not find anything on the ganglia project about ti-rpc
>     - so
>     >     I am
>     >     trying myself)
>     >
>     >     Not there yet, but in SlackBuilds I added to configure the line
>     >     CPPFLAGS=-I/usr/include/tirpc (before OPTS line ) which
>     fixed the
>     >     configure error complaining about the issing rpc. A small step I
>     >     guess -
>     >     not sure if this already helps. However, (as expected) the code
>     >     can not
>     >     be linked. I have to figure out how to add this - aditional
>     change in
>     > configure.ac <http://configure.ac> <http://configure.ac>? - but
>     I am not familiar with
>     >     the autotools.
>     >
>     >     kind regards
>     >
>     >     Emmanuel wrote:
>     >     > Hi,
>     >     >
>     >     > I kept the ganglia package up to 14.2, I'm going to try to
>     >     compile the
>     >     > new version in 15.0 and send the update as soon as I can.
>     >     > Karel, if you manage to make it work, let me know.
>     >     >
>     >     > Best regards.
>     >     >
>     >     > On Wed, Apr 10, 2024 at 1:27 PM Karel Venken via
>     SlackBuilds-users
>     >     > <slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>
>     >     > <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>>> wrote:
>     >     >
>     >     >     Matteo,
>     >     >
>     >     >     You are correct, it is not building on 15.0. I have been
>     >     looking into
>     >     >     this and digging trough some history and newsgroups
>     and what
>     >     I found:
>     >     >
>     >     >     ganglia needs sun-rpc: when configure:
>     >     >
>     >     >     checking rpc/types.h usability... no
>     >     >     checking rpc/types.h presence... no
>     >     >     checking for rpc/types.h... no
>     >     >     checking for rpc/xdr.h... no
>     >     >     configure: error: your system is missing the Sun RPC
>     (ONC/RPC)
>     >     >     libraries
>     >     >
>     >     >     slackware 15.0 adopted a more recent version of glibc
>     >     (starting from
>     >     >     2.35 while sunrpc is failing from version 2.26 on) the
>     >     regression
>     >     >     seems
>     >     >     not to be mentioned in the Changelog. The libnsl
>     package in 15.0
>     >     >     mentions it is linked against TI-RPC and that RPC was in
>     >     glibc before.
>     >     >
>     >     >     So, it is suggested to use ti-rpc, but I am not sure this
>     >     can be done
>     >     >     with ganglia. Perhaps I need to check the latest
>     release...
>     >     >
>     >     >
>     >     >     I was curious if someone else is using ganglia with
>     slackware
>     >     >     15.0. If
>     >     >     so I thought I should have found some information on this
>     >     problem.
>     >     >
>     >     >
>     >     >     Matteo Bernardini wrote:
>     >     >     > if I recall correctly I think they were removed when the
>     >     repository
>     >     >     > was migrating to 15.0 because they weren't building...
>     >     >     >
>     >     >     > sorry, what do you mean by "is it not needed
>     anymore"? if
>     >     someone
>     >     >     > still uses them I don't see any issues for them to be
>     >     submitted
>     >     >     back
>     >     >     > to the repo by whoever wishes to maintain them further.
>     >     >     >
>     >     >     > Matteo
>     >     >     >
>     >     >     > Il giorno mer 10 apr 2024 alle ore 15:29 Karel
>     Venken via
>     >     >     > SlackBuilds-users <slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>
>     >     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>>
>     >     >     > <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>
>     >     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>
>     >     <mailto:slackbuilds-users at slackbuilds.org
>     <mailto:slackbuilds-users at slackbuilds.org>>>>> ha scritto:
>     >     >     >
>     >     >     >     Hi,
>     >     >     >
>     >     >     >     I am migrating some of my systems to 15.0 and I
>     noted that
>     >     >     ganglia,
>     >     >     >     ganglia-web was removed from SBo already some
>     time ago. Is
>     >     >     it not
>     >     >     >     needed
>     >     >     >     anymore?
>     >     >     >
>     >     >     >     kind regards.
>     >     >     >  _______________________________________________
>     >     >     >     SlackBuilds-users mailing list
>     >     >     > SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>
>     >     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>>
>     >     >     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>
>     >     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>>>
>     >     >     >
>     > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     >     >     >     Archives -
>     >     > https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     >     >     >     FAQ - https://slackbuilds.org/faq/
>     >     >     >
>     >     >
>     >     >  _______________________________________________
>     >     >     SlackBuilds-users mailing list
>     >     > SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>
>     >     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>>
>     >     >
>     https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     >     >     Archives -
>     > https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     >     >     FAQ - https://slackbuilds.org/faq/
>     >     >
>     >     >
>     >     >
>     >     > --
>     >     > *****************
>     >     >    Emmanuel
>     >
>     >     _______________________________________________
>     >     SlackBuilds-users mailing list
>     > SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     >     <mailto:SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>>
>     > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     >     Archives -
>     https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     >     FAQ - https://slackbuilds.org/faq/
>     >
>     >
>     > _______________________________________________
>     > SlackBuilds-users mailing list
>     > SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     > Archives -
>     https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     > FAQ - https://slackbuilds.org/faq/
>     >
>
>     _______________________________________________
>     SlackBuilds-users mailing list
>     SlackBuilds-users at slackbuilds.org
>     <mailto:SlackBuilds-users at slackbuilds.org>
>     https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>     Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
>     FAQ - https://slackbuilds.org/faq/
>
>
>
> -- 
> *****************
>    Emmanuel



More information about the SlackBuilds-users mailing list