[collectd] write_http behaviour on POST failure?

Otis Gospodnetic otis.gospodnetic at gmail.com
Thu Dec 12 17:56:59 CET 2013


Thanks Mark!

Would it make sense to improve that plugin and let it fall-back to writing
to disk, say by using one of the csv output plugins, in case of failure?
Even if nothing in Collectd itself is able to pick up that data and re-send
it at a later time, it would allow others to put things like file tailing
agents there that, should any data be written to disk, could pick it up and
resend it.

Thoughts?

Thanks,
Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/



On Thu, Dec 12, 2013 at 6:30 AM, Marc Fournier <marc.fournier at camptocamp.com
> wrote:

> Hello,
>
> Excerpts from Otis Gospodnetic's message of 2013-12-12 04:41:46 +0100:
> > Hi,
> >
> > What does https://collectd.org/wiki/index.php/Plugin:Write_HTTP do when
> the
> > destination (there data is being POSTed) is either not up or returns a
> > non-200 or times out or ... ?
> >
> > Is the data dropped and lost?
> > Or is it written somewhere to be sent later?
>
> It will be lost. An error will be emitted if you have logging enabled.
>
> Marc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131212/e062aa9e/attachment.html>


More information about the collectd mailing list