Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
This plugin checks load of Watchguard device and returns load performance data
Current Version
1.0
Last Release Date
2022-03-04
Owner
Juan Granados
Website
https://github.com/juangranados/nagios-plugins
Download URL
https://github.com/juangranados/nagios-plugins/blob/master/check_wg_load.sh
License
GPL
Compatible With
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
You must be logged in to submit a review.
To:
From: