icinga2/plugins
Gunnar Beutner 4fcb668b79 Ignore -W and -K arguments for check_disk on Windows
fixes #9913
2015-08-15 10:26:43 +02:00
..
CMakeLists.txt Add check_perfmon 2015-03-23 13:09:29 +01:00
README.md Change plugins output and update README 2015-01-23 16:34:16 +01:00
check_disk.cpp Ignore -W and -K arguments for check_disk on Windows 2015-08-15 10:26:43 +02:00
check_disk.h Add path exclusion to check_disk.exe 2015-06-23 13:15:55 +02:00
check_load.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_load.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_memory.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_memory.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_network.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_network.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_perfmon.cpp Add check_perfmon 2015-03-23 13:09:29 +01:00
check_perfmon.h Add check_perfmon 2015-03-23 13:09:29 +01:00
check_ping.cpp Fix bug where -p was ignored 2015-07-16 13:07:19 +02:00
check_ping.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_procs.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_procs.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_service.cpp Remove thresholds from check_service.exe 2015-06-23 13:37:13 +02:00
check_service.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_swap.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_swap.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_update.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_update.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_uptime.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_uptime.h Refactor plugin code 2015-03-23 13:07:02 +01:00
check_users.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
check_users.h Refactor plugin code 2015-03-23 13:07:02 +01:00
thresholds.cpp Refactor plugin code 2015-03-23 13:07:02 +01:00
thresholds.h Refactor plugin code 2015-03-23 13:07:02 +01:00

README.md

Icinga 2 plugins for Windows

This collection of plugins is intended to provide basic functionality checks on windows machines.
They (mostly) conform to the nagios developer guidelines, returning adequate exit codes and printing a pertinent string with performance data.

Intallation

The plugins are installed as part of Icinga 2.

Requirements

  • Boost 1.41.0
  • Windows Vista, Windows Server 2008 or newer

Usage

Call a plugin with the "--help" option to receive information about its usage.
Most of them don't need any parameters to but all of them have a -w (warning) and -c (critical) option. Those accept, if not otherwise specified, value or percentage based thresholds or threshold ranges.

A few examples:
./check_command.exe -w 12 -c !60%
Adds a warning threshold of 12 and an inversed critical threshold of 60%

./check_command.exe -w ![20%-80%] -c [0%-40%]
The warning threshold is outside of 20% to 80% and the critical threshold is the range from 0% to 40%.
A critical state always overwrites a warning state, meaning the check would be critical with a value of 30%.

License

Icinga 2
Copyright (C) 2012-2015 Icinga Development Team (http://www.icinga.org)

This program is free software; you can redistribute it and/or
modify it under the tems of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.