Re: [Ganglia-general] Ganglia - gmetric --slope=positive

2015-02-08 Thread Vladimir Vuksan

  
  
Hi Ayman,
  
  Unfortunately that is not gonna work. The slope=positive works
  well if your polling period is similar to gmetad polling period.
  Gmetad polls for metrics every 15 seconds and since you are
  sending new counter values evey 5 minutes for 4 minutes and 45
  seconds the counter value gmetad is polling stays the same. You
  may be better off calculating differentials yourself.
  
  Vladimir
  
  On 02/08/2015 02:56 AM, Ayman Al-Shorman wrote:


  
  Hello,,

I have sent inquiry regarding COUNTER values in ganglia but no
response tillĀ  now i would like to post it again.

I'm facing issue when i use --slope=positive. I'm
  using gmetric to plot counter value every 5 min.


The values are counted correctly but the the
  period between the checks show zeros for example: at 11:00 the
  value is 100 at 11:05 the value is 150 but the value between
  11:00 and 11:05 is zero but it should be 100.


./gmetric -c /etc/gmond.conf --name='check-name'
  --title="check title" --value=`cat /tmp/file.txt`
  --units="query" --type=int32 --slope=positive


Any ideas?


Thanks


Ayman


  From: ayman_shor...@hotmail.com
  To: ganglia-general@lists.sourceforge.net
  Subject: Ganglia - gmetric --slope=positive
  Date: Sun, 11 Jan 2015 17:32:48 +0200
  
  
  
I'm facing issue when i use --slope=positive.
  I'm using gmetric to plot counter value every 5 min.


The values are counted correctly but the the
  period between the checks show zeros for example: at 11:00
  the value is 100 at 11:05 the value is 150 but the value
  between 11:00 and 11:05 is zero but it should be 100.


./gmetric -c /etc/gmond.conf
  --name='check-name' --title="check title" --value=`cat
  /tmp/file.txt` --units="query" --type=int32
  --slope=positive


Any ideas to fix the issue?


Thanks


Ayman

  

  
  
  
  
  --
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
  
  
  
  ___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general



  


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


[Ganglia-general] Show one cluster in two groups

2015-02-08 Thread paul
Hi,
How can I make ganglia show one cluster in two groups?
I have a ganglia server running gmetad and gmond receiving information from two 
machines collecting gmon information from two clusters. These two machines are 
running gmond only. All of two cluster nodes are running gmond only and are 
sending gmond info to these two machines. Everything is running fine. 
Now I would like to split the second cluster into two groups. I tried to 
configure the first group nodes send gmon info in one port(channel) and the 
second group nodes send in from another port. But I could not make it work. 
Anyone have the settings in a similar way?
Thank you!
Paul



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] segfault on gmetad making Ganglia unusable.

2015-02-08 Thread Sam Barham
I can't help unfortunately, but I can say that I've been having exactly the
same issue, although less frequent (crashes anything from several times a
day to once every couple of days).  What is your gmetad hosted on? Mine is
on Amazon Debian EC2s.

Cheers
Sam

On Sun, Feb 8, 2015 at 11:21 AM, jayadevan Chembakassery 
jayadev...@gmail.com wrote:

 Hi,
 My  Gmetad is going  down  every 20 - 30 min  with  segfault
 Seeing  the below message  on  /var/log/messages.

 gmetad[2383]: segfault at 7f81ffe30df0 ip 7f7fa0a313a1 sp
 7f7f98734400 error 4 in libganglia-3.6.1.so.0.0.0[7f7fa0a26000+14000]

 Env  details:
 O/S :  Redhat  EL 6.2
 Ganglia Web Frontend version 3.6.2
 Ganglia Web Backend (gmetad) version 3.6.1

 I had the issue with  Gemtad 3.6.0,  upgraded to 3.6.1 with no luck.
 managed to get the core file.
 not a gdb  expert but could see the below info;

 $gdb gmetad  core.28985
 ...
 ..
 ..

 Program terminated with signal 11, Segmentation fault.
 #0  0x7fbf1660d3a1 in hash_insert (key=0x7fbf0e310470,
 val=0x7fbf0e310480, hash=0x7fbf08087780) at hash.c:233
 233   WRITE_LOCK(hash, i);
 ...

 Can some one help?

 Thanks,
 Jay




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Show one cluster in two groups

