[collectd] collectd exec plugin

Florian Forster octo at collectd.org
Wed Aug 20 12:51:02 CEST 2014

Hi Stuart,

On Tue, Aug 19, 2014 at 01:09:03AM +0000, Stuart Cracraft wrote:
>   -1 Type `all' isn't defined.

"type" is a well defined term in collectd; it's part of the naming
schema [0], [1].

> What does the "-1 Type `all' isn't defined" mean?

This is part of the "plain-text protocol" [2]. "-1" inicates an error
reponse, the rest is the error message. It tells you that no "type" by
the name of "all" exists.

> It isn't appearing in the standard output of my PUTVAL exec script
> which looks very clean innocent:
> PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:2
> PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:100
> PUTVAL "some-fully-qualified-name/rabbitmq/more-rabbits" interval=10 N:500000

In these examples, the "type" would be "more", which isn't defined in
the default "types.db". If you replaced "more" by "gauge", for example,
it should yield metrics.

HTH, best regards,
Florian Forster

[0] <https://collectd.org/wiki/index.php/Naming_schema>
[1] <http://collectd.org/documentation/manpages/types.db.5.shtml>
[2] <https://collectd.org/wiki/index.php/Plain_text_protocol>
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
GitHub:  https://github.com/collectd
Twitter: http://twitter.com/collectd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140820/c1218291/attachment.pgp>

More information about the collectd mailing list