File System

check_snfs_clients

Description:

Nagios plugin for Quantum StorNext Filesystem.

Check internal filesystem latency for clients via Quantum’s cvadmin utility. Returns average of all clients as well as lowest / highest client latency with optional DNS name / IP.
Should work with all SNFS versions. Confirmed working with SNFS > 4.1
Returns optional perfdata.
PNP4NAGIOS template.

Current Version

0.4b

Last Release Date

February 25, 2012

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Notes
check_snfs_clients.sh, Version 0.4b for Nagios and Quantum StorNext. Usage check_snfs_clients.sh -F [-w ] [-c ] [-e ] [-i] [-p] [-v] [-h] [-V] Script runs cvadmin on named host and SNFS file system with command "latency-test". Returns avagage latency of all clients as well as minimal and maximal latency client. Warns if latency is exceeded by any client. Warning: Due to the nature of the test this command has a long runtime, about 2 seconds per FS client. -H Hostname to run cvadimin on. Defaults to localhost -F SNFS filesystem to test. Defaults to cvfs01 -w Warning level in us. Has to be lower then critical level. Defaults to 300 -c Critical level in us. Has to be higher then warning level. Defaults to 600 -e Path to cvadmin binary. Make sure nagios user may sudo this! Defaults to /usr/cvfs/bin/cvadmin -i Do not ignore FSM. By default the file system manger is ignored since it has localhost latency. -I IP Mode. Use this when cvadmin is unable to resolve DNS names or output of full FDQN is preferred. Default off. -v Verbose summary. Outputs all clients exceeding warning and critical. -t run internal test case -T run external test on file -f Location for temporary file. Defaults to /tmp/check_snfs_clients.tmp -p Disable performance data output. -h Print this usage and exit. -V Print version info and exit. EXAMPLE check_snfs_clients.sh -v -F cvfs01 -w 200
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
71,965