Commit Graph

108 Commits

Author SHA1 Message Date
Michael Friedrich b2957bb812
Merge pull request #6651 from Icinga/feature/check-swap-show-used
Add 'used' feature to check_swap
2018-10-09 08:36:22 +02:00
Michael Insel 9390d7e453 Add 'used' feature to check_swap
This implements the _used_ feature to check_swap to print the used swap
instead of the default available swap.
2018-10-06 20:26:43 +02:00
Michael Insel 002f59e53a Fix check_memory thresholds in 'used' mode
The thresholds in the used mode now breaks if the value is bigger than
the threshold.
2018-10-04 11:09:13 +02:00
Michael Friedrich fbf4546357
Merge pull request #6313 from Icinga/fix/win-check-swap
Fix wrong calculation of check_swap windows plugin
2018-09-27 10:08:47 +02:00
Michael Friedrich c02ba3fdfa
Merge pull request #6407 from Icinga/fix/win-check-uptime-perfdata-6406
Fix wrong UOM in check_uptime windows plugin
2018-06-26 14:09:30 +02:00
Michael Friedrich 73f69e89d9
Merge pull request #6412 from Icinga/fix/plugin-output
Fix output formatting in windows plugins
2018-06-26 09:54:43 +02:00
Michael Insel 5dc900369d Fix wrong UOM in check_uptime windows plugin
This fixes the usage of unvalid UOM in the check_uptime windows plugin.
The performance data will now provided in seconds.
2018-06-25 18:29:24 +02:00
Jean Flach 6c282d617f Fix output formatting in windows plugins
Adds a newline to check_memory and check_ping now looks up and prints
error messages when host resolution fails.
2018-06-25 13:17:34 +02:00
Michael Insel ab1c8d93e6 Fix wrong calculation of check_swap windows plugin
This fixes the wrong calculation of the check_swap windows plugin.
2018-06-24 00:24:14 +02:00
Michael Friedrich 071617da9f Conform to the Plugin API spec for performance label quoting
Single quotes are allowed, double quotes are not.
2018-06-22 11:12:57 +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
Jean Flach 303d9c61c8
Merge pull request #6239 from Icinga/fix/windows-check-memory
Fix Windows check_memory rounding
2018-05-04 16:38:21 +02:00
Michael Insel 8cbb7494d2 Fix Windows check_memory rounding
This fixes a rounding problem within the Windows check_memory plugin.

refs #6161
2018-04-18 21:42:43 +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
Noah Hilverling e9643467a0
Fix code style 2018-02-21 15:13:50 +01:00
Jean Flach de9adb2687 Add 'used' feature to check_memory
Analogous to check_disk -U can now be used to check against and print the
used memory instead of the default available memory.

fixes #6108
2018-02-21 15:10:26 +01:00
Jean Flach 1da6b2c883 Fix whitespaces in CMakeLists files
Uses 2 space indentation as standard
2018-01-19 09:19:40 +01:00
Gunnar Beutner e1134fd3d9 Build all remaining libraries as object libraries 2018-01-17 14:59:02 +01:00
Gunnar Beutner 2a9dceb367 Use CMake object libraries for our libs 2018-01-17 04:28:21 +01:00
Gunnar Beutner 75e2473616 Clean up source lists in the CMakeLists.txt files 2018-01-03 11:47:46 +01:00
Gunnar Beutner 90496b5456 Build libraries as static libraries 2018-01-02 23:29:48 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Michael Insel 3171b9548b Fix check_swap build error 2017-12-21 19:13:48 +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 1bf12c9685
Merge pull request #5857 from Icinga/fix/compiler-warnings
Fix compiler warnings
2017-12-14 13:49:25 +01:00
Jean Flach 55aca4f3e5 Fix check_service returning Warning instead of Critical
fixes #5849
2017-12-14 11:22:43 +01:00
Gunnar Beutner 3c5af89d5f Fix compiler warnings 2017-12-14 09:15:37 +01:00
Gunnar Beutner 42744fde5b Remove extraneous whitespace 2017-12-14 08:50:09 +01:00
Gunnar Beutner 50b2d0ca72 Fix incorrect format strings 2017-12-14 08:50:09 +01:00
Gunnar Beutner 96e214221d Remove unused variables 2017-12-14 08:50:09 +01:00
Jean Flach 5af5d38c26 Replace boost foreach and bind
fixes #5821
2017-12-12 13:29:50 +01:00
Gunnar Beutner 6d09efc907 Use std::shared_ptr instead of boost::shared_ptr 2017-11-30 17:41:00 +01:00
Gunnar Beutner f3c825cb86
Merge pull request #5803 from Icinga/feature/cxx11-std-bind
Replace boost::bind/boost::function with std::bind/std::function
2017-11-29 08:28:44 +01:00
Gunnar Beutner 858873b940 Replace boost::bind/boost::function with std::bind/std::function 2017-11-27 15:15:11 +01:00
Jean Flach d1d1c2e2e8 Make --perf-syntax also change short message
refs #5418
2017-11-08 17:05:43 +01:00
Jean Flach 61a9eb13c1 Fix check_service not working with names
This change fixes check_service not working correctly when using
descriptions instead of names.
This should probably be in 2.8.0
2017-11-07 17:47:35 +01:00
Adam James ec28c56943 check_nscp_api: Allow arguments containing spaces 2017-08-30 17:07:11 +01:00
Jean Flach 3427aca7d2 Merge pull request #5435 from Icinga/feature/3891-service-description
Add -d option to check_service
2017-08-07 11:36:20 +02:00
Jean Flach 94f58f2c2e Add -d option to check_service 2017-07-26 17:02:18 +02:00
Jean Flach ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +02:00
Jean Flach 1dc93d8910 Refactor code
refs #5421
2017-07-24 09:53:25 +02:00
mcktr 17866475ff Refactored code to add feature to check used space for check_disk 2017-07-20 19:16:42 +02: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
Jean Flach 2932651b64 Fix incorrect state in check_ping
fixes #5223
2017-05-04 09:39:46 +02:00
Andreas Scherbaum 775bee8fe1 Replace http:// links with https:// links where a secure website exists
Leave out tests and third party tools, and license strings

fixes #5151

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:33:27 +02:00
Jean Flach c3b0051360 Add --perf-syntax option to check_perfmon
fixes #4896
2017-02-20 09:22:58 +01:00
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00