2015-02-08 Thread jayadevan Chembakassery
Ok.
The  Tree being--  GRID - CLUSTERS-  NODES  ,   what  you  expect  to
 see in  the Choose a source drop down menu with  the  above  Gmetad
 configuration ?   Because  you cant  split a cluster in to  multiple node
groups  visually  AFAIK.

thanks,
Jay




The one who possesses knowledge becomes immortal

On Sun, Feb 8, 2015 at 3:51 PM, Paul p...@space.mit.edu wrote:

 Hi Jay,

 Thank you so much for quick response. I have all the mute and deaf in gmon
 worked out correctly.
 What I am trying to do is to have ganglia showing two groups nodes in
 cluster 2.
 data_source Cluster1 gmonhost:port1/* from gmond1 */
 data_source Cluster2 gmonhost:port2/* from gmond2 port2 */
 data_source Cluster2 gmonhost:port3/* from gmond2 port3 */

 in gmond.conf, you can specify multiple ports for sending and receiving. I
 thought I can use each port to handle a group of nodes.

 Thank you!
 paul

 On Feb 8, 2015, at 6:22 PM, jayadevan Chembakassery jayadev...@gmail.com
 wrote:

 You will  have 2  data sources  on Gemtad.conf

 data_source Cluster1  localhost:port1
 data_source Cluster2  localhost:port2

 You  also will have 2 Gmonds on the Ganglia server  on the above port1 and
 port2
 The  machines  that are running only  the 2 Gmonds will point to above
 Gmonds respectively. ( but you could skip these intermediate gmonds i guess)
 Make sure to use appropriate  mute and deaf on the gmond.confs.

 thanks,
 Jay


 The one who possesses knowledge becomes immortal

 On Sun, Feb 8, 2015 at 1:22 PM, paul p...@space.mit.edu wrote:

 Hi,
 How can I make ganglia show one cluster in two groups?
 I have a ganglia server running gmetad and gmond receiving information
 from two machines collecting gmon information from two clusters. These two
 machines are running gmond only. All of two cluster nodes are running gmond
 only and are sending gmond info to these two machines. Everything is
 running fine.
 Now I would like to split the second cluster into two groups. I tried to
 configure the first group nodes send gmon info in one port(channel) and the
 second group nodes send in from another port. But I could not make it work.
 Anyone have the settings in a similar way?
 Thank you!
 Paul




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general




--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Show one cluster in two groups

2015-02-08 Thread Paul
Thank you! Jay.

That is what I want to know. You answered my question. I will do it differently.

cheers,
paul

 On Feb 8, 2015, at 11:36 PM, jayadevan Chembakassery jayadev...@gmail.com 
 wrote:
 
 
 Ok.
 The  Tree being--  GRID - CLUSTERS-  NODES  ,   what  you  expect  to  see 
 in  the Choose a source drop down menu with  the  above  Gmetad  
 configuration ?   Because  you cant  split a cluster in to  multiple node 
 groups  visually  AFAIK.
 
 thanks,
 Jay
 
 
  
 
 The one who possesses knowledge becomes immortal
 
 On Sun, Feb 8, 2015 at 3:51 PM, Paul p...@space.mit.edu 
 mailto:p...@space.mit.edu wrote:
 Hi Jay,
 
 Thank you so much for quick response. I have all the mute and deaf in gmon 
 worked out correctly. 
 What I am trying to do is to have ganglia showing two groups nodes in cluster 
 2.
 data_source Cluster1 gmonhost:port1/* from gmond1 */
 data_source Cluster2 gmonhost:port2/* from gmond2 port2 */
 data_source Cluster2 gmonhost:port3/* from gmond2 port3 */
 
 in gmond.conf, you can specify multiple ports for sending and receiving. I 
 thought I can use each port to handle a group of nodes. 
 
 Thank you!
 paul
 
 On Feb 8, 2015, at 6:22 PM, jayadevan Chembakassery jayadev...@gmail.com 
 mailto:jayadev...@gmail.com wrote:
 
 You will  have 2  data sources  on Gemtad.conf
 
 data_source Cluster1  localhost:port1
 data_source Cluster2  localhost:port2
 
 You  also will have 2 Gmonds on the Ganglia server  on the above port1 and 
 port2
 The  machines  that are running only  the 2 Gmonds will point to above   
 Gmonds respectively. ( but you could skip these intermediate gmonds i guess)
 Make sure to use appropriate  mute and deaf on the gmond.confs.
 
 thanks,
 Jay
 
 
 The one who possesses knowledge becomes immortal
 
 On Sun, Feb 8, 2015 at 1:22 PM, paul p...@space.mit.edu 
 mailto:p...@space.mit.edu wrote:
 Hi,
 How can I make ganglia show one cluster in two groups?
 I have a ganglia server running gmetad and gmond receiving information from 
 two machines collecting gmon information from two clusters. These two 
 machines are running gmond only. All of two cluster nodes are running gmond 
 only and are sending gmond info to these two machines. Everything is running 
 fine.
 Now I would like to split the second cluster into two groups. I tried to 
 configure the first group nodes send gmon info in one port(channel) and the 
 second group nodes send in from another port. But I could not make it work.
 Anyone have the settings in a similar way?
 Thank you!
 Paul
 
 
 
 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/ 
 http://goparallel.sourceforge.net/
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net 
 mailto:Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general 
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 
 
 

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Show one cluster in two groups

