Re: [collectd] write_http behaviour on POST failure?

2013-12-12 Thread Marc Fournier
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

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd


Re: [collectd] write_http behaviour on POST failure?

2013-12-12 Thread Otis Gospodnetic
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.fourn...@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

___
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd