nytimes / collectd-rabbitmq

A collected plugin, written in python, to collect statistics from RabbitMQ.
https://collectd-rabbitmq.readthedocs.org/
Other
145 stars 79 forks source link

Exception Dataset not found #77

Open achirkov-ep opened 3 years ago

achirkov-ep commented 3 years ago

Hi, trying configure this plugin on ubuntu 18.04. After restart collectd get this in logs. I use default config, flash installed collectd 5.7.2 and rabbitmq 3.6.10. What i can do to fix it? config:

TypesDB "/usr/share/collectd/types.db.custom" 
LoadPlugin python
<Plugin python>
  LogTraces true
  Interactive false
  Import "collectd_rabbitmq.collectd_plugin"
  <Module "collectd_rabbitmq.collectd_plugin">
    Username "guest"
    Password "guest"
    Realm "RabbitMQ Management"
    Host "localhost"
    Port "15672"
    <Ignore "queue">
      Regex "^amq"
    </Ignore>
    <Ignore "exchange">
      Regex "my-exchange"
    </Ignore>
  </Module>
</Plugin>

Log file:

Oct 29 11:37:54 test-chirkov collectd[11487]: Initialization complete, entering read-loop. Oct 29 11:37:54 test-chirkov collectd[11487]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds. Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free.None. Exception Dataset disk_free not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free_details.avg. Exception Dataset disk_free_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free_details.avg_rate. Exception Dataset disk_free_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free_details.rate. Exception Dataset disk_free_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free_details.sample. Exception Dataset disk_free_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.disk_free_limit.None. Exception Dataset disk_free_limit not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_total.None. Exception Dataset fd_total not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_used.None. Exception Dataset fd_used not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_used_details.avg. Exception Dataset fd_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_used_details.avg_rate. Exception Dataset fd_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_used_details.rate. Exception Dataset fd_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.fd_used_details.sample. Exception Dataset fd_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_limit.None. Exception Dataset mem_limit not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_used.None. Exception Dataset mem_used not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_used_details.avg. Exception Dataset mem_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_used_details.avg_rate. Exception Dataset mem_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_used_details.rate. Exception Dataset mem_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.mem_used_details.sample. Exception Dataset mem_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_total.None. Exception Dataset proc_total not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_used.None. Exception Dataset proc_used not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_used_details.avg. Exception Dataset proc_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_used_details.avg_rate. Exception Dataset proc_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_used_details.rate. Exception Dataset proc_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.proc_used_details.sample. Exception Dataset proc_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.processors.None. Exception Dataset processors not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.run_queue.None. Exception Dataset run_queue not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_total.None. Exception Dataset sockets_total not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_used.None. Exception Dataset sockets_used not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_used_details.avg. Exception Dataset sockets_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_used_details.avg_rate. Exception Dataset sockets_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_used_details.rate. Exception Dataset sockets_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.test-chirkov.None.sockets_used_details.sample. Exception Dataset sockets_used_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.publish.None. Exception Dataset publish not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.publish. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.ack.None. Exception Dataset ack not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.ack. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.deliver_get.None. Exception Dataset deliver_get not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.deliver_get. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.confirm.None. Exception Dataset confirm not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.confirm. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.redeliver.None. Exception Dataset redeliver not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.redeliver. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.deliver.None. Exception Dataset deliver not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.deliver. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.deliver_noack.None. Exception Dataset deliver_noack not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.message_stats.rabbitmq_details.deliver_no_ack. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.object_totals.rabbitmq_consumers.None. Exception Dataset rabbitmq_consumers not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.object_totals.rabbitmq_queues.None. Exception Dataset rabbitmq_queues not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.object_totals.rabbitmq_exchanges.None. Exception Dataset rabbitmq_exchanges not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.object_totals.rabbitmq_connections.None. Exception Dataset rabbitmq_connections not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.object_totals.rabbitmq_channels.None. Exception Dataset rabbitmq_channels not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_messages.None. Exception Dataset rabbitmq_messages not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_details.messages. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_messages_ready.None. Exception Dataset rabbitmq_messages_ready not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_details.messages_ready. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_messages_unacknowledged.None. Exception Dataset rabbitmq_messages_unacknowledged not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_rabbit@test-chirkov.overview.queue_totals.rabbitmq_details.messages_unacknowledged. Exception Dataset rabbitmq_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.ack.None. Exception Dataset ack not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish.None. Exception Dataset publish not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_in.None. Exception Dataset publish_in not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_in_details.avg. Exception Dataset publish_in_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_in_details.avg_rate. Exception Dataset publish_in_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_in_details.rate. Exception Dataset publish_in_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_in_details.sample. Exception Dataset publish_in_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_out.None. Exception Dataset publish_out not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_out_details.avg. Exception Dataset publish_out_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_out_details.avg_rate. Exception Dataset publish_out_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_out_details.rate. Exception Dataset publish_out_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.publish_out_details.sample. Exception Dataset publish_out_details not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.confirm.None. Exception Dataset confirm not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.deliver.None. Exception Dataset deliver not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.deliver_noack.None. Exception Dataset deliver_noack not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.get.None. Exception Dataset get not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.get_noack.None. Exception Dataset get_noack not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.deliver_get.None. Exception Dataset deliver_get not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.redeliver.None. Exception Dataset redeliver not found Oct 29 11:37:54 test-chirkov collectd[11487]: Failed to dispatch rabbitmq_default.exchanges.amq.fanout.return.None. Exception Dataset return not found

jerryz1982 commented 2 years ago

does /usr/share/collectd/types.db.custom exist ? there is a copy in the repo

michaelklishin commented 2 years ago

FYI, RabbitMQ 3.6 has been out of support for nearly four years. Consider upgrading, you are nearly 60 releases behind.