2015-02-08 Thread Paul
Hi Jay,

Thank you so much for quick response. I have all the mute and deaf in gmon 
worked out correctly. 
What I am trying to do is to have ganglia showing two groups nodes in cluster 2.
data_source Cluster1 gmonhost:port1/* from gmond1 */
data_source Cluster2 gmonhost:port2/* from gmond2 port2 */
data_source Cluster2 gmonhost:port3/* from gmond2 port3 */

in gmond.conf, you can specify multiple ports for sending and receiving. I 
thought I can use each port to handle a group of nodes. 

Thank you!
paul

 On Feb 8, 2015, at 6:22 PM, jayadevan Chembakassery jayadev...@gmail.com 
 wrote:
 
 You will  have 2  data sources  on Gemtad.conf
 
 data_source Cluster1  localhost:port1
 data_source Cluster2  localhost:port2
 
 You  also will have 2 Gmonds on the Ganglia server  on the above port1 and 
 port2
 The  machines  that are running only  the 2 Gmonds will point to above   
 Gmonds respectively. ( but you could skip these intermediate gmonds i guess)
 Make sure to use appropriate  mute and deaf on the gmond.confs.
 
 thanks,
 Jay
 
 
 The one who possesses knowledge becomes immortal
 
 On Sun, Feb 8, 2015 at 1:22 PM, paul p...@space.mit.edu 
 mailto:p...@space.mit.edu wrote:
 Hi,
 How can I make ganglia show one cluster in two groups?
 I have a ganglia server running gmetad and gmond receiving information from 
 two machines collecting gmon information from two clusters. These two 
 machines are running gmond only. All of two cluster nodes are running gmond 
 only and are sending gmond info to these two machines. Everything is running 
 fine.
 Now I would like to split the second cluster into two groups. I tried to 
 configure the first group nodes send gmon info in one port(channel) and the 
 second group nodes send in from another port. But I could not make it work.
 Anyone have the settings in a similar way?
 Thank you!
 Paul
 
 
 
 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/ 
 http://goparallel.sourceforge.net/
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net 
 mailto:Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general 
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Show one cluster in two groups

2015-02-08 Thread jayadevan Chembakassery
You will  have 2  data sources  on Gemtad.conf

data_source Cluster1  localhost:port1
data_source Cluster2  localhost:port2

You  also will have 2 Gmonds on the Ganglia server  on the above port1 and
port2
The  machines  that are running only  the 2 Gmonds will point to above
Gmonds respectively. ( but you could skip these intermediate gmonds i guess)
Make sure to use appropriate  mute and deaf on the gmond.confs.

thanks,
Jay


The one who possesses knowledge becomes immortal

On Sun, Feb 8, 2015 at 1:22 PM, paul p...@space.mit.edu wrote:

 Hi,
 How can I make ganglia show one cluster in two groups?
 I have a ganglia server running gmetad and gmond receiving information
 from two machines collecting gmon information from two clusters. These two
 machines are running gmond only. All of two cluster nodes are running gmond
 only and are sending gmond info to these two machines. Everything is
 running fine.
 Now I would like to split the second cluster into two groups. I tried to
 configure the first group nodes send gmon info in one port(channel) and the
 second group nodes send in from another port. But I could not make it work.
 Anyone have the settings in a similar way?
 Thank you!
 Paul




 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general