Re: [Ganglia-general] ganglia rrdtool

2015-02-07 Thread jayadevan Chembakassery
The  default polling  interval is 15 Seconds.
You can  change the value on the data_source entry  in  gmetad.conf


# Format:
# data_source my cluster [polling interval] address1:port addreses2:port
...
#
# The keyword 'data_source' must immediately be followed by a unique
# string which identifies the source, then an optional polling interval in
# seconds. The source will be polled at this interval on average.
# If the polling interval is omitted, 15sec is asssumed.
#
# If you choose to set the polling interval to something other than the
default,
# note that the web frontend determines a host as down if its TN value is
less
# than 4 * TMAX (20sec by default).  Therefore, if you set the polling
interval
# to something around or greater than 80sec, this will cause the frontend to
# incorrectly display hosts as down even though they are not.
.





The one who possesses knowledge becomes immortal

On Sun, Feb 1, 2015 at 6:22 AM, 刘宁 nin.g...@163.com wrote:

 Hi, Can anyone tell me the update frequency of the ganglia rrdtool
 database? Where I can see the settings of the update frequency?
 Thanks!




 --
 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] Ganglia - gmetric --slope=positive

2015-02-07 Thread Ayman Al-Shorman
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


Re: [Ganglia-general] ganglia-web problem

2015-02-07 Thread jayadevan Chembakassery
Edit the  ../Ganglia-webfrontend/header.php file  and  set  the default
time zone.

here is  the first  3  lines  of  my  header.php. i guess  you are looking
for 'Asia/Chongqing'

?php
session_start();
date_default_timezone_set('America/Los_Angeles');


The one who possesses knowledge becomes immortal

On Sun, Feb 1, 2015 at 2:19 AM, Branko Toic bra...@toic.org wrote:

 As the warning suggested, you should just edit your system or custom
 php.ini file and set the config directive

 *date.**timezone* = *Asia/**Chongqing*

 Restarting your webserver (httpd/nginx) if required.
  On 1 Feb 2015 09:25, 刘宁 nin.g...@163.com wrote:

 Hi, My ganglia-web display with a warning. Can someone know how to
 eliminate the warning?

 *my ganglia Cluster Report for br / bWarning/b: date() [a
 href='function.date'function.date/a]: It is not safe to rely on the
 system's timezone settings. You are *required* to use the date.timezone
 setting or the date_default_timezone_set() function. In case you used any
 of those methods and you are still getting this warning, you most likely
 misspelled the timezone identifier. We selected 'Asia/Chongqing' for br
 / *




 --
 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


--
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] segfault on gmetad making Ganglia unusable.

2015-02-07 Thread jayadevan Chembakassery
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