[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    [collectd] write_mqtt plugin
From:       timbz <timon.baetz () gmail ! com>
Date:       2020-06-08 9:07:29
Message-ID: CAJJFQkbFGXjYvMZS6xO6RKghf2XBbDQpxV1uoUoGUgREMVTywA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


*Hello,I wrote a plugin that sends the collected metrics to a MQTT topic.
In contrast to the existing MQTT plugin which sends each metric to a
dedicated topic, it buffers metrics and sends them out encoded as JSON to a
predefined topic (similar to the other write_* plugins).You can find the
source at https://github.com/timbz/collectd-write-mqtt
<https://github.com/timbz/collectd-write-mqtt>.The current MQTT plugin is
not feasible for me as the broker I am using has a quota on the message
rate (100 messages/s) which you can easily hit with a couple of enabled
plugins.Would you be interested in a pull request with that plugin? Best
regards, Timon*

[Attachment #5 (text/html)]

<div dir="ltr"><b style="font-weight:normal" \
id="gmail-docs-internal-guid-be5f451b-7fff-aace-2536-c1ecbb3213ee"><p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Hello,</span></p><br><p \
dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">I \
wrote a plugin that sends the collected metrics to a MQTT topic. In contrast to the \
existing MQTT plugin which sends each metric to a dedicated topic, it buffers metrics \
and sends them out encoded as JSON to a predefined topic (similar to the other \
write_* plugins).</span></p><br><p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">You \
can find the source at </span><a href="https://github.com/timbz/collectd-write-mqtt" \
style="text-decoration:none"><span \
style="font-size:11pt;font-family:Arial;color:rgb(17,85,204);background-color:transpar \
ent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;ve \
rtical-align:baseline;white-space:pre-wrap">https://github.com/timbz/collectd-write-mqtt</span></a><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">.</span></p><br><p \
dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">The \
current MQTT plugin is not feasible for me as the broker I am using has a quota on \
the message rate (100 messages/s) which you can easily hit with a couple of enabled \
plugins.</span></p><br><p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Would \
you be interested in a pull request with that plugin? <br></span></p><p dir="ltr" \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p \
dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Best \
regards, <br></span></p><p \
style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span \
style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent; \
font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Timon<br></span></p></b><br \
class="gmail-Apple-interchange-newline"></div>


[Attachment #6 (text/plain)]

_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic