Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bgabika authored Dec 25, 2022
1 parent 8761e5a commit 92a7987
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions readme.md
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

0 comments on commit 92a7987

Please sign in to comment.