Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Watchguard Memory
Current Version
1.0
Last Release Date
2022-03-04
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
Hits
1433
Usage: check_wg_mem.sh [options]
# -h | --host: ip of device.
# -w | --warning: % of memory warning. Default 85.
# -c | --critical: % of memory critical. Default 95.
# -v | --version: snmp version. Default 2. Depends on version you must specify.
##### 2: -s | --string: snmp community string.
##### 3: -u | --user: user. -p | --pass: password.
Example: check_wg_mem.sh -h 192.168.2.100
Example: check_wg_mem.sh -h 192.168.2.100 -c 80 -w 90 -v 2 -s publicwg
Example: check_wg_mem.sh -h 192.168.2.100 -c 80 -w 90 -v 3 -u read -p 1234567789
# Output example, with performance data after |
Ok. Memory usage: 58% | %mem_used=58%;90;100;0;100 %swap_used=0%;90;100;0;100 mem_used=2318860KB;;;0;3944812 mem_free=1625952KB;;;0;3944812 swap_used=0KB;;;0;0 swap_free=0KB;;;0;0
# -h | --host: ip of device.
# -w | --warning: % of memory warning. Default 85.
# -c | --critical: % of memory critical. Default 95.
# -v | --version: snmp version. Default 2. Depends on version you must specify.
##### 2: -s | --string: snmp community string.
##### 3: -u | --user: user. -p | --pass: password.
Example: check_wg_mem.sh -h 192.168.2.100
Example: check_wg_mem.sh -h 192.168.2.100 -c 80 -w 90 -v 2 -s publicwg
Example: check_wg_mem.sh -h 192.168.2.100 -c 80 -w 90 -v 3 -u read -p 1234567789
# Output example, with performance data after |
Ok. Memory usage: 58% | %mem_used=58%;90;100;0;100 %swap_used=0%;90;100;0;100 mem_used=2318860KB;;;0;3944812 mem_free=1625952KB;;;0;3944812 swap_used=0KB;;;0;0 swap_free=0KB;;;0;0
Reviews (0)
Be the first to review this listing!