Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_GPFS_mmlsquota
0.1
2014-05-19
- Nagios 3.x
- Nagios 4.x
21348
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!
It uses the mmlsfileset and mmlsquota commands from GPFS to check this and report back to nagios the current usage, hard quota and percentage used and is formatted in a single service.
commands.cfg line:
# 'check_quota' command definition
define command{
command_name check_quota
command_line sudo $USER1$/check_quota.sh
}
services.cfg command:
define service{
use generic-service
host_name {management node/storage node}
service_description Quota Check
check_command check_quota
}
sudoers file:
nagios ALL=(ALL) NOPASSWD:/usr/lib64/nagios/plugins/check_quota.sh
nagios ALL=(ALL) NOPASSWD:/usr/lpp/mmfs/bin/mmlsfileset
nagios ALL=(ALL) NOPASSWD:/usr/lpp/mmfs/bin/mmlsquota
Reviews (0)
Be the first to review this listing!