icinga2/lib/remote
Simon Murray 2e8c8809ea Add service metadata to InfluxDB Writer
Adds a new configuration variable in keeping with the graphite writer
which defaults to false to save network bandwidth.  All metrics currently
supported by graphite are now available to InfluxDB.  I added in some
formatting functions, to handle integers and booleans as we know and
control their types, and the supporting regexes in the sanity checker.

Updating to InfluxDB 0.13.X started giving 400 errors due to the missing
Host header in HTTP/1.1 requests.  HttpRequest has been updated to auto-
magically add the host and port to these requests if not explicitly
stated by the client code.

The exception code has been cleaned up to break out of the function
early if such a condition is raised, this avoids unnecessarily executing
code which will ultimately fail.

fixes #11912

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2016-06-08 13:23:52 +02:00
..
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
actionshandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
actionshandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
apiaction.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apiaction.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apiclient.cpp Remove unused variables 2016-02-08 17:10:12 +01:00
apiclient.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apifunction.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apifunction.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apilistener-configsync.cpp ApiListener: Bail out if object could not be created during config sync 2016-02-12 14:15:24 +01:00
apilistener-filesync.cpp Ignore the .timestamp file when determining whether the zone config has changed (second attempt) 2016-01-26 15:46:03 +01:00
apilistener.cpp Improve timing behavior for UpdateObjectAuthority calls 2016-05-11 13:04:39 +02:00
apilistener.hpp Improve timing behavior for UpdateObjectAuthority calls 2016-05-11 13:04:39 +02:00
apilistener.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apiuser.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apiuser.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
apiuser.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
authority.cpp Improve timing behavior for UpdateObjectAuthority calls 2016-05-11 13:04:39 +02:00
base64.cpp Fix another compiler warning 2016-01-18 09:41:52 +01:00
base64.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
configfileshandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
configfileshandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
configobjectutility.cpp Improve timing behavior for UpdateObjectAuthority calls 2016-05-11 13:04:39 +02:00
configobjectutility.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
configpackageshandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
configpackageshandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
configpackageutility.cpp Rephrase some log messages 2016-02-09 15:59:19 +01:00
configpackageutility.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
configstageshandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
configstageshandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
consolehandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
consolehandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
createobjecthandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
createobjecthandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
deleteobjecthandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
deleteobjecthandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
endpoint.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
endpoint.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
endpoint.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
eventqueue.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
eventqueue.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
eventshandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
eventshandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
filterutility.cpp Fix incorrect variable names for joined fields in filter expressions 2016-05-12 10:24:15 +02:00
filterutility.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpchunkedencoding.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpchunkedencoding.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpclientconnection.cpp Fix deadlock in HttpClientConnection::DataAvailableHandler 2016-02-01 14:50:18 +01:00
httpclientconnection.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httphandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
httphandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
httprequest.cpp Add service metadata to InfluxDB Writer 2016-06-08 13:23:52 +02:00
httprequest.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpresponse.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpresponse.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httpserverconnection.cpp API: Ensure that empty passwords w/ client_cn are properly checked 2016-04-04 16:38:47 +02:00
httpserverconnection.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httputility.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
httputility.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
i2-remote.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
infohandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
infohandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
jsonrpc.cpp Decode cluster messages in the WorkQueue threads 2016-01-27 16:52:01 +01:00
jsonrpc.hpp Decode cluster messages in the WorkQueue threads 2016-01-27 16:52:01 +01:00
jsonrpcconnection-heartbeat.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
jsonrpcconnection.cpp Fix incorrect method call in JsonRpcConnection::MessageHandler 2016-02-01 11:25:34 +01:00
jsonrpcconnection.hpp Decode cluster messages in the WorkQueue threads 2016-01-27 16:52:01 +01:00
messageorigin.cpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
messageorigin.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
modifyobjecthandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
modifyobjecthandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
objectqueryhandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
objectqueryhandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
statushandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
statushandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
typequeryhandler.cpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
typequeryhandler.hpp API: Fix error handling for invalid JSON request body 2016-05-10 15:16:35 +02:00
url-characters.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
url.cpp Add InfluxDB Writer 2016-05-03 14:12:51 +02:00
url.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
zone.cpp Detect infinite recursion in the zone hierarchy graph 2016-03-23 09:03:53 +01:00
zone.hpp Improve the performance for ApiListener::SyncRelayMessage (part 2) 2016-01-27 12:18:16 +01:00
zone.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00