Commit Graph

28 Commits

Author SHA1 Message Date
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 Insel 160a7716c5 Fix state conditions in check_memory and check_swap
This fixes the state conditions in check_memory and check_swap. This
turns the if/else if/else statements in simple if statements, since they
won't work properly when both thresholds are broken.

This also implements a new function to get a given state as wstring.
2018-11-29 22:16:57 +01:00
Michael Friedrich dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +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 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
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
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 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
Michael Friedrich b7caf0820d Ensure that *.icinga.com is used everywhere
fixes #13897
fixes #13277
2017-01-10 17:19: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 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 a4bfa99552 Change plugins output and update README
In their perfdata the plugins will now use absolute values for percentage thresholds.
Also the check_disks output is now more similar to the one of nagios/check_disk.
The README has also been improved.

refs #7886 #8060
2015-01-23 16:34:16 +01:00
Michael Friedrich 78bfd0204c Update copyright year 2015-01-22 12:00:23 +01:00
Jean Flach 23acc2408d Fix a compiler warning
fixes #8114
2014-12-19 09:36:59 +01:00
Jean Flach 8f7d3a29cc Add files needed by last commit 2014-12-17 14:23:20 +01:00
Gunnar Beutner 023cfc15bb Some minor plugin fixes 2014-11-19 06:40:58 +01:00
Jean Flach e1b5954e62 Clean up check plugins more 2014-11-14 14:36:10 +01:00
Gunnar Beutner 979b99ea6f Build fix for the Windows plugins 2014-11-13 20:12:24 +01:00
Jean Flach f85be08480 Improve check argument parsing 2014-11-13 15:57:10 +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