Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bgabika authored Mar 19, 2023
1 parent 56d0c09 commit 0dd0a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ COREX Windows host agentless check plugin for Icinga 2, v1.15

<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
# ./check_win.py --hostname mywin.mydomain.com --sshuser john.doe --sshkey /var/lib/nagios/.ssh/idrsa --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
# ./check_win.py --hostname mywin.mydomain.com --sshuser john.doe --sshkey /var/lib/nagios/.ssh/idrsa --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
#
Expand Down

0 comments on commit 0dd0a57

Please sign in to comment.