Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Watchguard Load
1.0
2022-03-04
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
2384
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Usage: check_wg_load.sh [options]
# -h | --host: ip of device.
# -w1 | --warning1: load1 warning. Default: 0.7
# -c1 | --critical1: load1 critical. Default: 1.
# -w5 | --warning5: load5 warning. Default: 0.7
# -c5 | --critical5: load5 critical. Default: 1.
# -w15 | --warning15: load15 warning. Default: 0.7
# -c15 | --critical15: load15 critical. Default: 1.
# -a | --auto: auto detects number of cores and multiply warning and critical by cores.
##### Ex. warning=0.7 and critical=1 will be w=2.8 and c=4 on a device with 4 cores.
# -v | --version: snmp version. Depends of version you must specify. Default 2.
##### 2: -s | --string: snmp community string. Default public
##### 3: -u | --user: user. -p | --pass: password.
Example: check_wg_load.sh -h 192.168.2.100 -a
Example: check_wg_load.sh -h 192.168.2.100 -c1 1 -w1 0.7 -w5 0.5 -c5 0.8 -w15 0.5 -c15 0.6 -v 2 -s publicwg -a
Example: check_wg_load.sh -h 192.168.2.100 -c1 2 -w1 0.8 -v 3 -u read -p 1234567789 -a
Example of output with performance data after |
Ok. CPU load average: 0.04, 0.09, 0.03 | load1=0.04;2.8;4;0;4 load5=0.09;2.8;4;0;4 load15=0.03;2.8;4;0;4
# -h | --host: ip of device.
# -w1 | --warning1: load1 warning. Default: 0.7
# -c1 | --critical1: load1 critical. Default: 1.
# -w5 | --warning5: load5 warning. Default: 0.7
# -c5 | --critical5: load5 critical. Default: 1.
# -w15 | --warning15: load15 warning. Default: 0.7
# -c15 | --critical15: load15 critical. Default: 1.
# -a | --auto: auto detects number of cores and multiply warning and critical by cores.
##### Ex. warning=0.7 and critical=1 will be w=2.8 and c=4 on a device with 4 cores.
# -v | --version: snmp version. Depends of version you must specify. Default 2.
##### 2: -s | --string: snmp community string. Default public
##### 3: -u | --user: user. -p | --pass: password.
Example: check_wg_load.sh -h 192.168.2.100 -a
Example: check_wg_load.sh -h 192.168.2.100 -c1 1 -w1 0.7 -w5 0.5 -c5 0.8 -w15 0.5 -c15 0.6 -v 2 -s publicwg -a
Example: check_wg_load.sh -h 192.168.2.100 -c1 2 -w1 0.8 -v 3 -u read -p 1234567789 -a
Example of output with performance data after |
Ok. CPU load average: 0.04, 0.09, 0.03 | load1=0.04;2.8;4;0;4 load5=0.09;2.8;4;0;4 load15=0.03;2.8;4;0;4
Reviews (0)
Be the first to review this listing!