[collectd] Unable to use Collectd::Unixsock.pm correctly (might be due to FQDN)??

Blatt, Andrew (A&E) andrew_blatt at ml.com
Mon Mar 23 16:05:10 CET 2009


Thanks Florian, you were right, I had an older version which I thought I had updated..

Now atleast cussh.pl is working properly!


-----Original Message-----
From: Florian Forster [mailto:octo at verplant.org] 
Sent: Monday, March 23, 2009 10:54 AM
To: Blatt, Andrew (A&E)
Cc: collectd at verplant.org
Subject: Re: [collectd] Unable to use Collectd::Unixsock.pm correctly (might be due to FQDN)??

* PGP Signed by an unknown key: 03/23/2009 at 10:54:27 AM
Hi Andrew,

On Mon, Mar 23, 2009 at 10:33:07AM -0400, Blatt, Andrew (A&E) wrote:
> I'm trying to use Collectd::Unixsock.pm to get values, and I can't seem
> to get any values back correctly:
> 
> # ./main.pl
> -> GETVAL "upeks1.dev.us.ml.com/load/load"
> <- -1 Type `load"' is unknown.

there is a problem with collectd 4.4 and earlier: Identifiers with
spaces are not handled correctly because `strtok' is used to split up
the command line.

collectd 4.5 and later uses quotes to make identifiers with spaces
possible. Collectd::Unixsock has been changed to make use of this, too.

From your example it looks like you mixed the two: A new version of
Collectd::Unixsock and a pre-4.5 version of collectd (note the
trailing `"').

If you did not mix those versions yourself, please let us know so we can
try to improve the situation :)

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
* Unknown Key
* 0x7434E486


--------------------------------------------------------------------------
This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------------------------
 


More information about the collectd mailing list