Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-29 Thread Grigory Shamov
Hi Vladimir,

Thanks a lot! The TCP method seems to be working for me.

--
Grigory Shamov
Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625


From: Vladimir Vuksan <vli...@veus.hr<mailto:vli...@veus.hr>>
Date: Tuesday, 23 February, 2016 10:27 AM
To: Grigory Shamov 
<grigory.sha...@umanitoba.ca<mailto:grigory.sha...@umanitoba.ca>>, Adrian 
Sevcenco <adrian.sevce...@cern.ch<mailto:adrian.sevce...@cern.ch>>, 
"ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>"
 
<ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>>
Subject: Re: [Ganglia-general] rrdcached /gmetad permission problems after 
update.

I don't think it depends on a version. I assume anything 1.4.x will work.

Vladimir

02/23/2016 u 10:50 AM, Grigory Shamov je napisao/la:
Dear Adrian, Vladimir,

Thank you very much for the answers!

Does it depend on rrdtools/rrdcached version? Which one are you using ?

--
Grigory Shamov
Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625



From: Vladimir Vuksan <vli...@veus.hr<mailto:vli...@veus.hr>>
Date: Tuesday, 23 February, 2016 8:57 AM
To: Adrian Sevcenco <adrian.sevce...@cern.ch<mailto:adrian.sevce...@cern.ch>>, 
"ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>"
 
<ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>>,
 Grigory Shamov 
<grigory.sha...@umanitoba.ca<mailto:grigory.sha...@umanitoba.ca>>
Subject: Re: [Ganglia-general] rrdcached /gmetad permission problems after 
update.

Another thing to try is to switch over to using TCP for rrdcached connections 
since that avoids contention on the rrdcached socket and should avoid some of 
the permissions issues. For example I am using following options

OPTS=" -t 60 -w 180 -z 180 -F -s ganglia -m 664 -l 127.0.0.1:9998 -s ganglia -m 
777 -P FLUSH,STATS,HELP -l unix:/tmp/rrdcached.limited.sock -b 
/var/lib/ganglia/rrds -B -p /var/lib/ganglia/rrdcached.pid

In the gmetad.conf you can then add

rrdcached_address 127.0.0.1:9998

Vladimir

02/23/2016 u 09:34 AM, Adrian Sevcenco je napisao/la:

On 02/22/2016 10:32 PM, Grigory Shamov wrote:


Hi All,

I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
RRDCached.
It used to work, and configuration didn't  change, but bow metrics do not
get into the graphs anymore.
In the logs there is a lot of messages about permissions, and a new kind
of message about imuxsock thing:

Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
(/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
Permission denied.
Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
pid 3554 due to rate-limiting

Does anyone know how to fix it? Thank you very much in advance!


I had the same problem (and partially i still have one) ..
So :
1. that "drop messages" message is because of the write errors .. you
can ignore that

2. the problem is with rrdcached .. i tried with making part of group
ganglia, change ownership of rrds to ganglia:rrdcached but had the same
errors ... in the end i had to make the rrds dir 777 and i get rid of errors

3. ganglia web does not function with the rrdcached limited socket so i
had to use the same full socket that gmetad use ... i hope that nothing
bad will happen but i have no other choice...

HTH,
Adrian





--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140



___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>https://lists.sourceforge.net/lists/listinfo/ganglia-general


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-26 Thread Adrian Sevcenco
On 02/23/2016 04:57 PM, Vladimir Vuksan wrote:
> Another thing to try is to switch over to using TCP for rrdcached
> connections since that avoids contention on the rrdcached socket and
> should avoid some of the permissions issues. For example I am using
> following options
> 
> OPTS=" -t 60 -w 180 -z 180 -F -s ganglia -m 664 -l 127.0.0.1:9998 -s
> ganglia -m 777 -P FLUSH,STATS,HELP -l unix:/tmp/rrdcached.limited.sock
> -b /var/lib/ganglia/rrds -B -p /var/lib/ganglia/rrdcached.pid
Hi! Thank you for advice! but after switching to tcp now i have a
problem with this :

Feb 26 18:23:55 monitor /usr/sbin/gmetad[16225]: RRD_update
(/export/ganglia/rrds/__SummaryInfo__/multicpu_wio4.rrd): absolute path
names not allowed when talking to a remote daemon

i have this structure for options :
OPTS="-b ${RRDS_DIR} -B -R -F -j ${RRDCACHED_JOURNAL_DIR} -w
${RRDCACHED_WRITE_TIMEOUT} -z ${RRDCACHED_WRITE_DELAY} -f
${RRDCACHED_WRITE_OLDTIMEOUT} \
-t ${RRDCACHED_WRITE_THREADS} \
-s ${RRDCACHED_USER} -m ${SOCKPERMS} -l ${SOCKET1} \
-s ${RRDCACHED_USER_LIM} -m 777 -P FLUSH,STATS,HELP,INFO -l ${SOCKET2}"

RRDCACHED_USER* is ganglia and the PID file is set up in the init file...
in the end i had to return to my old setting and because the graphs are
not seen by ganglia-web if limited sock is used, i had to use the full
sock..

> In the gmetad.conf you can then add
> 
> rrdcached_address 127.0.0.1:9998
this did not worked, i had to use :
RRDCACHED_ADDRESS=127.0.0.1:9998

btw : why is this setting on different file than gmetad.conf?
Couldn't/shouldn't be in gmetad.conf?

Thank you!
Adrian


> 
> Vladimir
> 
> 02/23/2016 u 09:34 AM, Adrian Sevcenco je napisao/la:
>> On 02/22/2016 10:32 PM, Grigory Shamov wrote:
>>> Hi All,
>>>
>>> I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
>>> RRDCached. 
>>> It used to work, and configuration didn't  change, but bow metrics do not
>>> get into the graphs anymore.
>>> In the logs there is a lot of messages about permissions, and a new kind
>>> of message about imuxsock thing:
>>>
>>> Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
>>> (/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
>>> Permission denied.
>>> Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
>>> pid 3554 due to rate-limiting
>>>
>>> Does anyone know how to fix it? Thank you very much in advance!
>> I had the same problem (and partially i still have one) ..
>> So :
>> 1. that "drop messages" message is because of the write errors .. you
>> can ignore that
>>
>> 2. the problem is with rrdcached .. i tried with making part of group
>> ganglia, change ownership of rrds to ganglia:rrdcached but had the same
>> errors ... in the end i had to make the rrds dir 777 and i get rid of errors
>>
>> 3. ganglia web does not function with the rrdcached limited socket so i
>> had to use the same full socket that gmetad use ... i hope that nothing
>> bad will happen but i have no other choice...
>>
>> HTH,
>> Adrian
>>
>>
>>
>> --
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
>>
>>
>> ___
>> Ganglia-general mailing list
>> Ganglia-general@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 


-- 
--
Adrian Sevcenco, Ph.D.   |
Institute of Space Science - ISS, Romania|
adrian.sevcenco at {cern.ch,spacescience.ro} |
--



smime.p7s
Description: S/MIME Cryptographic Signature
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-23 Thread Vladimir Vuksan

  
  
I don't think it depends on a version.
  I assume anything 1.4.x will work.
  
  Vladimir
  
  02/23/2016 u 10:50 AM, Grigory Shamov je napisao/la:


  
  Dear Adrian, Vladimir,
  
  
  Thank you very much for the answers! 
  
  
  Does it depend on rrdtools/rrdcached version? Which one are
you using ?
  
  
  

  
-- 
Grigory Shamov
  
  Westgrid/ComputeCanada Site Lead
  University of Manitoba
  E2-588 EITC Building, 
  (204) 474-9625
  
  
  
  

  
  
  
  

  From: Vladimir Vuksan
  <vli...@veus.hr>
  Date: Tuesday, 23
  February, 2016 8:57 AM
  To: Adrian Sevcenco
  <adrian.sevce...@cern.ch>,
  "ganglia-general@lists.sourceforge.net"
  <ganglia-general@lists.sourceforge.net>,

  Grigory Shamov <grigory.sha...@umanitoba.ca>
      Subject: Re:
      [Ganglia-general] rrdcached /gmetad permission problems after
  update.




  
Another thing to try is to
  switch over to using TCP for rrdcached connections since
  that avoids contention on the rrdcached socket and should
  avoid some of the permissions issues. For example I am
  using following options
  
  OPTS=" -t 60 -w 180 -z 180 -F -s ganglia -m 664 -l
  127.0.0.1:9998 -s ganglia -m 777 -P FLUSH,STATS,HELP -l
  unix:/tmp/rrdcached.limited.sock -b /var/lib/ganglia/rrds
  -B -p /var/lib/ganglia/rrdcached.pid
  
  In the gmetad.conf you can then add
  
  rrdcached_address 127.0.0.1:9998
  
  Vladimir
  
  02/23/2016 u 09:34 AM, Adrian Sevcenco je napisao/la:


  On 02/22/2016 10:32 PM, Grigory Shamov wrote:

  
Hi All,

I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
RRDCached. 
It used to work, and configuration didn't  change, but bow metrics do not
get into the graphs anymore.
In the logs there is a lot of messages about permissions, and a new kind
of message about imuxsock thing:

Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
(/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
Permission denied.
Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
pid 3554 due to rate-limiting

Does anyone know how to fix it? Thank you very much in advance!

  
  I had the same problem (and partially i still have one) ..
So :
1. that "drop messages" message is because of the write errors .. you
can ignore that

2. the problem is with rrdcached .. i tried with making part of group
ganglia, change ownership of rrds to ganglia:rrdcached but had the same
errors ... in the end i had to make the rrds dir 777 and i get rid of errors

3. ganglia web does not function with the rrdcached limited socket so i
had to use the same full socket that gmetad use ... i hope that nothing
bad will happen but i have no other choice...

HTH,
Adrian


  
  
  
  --
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
  
  
  
  ___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/ganglia-general


  

  


  


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-23 Thread Grigory Shamov
Dear Adrian, Vladimir,

Thank you very much for the answers!

Does it depend on rrdtools/rrdcached version? Which one are you using ?

--
Grigory Shamov
Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625



From: Vladimir Vuksan <vli...@veus.hr<mailto:vli...@veus.hr>>
Date: Tuesday, 23 February, 2016 8:57 AM
To: Adrian Sevcenco <adrian.sevce...@cern.ch<mailto:adrian.sevce...@cern.ch>>, 
"ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>"
 
<ganglia-general@lists.sourceforge.net<mailto:ganglia-general@lists.sourceforge.net>>,
 Grigory Shamov 
<grigory.sha...@umanitoba.ca<mailto:grigory.sha...@umanitoba.ca>>
Subject: Re: [Ganglia-general] rrdcached /gmetad permission problems after 
update.

Another thing to try is to switch over to using TCP for rrdcached connections 
since that avoids contention on the rrdcached socket and should avoid some of 
the permissions issues. For example I am using following options

OPTS=" -t 60 -w 180 -z 180 -F -s ganglia -m 664 -l 127.0.0.1:9998 -s ganglia -m 
777 -P FLUSH,STATS,HELP -l unix:/tmp/rrdcached.limited.sock -b 
/var/lib/ganglia/rrds -B -p /var/lib/ganglia/rrdcached.pid

In the gmetad.conf you can then add

rrdcached_address 127.0.0.1:9998

Vladimir

02/23/2016 u 09:34 AM, Adrian Sevcenco je napisao/la:

On 02/22/2016 10:32 PM, Grigory Shamov wrote:


Hi All,

I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
RRDCached.
It used to work, and configuration didn't  change, but bow metrics do not
get into the graphs anymore.
In the logs there is a lot of messages about permissions, and a new kind
of message about imuxsock thing:

Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
(/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
Permission denied.
Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
pid 3554 due to rate-limiting

Does anyone know how to fix it? Thank you very much in advance!


I had the same problem (and partially i still have one) ..
So :
1. that "drop messages" message is because of the write errors .. you
can ignore that

2. the problem is with rrdcached .. i tried with making part of group
ganglia, change ownership of rrds to ganglia:rrdcached but had the same
errors ... in the end i had to make the rrds dir 777 and i get rid of errors

3. ganglia web does not function with the rrdcached limited socket so i
had to use the same full socket that gmetad use ... i hope that nothing
bad will happen but i have no other choice...

HTH,
Adrian





--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140



___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>https://lists.sourceforge.net/lists/listinfo/ganglia-general

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-23 Thread Vladimir Vuksan

  
  
Another thing to try is to switch over
  to using TCP for rrdcached connections since that avoids
  contention on the rrdcached socket and should avoid some of the
  permissions issues. For example I am using following options
  
  OPTS=" -t 60 -w 180 -z 180 -F -s ganglia -m 664 -l 127.0.0.1:9998
  -s ganglia -m 777 -P FLUSH,STATS,HELP -l
  unix:/tmp/rrdcached.limited.sock -b /var/lib/ganglia/rrds -B -p
  /var/lib/ganglia/rrdcached.pid
  
  In the gmetad.conf you can then add
  
  rrdcached_address 127.0.0.1:9998
  
  Vladimir
  
  02/23/2016 u 09:34 AM, Adrian Sevcenco je napisao/la:


  On 02/22/2016 10:32 PM, Grigory Shamov wrote:

  
Hi All,

I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
RRDCached. 
It used to work, and configuration didn't  change, but bow metrics do not
get into the graphs anymore.
In the logs there is a lot of messages about permissions, and a new kind
of message about imuxsock thing:

Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
(/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
Permission denied.
Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
pid 3554 due to rate-limiting

Does anyone know how to fix it? Thank you very much in advance!

  
  I had the same problem (and partially i still have one) ..
So :
1. that "drop messages" message is because of the write errors .. you
can ignore that

2. the problem is with rrdcached .. i tried with making part of group
ganglia, change ownership of rrds to ganglia:rrdcached but had the same
errors ... in the end i had to make the rrds dir 777 and i get rid of errors

3. ganglia web does not function with the rrdcached limited socket so i
had to use the same full socket that gmetad use ... i hope that nothing
bad will happen but i have no other choice...

HTH,
Adrian


  
  
  
  --
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
  
  
  
  ___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general



  


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] rrdcached /gmetad permission problems after update.

2016-02-23 Thread Adrian Sevcenco
On 02/22/2016 10:32 PM, Grigory Shamov wrote:
> Hi All,
> 
> I have updated Gmond/Gmetad to 3.7.2 on our Ganglia server that uses also
> RRDCached. 
> It used to work, and configuration didn't  change, but bow metrics do not
> get into the graphs anymore.
> In the logs there is a lot of messages about permissions, and a new kind
> of message about imuxsock thing:
> 
> Feb 22 13:18:40 host /usr/sbin/gmetad[3554]: RRD_update
> (/var/lib/ganglia/rrds/Grex/__SummaryInfo__/rx_bytes_ib0.rrd): rrdcached:
> Permission denied.
> Feb 22 13:18:40 host rsyslogd-2177: imuxsock begins to drop messages from
> pid 3554 due to rate-limiting
> 
> Does anyone know how to fix it? Thank you very much in advance!
I had the same problem (and partially i still have one) ..
So :
1. that "drop messages" message is because of the write errors .. you
can ignore that

2. the problem is with rrdcached .. i tried with making part of group
ganglia, change ownership of rrds to ganglia:rrdcached but had the same
errors ... in the end i had to make the rrds dir 777 and i get rid of errors

3. ganglia web does not function with the rrdcached limited socket so i
had to use the same full socket that gmetad use ... i hope that nothing
bad will happen but i have no other choice...

HTH,
Adrian



smime.p7s
Description: S/MIME Cryptographic Signature
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general