Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4394Themes and Skins11Add-ons743Documentation283Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Other Tutorials And HOWTOs Monitor Fox DataDiode Network with Nagios
0.0 (0)
66.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)Yoann LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)messefreeze (2)
See More
Newest Contributors
RavuAlHemio (1)sowoii (1)Nitatemic (1)cjdepaul (1)ixs (1)
See More

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Manuel
M

Manuel

@carrillm

User Stats

Member Since: June 3, 2014

Favorites0

Views

Projects0

No Projects Found
GlusterFS checks

Very Good script

I tested with gluster 3.4.2 and it's working very well i just modificate the script to manage TB volume with freespace on TB : so on disk part of script replace this: Disk) key=${field[@]:0:3} if [ "${key}" = "Disk Space Free" ]; then freeunit=${field[@]:4} free=${freeunit:0:-2} unit=${freeunit#$free} if [ "$unit" != "GB" ]; then Exit UNKNOWN "unknown disk space size $freeunit" fi free=$(echo "${free} / 1" | bc -q) if [ $free -lt $freegb ]; then freegb=$free fi fi ;; by this : Disk) key=${field[@]:0:3} if [ "${key}" = "Disk Space Free" ]; then freeunit=${field[@]:4} free=${freeunit:0:-2} freeconvgb=`echo "($free*1024)" | bc` unit=${freeunit#$free} if [ "$unit" = "TB" ]; then free=$freeconvgb unit="GB" fi if [ "$unit" != "GB" ]; then Exit UNKNOWN "unknown disk space size $freeunit" fi free=$(echo "${free} / 1" | bc -q) if [ $free -lt $freegb ]; then freegb=$free fi fi ;; Thanks a lot

Reviewed 12 years ago

No Favorites Found

Copyright © 2009-2025 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile