Yonas Habteab
a0607aceff
Fix compiler warnings don't move local variables
2022-02-22 17:51:43 +01:00
Alexander A. Klimov
ba1ce9c853
Replace std::shared_ptr<boost::asio::ssl::context> with Shared<boost::asio::ssl::context>::Ptr
2019-10-21 16:12:46 +02:00
Alexander A. Klimov
a1683568a1
Replace std::shared_ptr<AsioTlsStream> with Shared<AsioTlsStream>::Ptr
2019-10-21 16:12:35 +02:00
Michael Friedrich
5fa7331cc9
Quality: Replace deprecated Boost IO service code
...
https://github.com/boostorg/asio/issues/110
https://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/example/cpp03/services/logger_service.hpp
2019-09-09 15:27:57 +02:00
Alexander A. Klimov
d10f121616
check_nscp_api: fix missing HTTP response reason
2019-08-27 10:39:24 +02:00
Alexander A. Klimov
e71cc24854
check_nscp_api: read HTTP response via Boost.Beast
2019-08-26 15:57:10 +02:00
Bas Couwenberg
3ce4c6aead
Fix spelling errors.
...
* UNKNWON -> UNKNOWN
2019-07-27 09:00:24 +02:00
Michael Friedrich
eb3ce9cb83
check_nscp_api: Rewrite using Boost ASIO and Beast
...
This includes a huge workaround for NSCP not sending
the status reason correctly. Therefore parsing the raw
data buffer is required, otherwise we could just use
Beast's builtin HTTP parser as everywhere else.
refs #7142
refs #7041
2019-05-23 13:36:38 +02:00
Markus Frosch
9c3cf9731c
Ensure header ordering for win32 mswsock.h
2019-04-25 11:54:26 +02:00
Alexander A. Klimov
ba842403ce
Fix circular #include
...
refs #6985
2019-04-25 08:25:28 +02:00
Michael Friedrich
d14a88235d
Replace Copyright header with a short version, part I
...
CLion -> replace in path
2019-02-25 14:48:22 +01:00
Michael Friedrich
dab53448bc
icinga.com: Update *.{h,c}pp
2018-10-18 09:27:04 +02:00
Michael Friedrich
d9a55ac064
Add console logger for nscp_api debug mode
2018-06-21 15:08:44 +02:00
Michael Friedrich
b3970d4b74
Add headers to debug output
2018-06-21 15:08:36 +02:00
Michael Friedrich
139478672f
Fix check_nscp_api for multiple URL parameter usage
...
NSClient++ doesn't support the bracket notation.
refs #5706
2018-04-06 15:23:31 +02:00
Gunnar Beutner
0c006637ea
Clean up the Icinga plugins a bit
2018-03-01 15:27:09 +01:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a
Whitespace fix
...
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner
96e214221d
Remove unused variables
2017-12-14 08:50:09 +01:00
Gunnar Beutner
6d09efc907
Use std::shared_ptr instead of boost::shared_ptr
2017-11-30 17:41:00 +01:00
Gunnar Beutner
858873b940
Replace boost::bind/boost::function with std::bind/std::function
2017-11-27 15:15:11 +01:00
Adam James
ec28c56943
check_nscp_api: Allow arguments containing spaces
2017-08-30 17:07:11 +01:00
Michael Friedrich
6036ec20f5
Build fix for Debian Wheezy
...
fixes #5350
2017-06-16 16:57:05 +02:00
Jean Flach
39c24e9ec9
Add check_nscp_api plugin for NSClient++ API checks
...
refs #4721
2017-06-13 21:17:16 +02:00