Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
This is a plugin that monitors swap usage and so (if it's still writting)
Current Version
1.0
Last Release Date
2019-07-22
Owner
denis
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2019/07/check_swap_so_snmp.py
Compatible With
Previously I used the plugin check_snmp_mem.pl to check the amount of Memory and Swap. But when the swap was above the thresold I didn't see swap out/in (so si ) with vmstat. As linux doesn't deallocat the swap which not in use anymore, the alert stay indefinitely. So I decided to make this script (I'm a python beginner..) This plugin written in python use the plugin check_snmp_mem.pl and snmpwalk. The first checks if the swap is above the treshold and if it's above , the second command checks the amount of swap out. If swap out is egal to 0kb, the check returns a OK result. If not it returns a warning or critical result according to treshold. usage : check_swap_so_snmp.py -H host -c community -w WarningMemory,warningSwap -c criticalMemory,CriticalMemory. example: check_swap_so_snmp.py -H x.x.x.x -c community -w 90,20 -c 95,30
This plugin is very useful to check if the swap alert is relevant
You must be logged in to submit a review.
To:
From: