-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
# check_win | ||
|
||
COREX Windows host agentless check plugin for Icinga 2 | ||
|
||
### Features | ||
- checks Windows host over SSH | ||
- prints performance data for Icinga 2 Graphite Module ( and other solutions like Graphite ) | ||
- available subcommands: cpu, disk-health, disk-usage, memory, network, procs, swap, user-logged-on, user-count, winfo | ||
- warning/critical thresholds for each separate subcommands | ||
- for more details run check_win.py --help | ||
|
||
### Usage | ||
|
||
<pre><code> | ||
# cd /usr/lib/nagios/plugins | ||
# ./check_win.py --hostname mywin.mydomain.com --sshuser john.doe --sshkey /var/lib/nagios/.ssh/idrsa.pub --subcommand cpu --warning 70 --critical 90 | ||
OK - CPU usage is 14.5 %. | usage=14.5%;70;90;0;100 | ||
# | ||
</code></pre> | ||
|
||
<pre><code> | ||
# cd /usr/lib/nagios/plugins | ||
# ./check_win.py --hostname mywin.mydomain.com --sshuser john.doe --sshkey /var/lib/nagios/.ssh/idrsa.pub --subcommand disk-usage --warning 80 --critical 90 | ||
WARNING - C (No label) drive usage is 82.17 % (188.94 GB / 229.95 GB). |C=188.94GB;183.96;206.96;0;229.95 | ||
OK - D (backup) drive usage is 0.26 % (0.13 GB / 50.0 GB). |D=0.13GB;40.0;45.0;0;50.0 | ||
# | ||
|
||
</code></pre> | ||
|
||
|
||
|
||
### Version | ||
|
||
- 1.13 | ||
|
||
### ToDo | ||
|
||
- waiting for bugs or feature requests (-: | ||
|
||
## Changelog | ||
|
||
- [initial release] version 1.13 | ||
|