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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to