Commit Graph

17 Commits

Author SHA1 Message Date
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Per von Zweigbergk 5c18c1ed2d Fixed precision for percentage calculations with large units
The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.

fixes #10497

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-19 11:30:12 +01:00
Gunnar Beutner 599929b0f6 Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
Michael Friedrich f7b5aa33ce Fix a couple of wrong white spaces 2015-09-18 13:04:09 +02:00
Jean Flach 56f92f7846 Refactor plugin code 2015-03-23 13:07:02 +01:00
Jean Flach 377f66c403 Add some failsafes to the windows plugins 2015-02-17 15:54:23 +01:00
Jean Flach acff66875d Add check_memory, update check_swap, thresholds
Adds check_memory which works like check_swap which has been updated to work like check_memory
Both sport a -u(nit) option with MB as default, like their linux versions.
A possible bug with all plugins having the -u(nit) option when using -u kB has been fixed. Don't use icinga to monitor you commodore though.

refs #8287 #8060
2015-02-03 10:22:09 +01:00
Jean Flach 25f2636a77 Fix check_swap returning wrong status without thresholds. 2015-02-02 15:11:11 +01:00
Jean Flach 4771f79f35 Change how check_swap works and a debug line in check_disk
check_swap should now be faster and more accurate, it also checks against free space instead of taken swap.
The output and CMakeLists have been updated accordingly.

fixes #8287 refs #8060
2015-02-02 11:21:44 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Jean Flach c11f2d5ca2 Add -d/--debug option for windows plugins
#fixes 8119
2015-01-12 15:53:25 +01:00
Jean Flach 2e9944f4bd Change some things up in the windows-plugins
refs #7886 #7778 #8060 #8115
2014-12-19 10:21:38 +01:00
Jean Flach e1b5954e62 Clean up check plugins more 2014-11-14 14:36:10 +01:00
Jean Flach 616716dc55 Clean up check plugins.
fixes #7670 #7669
2014-11-14 13:57:54 +01:00
Jean Flach 22e3e48669 Fix check_plugins dying with certain parameters 2014-11-10 14:39:12 +01:00
Jean Flach 83e6fb3083 Make check plugins decent
fixes #7242
2014-11-06 16:36:42 +01:00
Jean Flach ea8fd12a07 Add Windows plugins
refs #7242
2014-11-06 15:17:08 +01:00