Re: [Ganglia-general] multiple clusters with just one collector
On 1/28/14 11:18 AM, Sergio Ballestrero wrote: > On 28 Jan 2014, at 20:10, Adam Compton wrote: > >> The gmond "globals" configuration option "host_tmax" controls how long a >> host can go without a heartbeat before being seen as "down"; it's set to 20 >> by default, but the value in the config file gets multiplied by 4, so the >> default timeout is actually 80 seconds. >> >> http://manpages.ubuntu.com/manpages/raring/man5/gmond.conf.5.html#contenttoc2 >> >> - Adam > Sure, this is the setting of the "collector" gmon, but what I don't get is > the meaning of the gmetric option. Are you implying that it is just ignored, > and only the gmond setting counts? There are separate tmax and dmax settings for each host, and for each metric for a host. If a given metric doesn't receive an update within its last specified tmax (from gmetric --tmax=NN), then the metric will be considered down; if a host receives no metric updates or heartbeats at all within its pre-configured host_tmax (from gmond.conf), _it_ will be considered down. I believe (but do not recall offhand) that all metrics for a down host are considered down, so e.g. if the host tmax is 80 seconds and a given metric has a tmax of 600 seconds, once 80 seconds elapse with no heartbeat or updates both the host and the metric are considered down even though the metric's tmax has not been reached. - Adam -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
On 28 Jan 2014, at 20:10, Adam Compton wrote: > The gmond "globals" configuration option "host_tmax" controls how long a host > can go without a heartbeat before being seen as "down"; it's set to 20 by > default, but the value in the config file gets multiplied by 4, so the > default timeout is actually 80 seconds. > > http://manpages.ubuntu.com/manpages/raring/man5/gmond.conf.5.html#contenttoc2 > > - Adam Sure, this is the setting of the "collector" gmon, but what I don't get is the meaning of the gmetric option. Are you implying that it is just ignored, and only the gmond setting counts? Cheers, Sergio -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
On 1/28/14 6:21 AM, Sergio Ballestrero wrote: > Hello Adrian, > > On 25 Jan 2014, at 21:34, Adrian Sevcenco wrote: >> On 01/25/2014 09:37 PM, Sergio Ballestrero wrote: >>> Hello Adrian, if the host for which you send gmetrics is not a gmond >>> "client", you need to also spoof a "heartbeat" metric, else the >>> collector will think the host is down : >> yeah, i already banged my head on the wall for this... >> the things is that i dont know how fust this heartbeat is .. i imagine >> that either i should send gmetrics faster than this heartbeat or >> increase the time between heartbeats (at this moment it is not clear to >> me how this is related to dmax and tmax ... ) >> is dmax the time-width of the metric value and tmax the heartbeat? >> so the cronjob should have an size <= then tmax? > This is still quite confusing to me too and I have not investigated much. I > thought an interval less than dmax would keep the host alive, but with > dmax=600 and a period of 300s, I sometimes found the hosts "down" for > Ganglia. With 60s period, all seems ok, so where important I'm using 60s for > now. Never found time to dig in the actual code, so if you figure it out > better, I'd like to know it too. The gmond "globals" configuration option "host_tmax" controls how long a host can go without a heartbeat before being seen as "down"; it's set to 20 by default, but the value in the config file gets multiplied by 4, so the default timeout is actually 80 seconds. http://manpages.ubuntu.com/manpages/raring/man5/gmond.conf.5.html#contenttoc2 - Adam -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hello Adrian, On 25 Jan 2014, at 21:34, Adrian Sevcenco wrote: > On 01/25/2014 09:37 PM, Sergio Ballestrero wrote: >> Hello Adrian, if the host for which you send gmetrics is not a gmond >> "client", you need to also spoof a "heartbeat" metric, else the >> collector will think the host is down : > yeah, i already banged my head on the wall for this... > the things is that i dont know how fust this heartbeat is .. i imagine > that either i should send gmetrics faster than this heartbeat or > increase the time between heartbeats (at this moment it is not clear to > me how this is related to dmax and tmax ... ) > is dmax the time-width of the metric value and tmax the heartbeat? > so the cronjob should have an size <= then tmax? This is still quite confusing to me too and I have not investigated much. I thought an interval less than dmax would keep the host alive, but with dmax=600 and a period of 300s, I sometimes found the hosts "down" for Ganglia. With 60s period, all seems ok, so where important I'm using 60s for now. Never found time to dig in the actual code, so if you figure it out better, I'd like to know it too. >> PS if it's an APC, see the attachment, courtesy of a work colleague. > yes, it is APC. Thanks for the script! ( a lot more organized than mine:) ) > > but i would have a few questions: > 1. given tmax of 600 , do you have the cron job at 600 seconds? 300s > 2. the T is used to see if the ups is down i imagine.. but why are you > interested in collecting the ping time? > (i chosen to ignore failed devices with -r 1 -t 0.5; also given the > delay of snmpget i take all the list of vars with a single snmpget, > redirect in a file and format the variables from the file) just because I have the info - and it can indicate network congestion sometimes. Cheers, Sergio -- WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
On 01/27/2014 11:11 AM, Cristovao Jose Domingues Cordeiro wrote: > Hi Adrian, Hi! > I saw that the other guys are already helping you so there's nothing > that I can add which would help you I think. Nevertheless I must say you already help me a lot! thank you!! > that I don't have an aggregation gmond, that was the point of my > question, not having one. I receive all the metric directly in the > gmetad node. unfortunately ganglia cant have aggregating gmonds (like having gmond which gather data from various cluster gmonds and gmetad to be able to disentangle the source clusters and write the data where should belong). I tried once to propose to have the cluster attribute not as tag in xml but as actual metric/parameter that would identify cluster group but i didn't received positive feedback (alongside with having an uuid (automatically gathered or manual) to identify the host). My plan is when i have time (like spare time .. if i remember what is that :D ) to add those modifications myself and see how it goes. Anyway, thanks a lot for help :) Adrian > > Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro > > > From: Adrian Sevcenco > [adrian.sevce...@cern.ch] Sent: 25 January 2014 13:19 To: > ganglia-general@lists.sourceforge.net Subject: Re: [Ganglia-general] > multiple clusters with just one collector > > On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: >> Thank you for your replies Bernard and Shekar. >> >> Actually in the meanwhile I managed to make it work. For those who >> might want to do the same here's what I did: >> >> · Stop gmond and gmetad, and clean the RRD database in the >> collector (I was getting unspecified clusters and cached >> information so this was a clean start) >> >> · I have 5 clusters so I've created 5 gmond.conf files - >> gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files >> I've set up the cluster name, both udp and tcp ports to the same >> number, and the hostname in the udp_send_channel to 'localhost' > Hi! Is it possible to post your gmond settings? How did you solve the > problem that the reporting node (where aggregation gmond sits) will > also report the self metrics? > > My problem is a little different : i try to make a fake gmond for > gmetric input for UPS/RAID/Switches metrics. > > Thanks a lot! Adrian > smime.p7s Description: S/MIME Cryptographic Signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hi Adrian, I saw that the other guys are already helping you so there's nothing that I can add which would help you I think. Nevertheless I must say that I don't have an aggregation gmond, that was the point of my question, not having one. I receive all the metric directly in the gmetad node. Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro From: Adrian Sevcenco [adrian.sevce...@cern.ch] Sent: 25 January 2014 13:19 To: ganglia-general@lists.sourceforge.net Subject: Re: [Ganglia-general] multiple clusters with just one collector On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: > Thank you for your replies Bernard and Shekar. > > Actually in the meanwhile I managed to make it work. For those who > might want to do the same here's what I did: > > · Stop gmond and gmetad, and clean the RRD database in the collector > (I was getting unspecified clusters and cached information so this > was a clean start) > > · I have 5 clusters so I've created 5 gmond.conf files - > gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've > set up the cluster name, both udp and tcp ports to the same number, > and the hostname in the udp_send_channel to 'localhost' Hi! Is it possible to post your gmond settings? How did you solve the problem that the reporting node (where aggregation gmond sits) will also report the self metrics? My problem is a little different : i try to make a fake gmond for gmetric input for UPS/RAID/Switches metrics. Thanks a lot! Adrian -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hi, sorry for the late reply. Oh ok those were the problematic ports. Good to know thanks! Unfortunately and at least for now this monitoring page will only be accessible inside the private network. The only ports open for the outside world are the gmond ones. Sorry. If this changes I'll let you know. Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro From: Bernard Li [bern...@vanhpc.org] Sent: 24 January 2014 19:49 To: Cristovao Jose Domingues Cordeiro Cc: ganglia-general@lists.sourceforge.net Subject: Re: [Ganglia-general] multiple clusters with just one collector Yes, 8651 and 8652 are reserved ports for gmetad, you can start from port 9000 to avoid this issue :-) Glad that you got it working... are you guys planning to make your monitoring page public? It would be cool if we can reference it somewhere :-) Cheers, Bernard On Fri, Jan 24, 2014 at 12:47 AM, Cristovao Jose Domingues Cordeiro wrote: > Thank you for your replies Bernard and Shekar. > > Actually in the meanwhile I managed to make it work. For those who might want > to do the same here's what I did: > > · Stop gmond and gmetad, and clean the RRD database in the collector (I was > getting unspecified clusters and cached information so this was a clean start) > > · I have 5 clusters so I've created 5 gmond.conf files - > gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've set up > the cluster name, both udp and tcp ports to the same number, and the hostname > in the udp_send_channel to 'localhost' > > · In gmetad.conf I set up a grid name (not necessary but better to have a > cleaner UI) > > · Still in gmetad.conf I have created 5 data_sources, one for each cluster: > data_source "Cluster A" localhost:portA > data_source "Cluster B" localhost:portB > ... >Note that these ports and cluster names match those in the gmond files > I've created earlier. > >I had some problems with the ports, some clusters were not appearing if > they were using port 8651 for instance, but I just changed the port and they > worked...I am not sure why, I don't think this port numbers are > restricted...but well, if someone knows why, tell me please > > · Then I just daemonized the 5 gmonds like this: ># deamon gmond -c /etc/ganglia/gmond-clusterA.conf ># . > > · Finally, I just started gmetad and now it's running fine. To add more > clusters I just need to, in this order, daemonized the new gmond for that > cluster and restart gmetad. > > > Hope this helps someone in the future ;) > > Cumprimentos / Best regards, > Cristóvão José Domingues Cordeiro > > ____________ > From: Bernard Li [bern...@vanhpc.org] > Sent: 24 January 2014 04:49 > To: Cristovao Jose Domingues Cordeiro > Cc: ganglia-general@lists.sourceforge.net > Subject: Re: [Ganglia-general] multiple clusters with just one collector > > Hello: > > To accomplish what you want to do, I believe you have two options: > > 1) Run multiple gmonds, on the master collector, each one listening on > different ports > 2) Have one gmond but have multiple udp_recv_channels listening on > different ports > > It might help if you also post your configuration somewhere and > reference it here (eg. pastebin or some such). > > Please let us know if you have any other questions. > > Cheers, > > Bernard > > On Thu, Jan 23, 2014 at 5:08 AM, Cristovao Jose Domingues Cordeiro > wrote: >> Hi, >> >> I found some similar posts in this mailing list but unfortunately none can >> solve my situation. >> >> Basically, I want to have just one collector to multiple clusters. >> As far as I understood I need to have multiple gmonds in my headnode, and so >> I do. >> >> I have in my collector: >> gmetad.conf: >> data_source "clusterA" localhost >> data_source "clusterB" localhost:8650 >> >> gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, >> hosts and cluster names defined, pointing to localhost. >> >> I also issued the daemon: >> gmond -c gmond-clusterA.conf >> gmond -c gmond-clusterB.conf >> >> But this doesn't work. I end up with my web interface just showing an >> 'unspecified' cluster and 'clusterA'... not clusterB. >> >> Any thoughts? thanks >> >> Cumprimentos / Best regards, >> Cristóvão José Domingues Cordeiro >> >> >> -- >>
Re: [Ganglia-general] multiple clusters with just one collector
On 01/25/2014 09:37 PM, Sergio Ballestrero wrote: > Hello Adrian, if the host for which you send gmetrics is not a gmond > "client", you need to also spoof a "heartbeat" metric, else the > collector will think the host is down : yeah, i already banged my head on the wall for this... the things is that i dont know how fust this heartbeat is .. i imagine that either i should send gmetrics faster than this heartbeat or increase the time between heartbeats (at this moment it is not clear to me how this is related to dmax and tmax ... ) is dmax the time-width of the metric value and tmax the heartbeat? so the cronjob should have an size <= then tmax? > HOST=ups.example.com IP=$(getent hosts $HOST | cut -d" " -f1) > GMON=/etc/ganglia/gmond.UPS.conf T=$(ping -qn -c 1 -w 6 $IP | grep > rtt | cut -d/ -f 5 | sed s/\\.//) if [ "$T" ] ; then gmetric -c $GMON > -n ping_time -t uint32 -u us -x 600 -d 7200 -g network -T "ping avg > time" -H -S ${IP}:${HOST} -v ${T} (your custom gmetrics follow > here) > > and of course in the gmond.UPS.conf you put your separate "collector" > gmond host and port. > > For the collector host, I run separate "client" gmond and multiple > "collector" gmond. The latter have separate config files with no > "udp_send_channel", in this way they don't send to themselves their !! THANK YOU!! i didn't think about this! > own host metrics. I think I posted on the list my "gmondsrv" init.d > script last year or so... mail me if you don't find it. yes, i have it (you actually responded to one of my post ), thanks a lot! my problem was this thing with self metrics (i cannot imagine how such a small thing did not cross my mind!!!) > Cheers, Sergio > > PS if it's an APC, see the attachment, courtesy of a work colleague. yes, it is APC. Thanks for the script! ( a lot more organized than mine:) ) but i would have a few questions: 1. given tmax of 600 , do you have the cron job at 600 seconds? 2. the T is used to see if the ups is down i imagine.. but why are you interested in collecting the ping time? (i chosen to ignore failed devices with -r 1 -t 0.5; also given the delay of snmpget i take all the list of vars with a single snmpget, redirect in a file and format the variables from the file) Thanks a lot for help!! Adrian > > On 25 Jan 2014, at 19:22, Adrian Sevcenco > wrote: > >> On 01/25/2014 08:02 PM, Bernard Li wrote: >>> Hi Adrian: >> Hi! >> >>> You might want to look into "spoofing"... it might help with >>> what you're doing. >> it helps in the sense that i choose the name of package data (e.g >> data comes from ups1). The problem is the destination : i want to >> have a distinct cluster (a cluster for upses, one for raid devices, >> one for switches) so i have to send data to a gmond that reports >> nothing else. (no other metrics at all, just what i send with >> gmetric) >> >> if i delete all metrics i just get that "no metrics defined" >> >> Thanks! Adrian >> >>> >>> Cheers, >>> >>> Bernard >>> >>> On Sat, Jan 25, 2014 at 4:19 AM, Adrian Sevcenco >>> wrote: On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: > Thank you for your replies Bernard and Shekar. > > Actually in the meanwhile I managed to make it work. For > those who might want to do the same here's what I did: > > · Stop gmond and gmetad, and clean the RRD database in the > collector (I was getting unspecified clusters and cached > information so this was a clean start) > > · I have 5 clusters so I've created 5 gmond.conf files - > gmond-cluster1.conf, gmond-cluster2.conf...etc. In these > files I've set up the cluster name, both udp and tcp ports to > the same number, and the hostname in the udp_send_channel to > 'localhost' Hi! Is it possible to post your gmond settings? How did you solve the problem that the reporting node (where aggregation gmond sits) will also report the self metrics? My problem is a little different : i try to make a fake gmond for gmetric input for UPS/RAID/Switches metrics. Thanks a lot! Adrian > smime.p7s Description: S/MIME Cryptographic Signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hello Adrian, if the host for which you send gmetrics is not a gmond "client", you need to also spoof a "heartbeat" metric, else the collector will think the host is down : HOST=ups.example.com IP=$(getent hosts $HOST | cut -d" " -f1) GMON=/etc/ganglia/gmond.UPS.conf T=$(ping -qn -c 1 -w 6 $IP | grep rtt | cut -d/ -f 5 | sed s/\\.//) if [ "$T" ] ; then gmetric -c $GMON -n ping_time -t uint32 -u us -x 600 -d 7200 -g network -T "ping avg time" -H -S ${IP}:${HOST} -v ${T} (your custom gmetrics follow here) and of course in the gmond.UPS.conf you put your separate "collector" gmond host and port. For the collector host, I run separate "client" gmond and multiple "collector" gmond. The latter have separate config files with no "udp_send_channel", in this way they don't send to themselves their own host metrics. I think I posted on the list my "gmondsrv" init.d script last year or so... mail me if you don't find it. Cheers, Sergio PS if it's an APC, see the attachment, courtesy of a work colleague. On 25 Jan 2014, at 19:22, Adrian Sevcenco wrote: > On 01/25/2014 08:02 PM, Bernard Li wrote: >> Hi Adrian: > Hi! > >> You might want to look into "spoofing"... it might help with what you're >> doing. > it helps in the sense that i choose the name of package data (e.g data > comes from ups1). > The problem is the destination : i want to have a distinct cluster (a > cluster for upses, one for raid devices, one for switches) so i have to > send data to a gmond that reports nothing else. (no other metrics at > all, just what i send with gmetric) > > if i delete all metrics i just get that "no metrics defined" > > Thanks! > Adrian > >> >> Cheers, >> >> Bernard >> >> On Sat, Jan 25, 2014 at 4:19 AM, Adrian Sevcenco >> wrote: >>> On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: Thank you for your replies Bernard and Shekar. Actually in the meanwhile I managed to make it work. For those who might want to do the same here's what I did: · Stop gmond and gmetad, and clean the RRD database in the collector (I was getting unspecified clusters and cached information so this was a clean start) · I have 5 clusters so I've created 5 gmond.conf files - gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've set up the cluster name, both udp and tcp ports to the same number, and the hostname in the udp_send_channel to 'localhost' >>> Hi! Is it possible to post your gmond settings? >>> How did you solve the problem that the reporting node (where aggregation >>> gmond sits) will also report the self metrics? >>> >>> My problem is a little different : i try to make a fake gmond for >>> gmetric input for UPS/RAID/Switches metrics. >>> >>> Thanks a lot! >>> Adrian snmp_ups_APC.sh Description: Binary data -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
On 01/25/2014 08:02 PM, Bernard Li wrote: > Hi Adrian: Hi! > You might want to look into "spoofing"... it might help with what you're > doing. it helps in the sense that i choose the name of package data (e.g data comes from ups1). The problem is the destination : i want to have a distinct cluster (a cluster for upses, one for raid devices, one for switches) so i have to send data to a gmond that reports nothing else. (no other metrics at all, just what i send with gmetric) if i delete all metrics i just get that "no metrics defined" Thanks! Adrian > > Cheers, > > Bernard > > On Sat, Jan 25, 2014 at 4:19 AM, Adrian Sevcenco > wrote: >> On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: >>> Thank you for your replies Bernard and Shekar. >>> >>> Actually in the meanwhile I managed to make it work. For those who >>> might want to do the same here's what I did: >>> >>> · Stop gmond and gmetad, and clean the RRD database in the collector >>> (I was getting unspecified clusters and cached information so this >>> was a clean start) >>> >>> · I have 5 clusters so I've created 5 gmond.conf files - >>> gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've >>> set up the cluster name, both udp and tcp ports to the same number, >>> and the hostname in the udp_send_channel to 'localhost' >> Hi! Is it possible to post your gmond settings? >> How did you solve the problem that the reporting node (where aggregation >> gmond sits) will also report the self metrics? >> >> My problem is a little different : i try to make a fake gmond for >> gmetric input for UPS/RAID/Switches metrics. >> >> Thanks a lot! >> Adrian >> >> >> -- >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> ___ >> Ganglia-general mailing list >> Ganglia-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> smime.p7s Description: S/MIME Cryptographic Signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hi Adrian: You might want to look into "spoofing"... it might help with what you're doing. Cheers, Bernard On Sat, Jan 25, 2014 at 4:19 AM, Adrian Sevcenco wrote: > On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: >> Thank you for your replies Bernard and Shekar. >> >> Actually in the meanwhile I managed to make it work. For those who >> might want to do the same here's what I did: >> >> · Stop gmond and gmetad, and clean the RRD database in the collector >> (I was getting unspecified clusters and cached information so this >> was a clean start) >> >> · I have 5 clusters so I've created 5 gmond.conf files - >> gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've >> set up the cluster name, both udp and tcp ports to the same number, >> and the hostname in the udp_send_channel to 'localhost' > Hi! Is it possible to post your gmond settings? > How did you solve the problem that the reporting node (where aggregation > gmond sits) will also report the self metrics? > > My problem is a little different : i try to make a fake gmond for > gmetric input for UPS/RAID/Switches metrics. > > Thanks a lot! > Adrian > > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
On 01/24/2014 10:47 AM, Cristovao Jose Domingues Cordeiro wrote: > Thank you for your replies Bernard and Shekar. > > Actually in the meanwhile I managed to make it work. For those who > might want to do the same here's what I did: > > · Stop gmond and gmetad, and clean the RRD database in the collector > (I was getting unspecified clusters and cached information so this > was a clean start) > > · I have 5 clusters so I've created 5 gmond.conf files - > gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've > set up the cluster name, both udp and tcp ports to the same number, > and the hostname in the udp_send_channel to 'localhost' Hi! Is it possible to post your gmond settings? How did you solve the problem that the reporting node (where aggregation gmond sits) will also report the self metrics? My problem is a little different : i try to make a fake gmond for gmetric input for UPS/RAID/Switches metrics. Thanks a lot! Adrian smime.p7s Description: S/MIME Cryptographic Signature -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Yes, 8651 and 8652 are reserved ports for gmetad, you can start from port 9000 to avoid this issue :-) Glad that you got it working... are you guys planning to make your monitoring page public? It would be cool if we can reference it somewhere :-) Cheers, Bernard On Fri, Jan 24, 2014 at 12:47 AM, Cristovao Jose Domingues Cordeiro wrote: > Thank you for your replies Bernard and Shekar. > > Actually in the meanwhile I managed to make it work. For those who might want > to do the same here's what I did: > > · Stop gmond and gmetad, and clean the RRD database in the collector (I was > getting unspecified clusters and cached information so this was a clean start) > > · I have 5 clusters so I've created 5 gmond.conf files - > gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've set up > the cluster name, both udp and tcp ports to the same number, and the hostname > in the udp_send_channel to 'localhost' > > · In gmetad.conf I set up a grid name (not necessary but better to have a > cleaner UI) > > · Still in gmetad.conf I have created 5 data_sources, one for each cluster: > data_source "Cluster A" localhost:portA > data_source "Cluster B" localhost:portB > ... >Note that these ports and cluster names match those in the gmond files > I've created earlier. > >I had some problems with the ports, some clusters were not appearing if > they were using port 8651 for instance, but I just changed the port and they > worked...I am not sure why, I don't think this port numbers are > restricted...but well, if someone knows why, tell me please > > · Then I just daemonized the 5 gmonds like this: ># deamon gmond -c /etc/ganglia/gmond-clusterA.conf ># . > > · Finally, I just started gmetad and now it's running fine. To add more > clusters I just need to, in this order, daemonized the new gmond for that > cluster and restart gmetad. > > > Hope this helps someone in the future ;) > > Cumprimentos / Best regards, > Cristóvão José Domingues Cordeiro > > ____________ > From: Bernard Li [bern...@vanhpc.org] > Sent: 24 January 2014 04:49 > To: Cristovao Jose Domingues Cordeiro > Cc: ganglia-general@lists.sourceforge.net > Subject: Re: [Ganglia-general] multiple clusters with just one collector > > Hello: > > To accomplish what you want to do, I believe you have two options: > > 1) Run multiple gmonds, on the master collector, each one listening on > different ports > 2) Have one gmond but have multiple udp_recv_channels listening on > different ports > > It might help if you also post your configuration somewhere and > reference it here (eg. pastebin or some such). > > Please let us know if you have any other questions. > > Cheers, > > Bernard > > On Thu, Jan 23, 2014 at 5:08 AM, Cristovao Jose Domingues Cordeiro > wrote: >> Hi, >> >> I found some similar posts in this mailing list but unfortunately none can >> solve my situation. >> >> Basically, I want to have just one collector to multiple clusters. >> As far as I understood I need to have multiple gmonds in my headnode, and so >> I do. >> >> I have in my collector: >> gmetad.conf: >> data_source "clusterA" localhost >> data_source "clusterB" localhost:8650 >> >> gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, >> hosts and cluster names defined, pointing to localhost. >> >> I also issued the daemon: >> gmond -c gmond-clusterA.conf >> gmond -c gmond-clusterB.conf >> >> But this doesn't work. I end up with my web interface just showing an >> 'unspecified' cluster and 'clusterA'... not clusterB. >> >> Any thoughts? thanks >> >> Cumprimentos / Best regards, >> Cristóvão José Domingues Cordeiro >> >> >> -- >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> ___ >> Ganglia-general mailing list >> Ganglia-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/ganglia-general >> -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Thank you for your replies Bernard and Shekar. Actually in the meanwhile I managed to make it work. For those who might want to do the same here's what I did: · Stop gmond and gmetad, and clean the RRD database in the collector (I was getting unspecified clusters and cached information so this was a clean start) · I have 5 clusters so I've created 5 gmond.conf files - gmond-cluster1.conf, gmond-cluster2.conf...etc. In these files I've set up the cluster name, both udp and tcp ports to the same number, and the hostname in the udp_send_channel to 'localhost' · In gmetad.conf I set up a grid name (not necessary but better to have a cleaner UI) · Still in gmetad.conf I have created 5 data_sources, one for each cluster: data_source "Cluster A" localhost:portA data_source "Cluster B" localhost:portB ... Note that these ports and cluster names match those in the gmond files I've created earlier. I had some problems with the ports, some clusters were not appearing if they were using port 8651 for instance, but I just changed the port and they worked...I am not sure why, I don't think this port numbers are restricted...but well, if someone knows why, tell me please · Then I just daemonized the 5 gmonds like this: # deamon gmond -c /etc/ganglia/gmond-clusterA.conf # . · Finally, I just started gmetad and now it's running fine. To add more clusters I just need to, in this order, daemonized the new gmond for that cluster and restart gmetad. Hope this helps someone in the future ;) Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro From: Bernard Li [bern...@vanhpc.org] Sent: 24 January 2014 04:49 To: Cristovao Jose Domingues Cordeiro Cc: ganglia-general@lists.sourceforge.net Subject: Re: [Ganglia-general] multiple clusters with just one collector Hello: To accomplish what you want to do, I believe you have two options: 1) Run multiple gmonds, on the master collector, each one listening on different ports 2) Have one gmond but have multiple udp_recv_channels listening on different ports It might help if you also post your configuration somewhere and reference it here (eg. pastebin or some such). Please let us know if you have any other questions. Cheers, Bernard On Thu, Jan 23, 2014 at 5:08 AM, Cristovao Jose Domingues Cordeiro wrote: > Hi, > > I found some similar posts in this mailing list but unfortunately none can > solve my situation. > > Basically, I want to have just one collector to multiple clusters. > As far as I understood I need to have multiple gmonds in my headnode, and so > I do. > > I have in my collector: > gmetad.conf: > data_source "clusterA" localhost > data_source "clusterB" localhost:8650 > > gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, > hosts and cluster names defined, pointing to localhost. > > I also issued the daemon: > gmond -c gmond-clusterA.conf > gmond -c gmond-clusterB.conf > > But this doesn't work. I end up with my web interface just showing an > 'unspecified' cluster and 'clusterA'... not clusterB. > > Any thoughts? thanks > > Cumprimentos / Best regards, > Cristóvão José Domingues Cordeiro > > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hello: To accomplish what you want to do, I believe you have two options: 1) Run multiple gmonds, on the master collector, each one listening on different ports 2) Have one gmond but have multiple udp_recv_channels listening on different ports It might help if you also post your configuration somewhere and reference it here (eg. pastebin or some such). Please let us know if you have any other questions. Cheers, Bernard On Thu, Jan 23, 2014 at 5:08 AM, Cristovao Jose Domingues Cordeiro wrote: > Hi, > > I found some similar posts in this mailing list but unfortunately none can > solve my situation. > > Basically, I want to have just one collector to multiple clusters. > As far as I understood I need to have multiple gmonds in my headnode, and so > I do. > > I have in my collector: > gmetad.conf: > data_source "clusterA" localhost > data_source "clusterB" localhost:8650 > > gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, > hosts and cluster names defined, pointing to localhost. > > I also issued the daemon: > gmond -c gmond-clusterA.conf > gmond -c gmond-clusterB.conf > > But this doesn't work. I end up with my web interface just showing an > 'unspecified' cluster and 'clusterA'... not clusterB. > > Any thoughts? thanks > > Cumprimentos / Best regards, > Cristóvão José Domingues Cordeiro > > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
BTW what kind of transport you are using..Seems like you are using multicast? Regards, Som Shekhar Sharma +91-8197243810 On Thu, Jan 23, 2014 at 7:34 PM, Gowtham wrote: > > A working example of following the instructions in the link below is here: > > http://hpcmonitor.it.mtu.edu/ > > Best regards, > g > > -- > Gowtham, PhD > HPC Research Scientist, ITS > Adj. Asst. Professor, Physics/ECE > Michigan Technological University > > (906) 487/3593 > http://it.mtu.edu > > > On Thu, 23 Jan 2014, Gowtham wrote: > > | > | Instructions here might be of use to you: > | > | > http://central6.rocksclusters.org/roll-documentation/ganglia/6.1/x111.html > | > | Best regards, > | g > | > | -- > | Gowtham, PhD > | HPC Research Scientist, ITS > | Adj. Asst. Professor, Physics/ECE > | Michigan Technological University > | > | (906) 487/3593 > | http://it.mtu.edu > | > | > | On Thu, 23 Jan 2014, Cristovao Jose Domingues Cordeiro wrote: > | > | | Hi, > | | > | | I found some similar posts in this mailing list but unfortunately none > can > | | solve my situation. > | | > | | Basically, I want to have just one collector to multiple clusters. > | | As far as I understood I need to have multiple gmonds in my headnode, > and so > | | I do. > | | > | | I have in my collector: > | | gmetad.conf: > | | data_source "clusterA" localhost > | | data_source "clusterB" localhost:8650 > | | > | | gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, > | | hosts and cluster names defined, pointing to localhost. > | | > | | I also issued the daemon: > | | gmond -c gmond-clusterA.conf > | | gmond -c gmond-clusterB.conf > | | > | | But this doesn't work. I end up with my web interface just showing an > | | 'unspecified' cluster and 'clusterA'... not clusterB. > | | > | | Any thoughts? thanks > | | > | | Cumprimentos / Best regards, > | | Cristóvão José Domingues Cordeiro > | | > | | > | | > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
A working example of following the instructions in the link below is here: http://hpcmonitor.it.mtu.edu/ Best regards, g -- Gowtham, PhD HPC Research Scientist, ITS Adj. Asst. Professor, Physics/ECE Michigan Technological University (906) 487/3593 http://it.mtu.edu On Thu, 23 Jan 2014, Gowtham wrote: | | Instructions here might be of use to you: | | http://central6.rocksclusters.org/roll-documentation/ganglia/6.1/x111.html | | Best regards, | g | | -- | Gowtham, PhD | HPC Research Scientist, ITS | Adj. Asst. Professor, Physics/ECE | Michigan Technological University | | (906) 487/3593 | http://it.mtu.edu | | | On Thu, 23 Jan 2014, Cristovao Jose Domingues Cordeiro wrote: | | | Hi, | | | | I found some similar posts in this mailing list but unfortunately none can | | solve my situation. | | | | Basically, I want to have just one collector to multiple clusters. | | As far as I understood I need to have multiple gmonds in my headnode, and so | | I do. | | | | I have in my collector: | | gmetad.conf: | | data_source "clusterA" localhost | | data_source "clusterB" localhost:8650 | | | | gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, | | hosts and cluster names defined, pointing to localhost. | | | | I also issued the daemon: | | gmond -c gmond-clusterA.conf | | gmond -c gmond-clusterB.conf | | | | But this doesn't work. I end up with my web interface just showing an | | 'unspecified' cluster and 'clusterA'... not clusterB. | | | | Any thoughts? thanks | | | | Cumprimentos / Best regards, | | Cristóvão José Domingues Cordeiro | | | | | | -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Instructions here might be of use to you: http://central6.rocksclusters.org/roll-documentation/ganglia/6.1/x111.html Best regards, g -- Gowtham, PhD HPC Research Scientist, ITS Adj. Asst. Professor, Physics/ECE Michigan Technological University (906) 487/3593 http://it.mtu.edu On Thu, 23 Jan 2014, Cristovao Jose Domingues Cordeiro wrote: | Hi, | | I found some similar posts in this mailing list but unfortunately none can | solve my situation. | | Basically, I want to have just one collector to multiple clusters. | As far as I understood I need to have multiple gmonds in my headnode, and so | I do. | | I have in my collector: | gmetad.conf: | data_source "clusterA" localhost | data_source "clusterB" localhost:8650 | | gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, | hosts and cluster names defined, pointing to localhost. | | I also issued the daemon: | gmond -c gmond-clusterA.conf | gmond -c gmond-clusterB.conf | | But this doesn't work. I end up with my web interface just showing an | 'unspecified' cluster and 'clusterA'... not clusterB. | | Any thoughts? thanks | | Cumprimentos / Best regards, | Cristóvão José Domingues Cordeiro | | | -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hi Gowtham, thanks but that makes use of two frontends, and I only have one. In that example server B is running in one of the clusters and my clusters have a random number of VM's which only live for a few days, top. My master server needs to be collecting everything from every cluster. I am reading solutions about having several gmonds in the collector, but I am not succeeding. Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro IT Department - 28/1-010 CERN From: Gowtham [sgowt...@mtu.edu] Sent: 23 January 2014 15:04 To: Cristovao Jose Domingues Cordeiro Cc: ganglia-general@lists.sourceforge.net Subject: Re: [Ganglia-general] multiple clusters with just one collector A working example of following the instructions in the link below is here: http://hpcmonitor.it.mtu.edu/ Best regards, g -- Gowtham, PhD HPC Research Scientist, ITS Adj. Asst. Professor, Physics/ECE Michigan Technological University (906) 487/3593 http://it.mtu.edu On Thu, 23 Jan 2014, Gowtham wrote: | | Instructions here might be of use to you: | | http://central6.rocksclusters.org/roll-documentation/ganglia/6.1/x111.html | | Best regards, | g | | -- | Gowtham, PhD | HPC Research Scientist, ITS | Adj. Asst. Professor, Physics/ECE | Michigan Technological University | | (906) 487/3593 | http://it.mtu.edu | | | On Thu, 23 Jan 2014, Cristovao Jose Domingues Cordeiro wrote: | | | Hi, | | | | I found some similar posts in this mailing list but unfortunately none can | | solve my situation. | | | | Basically, I want to have just one collector to multiple clusters. | | As far as I understood I need to have multiple gmonds in my headnode, and so | | I do. | | | | I have in my collector: | | gmetad.conf: | | data_source "clusterA" localhost | | data_source "clusterB" localhost:8650 | | | | gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, | | hosts and cluster names defined, pointing to localhost. | | | | I also issued the daemon: | | gmond -c gmond-clusterA.conf | | gmond -c gmond-clusterB.conf | | | | But this doesn't work. I end up with my web interface just showing an | | 'unspecified' cluster and 'clusterA'... not clusterB. | | | | Any thoughts? thanks | | | | Cumprimentos / Best regards, | | Cristóvão José Domingues Cordeiro | | | | | | -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
Re: [Ganglia-general] multiple clusters with just one collector
Hello Cristavo, I think we have a setup similar to what you're trying to do. You do not need multiple gmonds in your headnode, but rather one headnode for each cluster. Try to set it up like this: clusterA including localhost, node1 clusterB including node2, node3 In your gmetad.conf on localhost, use localhost as your data_source for clusterA and node2:8650 as your data_source for clusterB , that should suffice. It works fairly well for us. Best Regards, Kerim On Thu, Jan 23, 2014 at 2:08 PM, Cristovao Jose Domingues Cordeiro < cristovao.corde...@cern.ch> wrote: > Hi, > > I found some similar posts in this mailing list but unfortunately none can > solve my situation. > > Basically, I want to have just one collector to multiple clusters. > As far as I understood I need to have multiple gmonds in my headnode, and > so I do. > > I have in my collector: > gmetad.conf: > data_source "clusterA" localhost > data_source "clusterB" localhost:8650 > > gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, > hosts and cluster names defined, pointing to localhost. > > I also issued the daemon: > gmond -c gmond-clusterA.conf > gmond -c gmond-clusterB.conf > > But this doesn't work. I end up with my web interface just showing an > 'unspecified' cluster and 'clusterA'... not clusterB. > > Any thoughts? thanks > > Cumprimentos / Best regards, > Cristóvão José Domingues Cordeiro > > > > -- > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > ___ > Ganglia-general mailing list > Ganglia-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ganglia-general > > -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general
[Ganglia-general] multiple clusters with just one collector
Hi, I found some similar posts in this mailing list but unfortunately none can solve my situation. Basically, I want to have just one collector to multiple clusters. As far as I understood I need to have multiple gmonds in my headnode, and so I do. I have in my collector: gmetad.conf: data_source "clusterA" localhost data_source "clusterB" localhost:8650 gmond-clusterA.conf and gmond-clusterB.conf, each one with their ports, hosts and cluster names defined, pointing to localhost. I also issued the daemon: gmond -c gmond-clusterA.conf gmond -c gmond-clusterB.conf But this doesn't work. I end up with my web interface just showing an 'unspecified' cluster and 'clusterA'... not clusterB. Any thoughts? thanks Cumprimentos / Best regards, Cristóvão José Domingues Cordeiro -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___ Ganglia-general mailing list Ganglia-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-general