[collectd] help with exec plugin string format

GRAY Andrew G (SPARQ) andrew.gray1 at sparq.com.au
Fri Oct 17 01:59:10 CEST 2014

Dear all,
I 'm trying to track usage of pools of virtual machines.

So I have the gauge type working, but I really want two traces on the one graph.
The df type as defined in the types.db file seems to suit,

Using the gauge type
gauge    value:GAUGE:0:1234567890

Exec Plugin writes the following
PUTVAL                $hostname/pool-poolname/gauge         N:$value

Which generates a graph with a single blue trace.

I'm trying to get a dual trace graph with red and green, similar to the df plugin.
Which I can't seem to find any docs on ....

df            user:GAUGE:0:1234567890, free:GAUGE:0:1234567890

Writing ....
PUTVAL                $hostname/pool-poolname/df-user       N:$value1:$value2   .... Doesn't work
PUTVAL                $hostname/pool-poolname/df                 N:user:$value1, N:free:$value2   .... Doesn't work

Can anyone point me at some docs, or let me know the secret ingredient ??

Thanks for any help,

Andrew Gray.
Unix Administration.

This email message (including any file attachments transmitted with it) is for the sole use of the intended recipient(s) and may contain confidential and legally privileged information. Any unauthorised review, use, alteration, disclosure or distribution of this email (including any attachments) by an unintended recipient is prohibited. If you have received this email in error, please notify the sender by return email and destroy all copies of the original message. Any confidential or legal professional privilege is not waived or lost by any mistaken delivery of the email. SPARQ Solutions accepts no responsibility for the content of any email which is sent by an employee which is of a personal nature.

Sender Details:
  SPARQ Solutions
  PO Box 15760 City East, Brisbane QLD Australia 4002
  +61 7 4931 2222

SPARQ Solutions policy is to not send unsolicited electronic messages. Suspected breaches of this policy can be reported by replying to this message including the original message and the word "UNSUBSCRIBE" in the subject. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20141016/1ecae1fb/attachment.html>

More information about the collectd mailing list