Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-28 Thread Carlo Marcelo Arenas Belon
On Wed, Nov 26, 2008 at 08:40:55AM -0700, Brad Nicholes wrote: On 11/26/2008 at 3:45 AM, in message [EMAIL PROTECTED], Martin Knoblauch [EMAIL PROTECTED] wrote: From: Brad Nicholes [EMAIL PROTECTED] On 11/25/2008 at 10:14 AM, in message [EMAIL PROTECTED], Ofer Inbar wrote:

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-26 Thread Carlo Marcelo Arenas Belon
On Tue, Nov 25, 2008 at 04:33:05PM -0700, Brad Nicholes wrote: The result was that if the wildcard produced more than 10 included files (which it easily does even in our default configuration), libconfuse choked because it thought it had hit the maximum nesting level our RPMs for ganglia

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-26 Thread Martin Knoblauch
- Original Message From: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] To: Ofer Inbar [EMAIL PROTECTED] Cc: ganglia-general@lists.sourceforge.net Sent: Tuesday, November 25, 2008 9:49:22 AM Subject: Re: [Ganglia-general] gmetric fails when disk is unwriteable? On Fri, Nov 21, 2008

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-26 Thread Brad Nicholes
Subject: Re: [Ganglia-general] gmetric fails when disk is unwriteable? On 11/25/2008 at 10:14 AM, in message [EMAIL PROTECTED], Ofer Inbar wrote: Brad Nicholes wrote: It needs a temp directory to get around some issues with libconfuse. Libconfuse doesn't actually support wildcard paths

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-26 Thread Brad Nicholes
On 11/26/2008 at 1:17 AM, in message [EMAIL PROTECTED], Carlo Marcelo Arenas Belon [EMAIL PROTECTED] wrote: On Tue, Nov 25, 2008 at 04:33:05PM -0700, Brad Nicholes wrote: The result was that if the wildcard produced more than 10 included files (which it easily does even in our default

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Carlo Marcelo Arenas Belon
On Mon, Nov 24, 2008 at 04:55:42PM -0700, Brad Nicholes wrote: On 11/24/2008 at 3:47 PM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: I tried feeding one of my custom metrics by hand: [root ~]$ gmetric --name net_smtp_fin_wait2_out --value 0 --type uint8 --units

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Carlo Marcelo Arenas Belon
On Fri, Nov 21, 2008 at 11:33:05PM -0500, Ofer Inbar wrote: What's the dependency that causes gmetric to require that the filesystem the CWD is on be writeable? as explained by Brad it is not the CWD that needs to be writeable but a TMPDIR (which for root can also be the current directory)

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Ofer Inbar
Brad Nicholes [EMAIL PROTECTED] wrote: It needs a temp directory to get around some issues with libconfuse. Libconfuse doesn't actually support wildcard paths or files. A libconfuse include statement must have a full path to the file that it is going include. So gmond makes up for this

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Brad Nicholes
On 11/25/2008 at 1:08 AM, in message [EMAIL PROTECTED], Carlo Marcelo Arenas Belon [EMAIL PROTECTED] wrote: On Mon, Nov 24, 2008 at 04:55:42PM -0700, Brad Nicholes wrote: On 11/24/2008 at 3:47 PM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: I tried feeding one of my

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Brad Nicholes
On 11/25/2008 at 10:14 AM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: Brad Nicholes [EMAIL PROTECTED] wrote: It needs a temp directory to get around some issues with libconfuse. Libconfuse doesn't actually support wildcard paths or files. A libconfuse include statement

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-25 Thread Brad Nicholes
On 11/25/2008 at 10:14 AM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: Brad Nicholes [EMAIL PROTECTED] wrote: It needs a temp directory to get around some issues with libconfuse. Libconfuse doesn't actually support wildcard paths or files. A libconfuse include statement

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-24 Thread Brad Nicholes
On 11/21/2008 at 9:33 PM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: One of our servers encountered an I/O error that put its root filesystem into read only mode. Both /var and /tmp are on that filesystem, so all logging stopped and most everything stopped. However,

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-24 Thread Ofer Inbar
I tried feeding one of my custom metrics by hand: [root ~]$ gmetric --name net_smtp_fin_wait2_out --value 0 --type uint8 --units 'connections' /etc/ganglia/gmond.conf:94: failed to determine the temp dir Parse error for '/etc/ganglia/gmond.conf' Then, I cd'ed over to a

Re: [Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-24 Thread Brad Nicholes
On 11/24/2008 at 3:47 PM, in message [EMAIL PROTECTED], Ofer Inbar [EMAIL PROTECTED] wrote: I tried feeding one of my custom metrics by hand: [root ~]$ gmetric --name net_smtp_fin_wait2_out --value 0 --type uint8 --units 'connections' /etc/ganglia/gmond.conf:94: failed to determine

[Ganglia-general] gmetric fails when disk is unwriteable?

2008-11-21 Thread Ofer Inbar
One of our servers encountered an I/O error that put its root filesystem into read only mode. Both /var and /tmp are on that filesystem, so all logging stopped and most everything stopped. However, gmond kept on running, and reporting metrics. Great! This is yet another way in which Ganglia