Nagios Exchange
  • Home
  • Directory
  • 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
Plugins4387Themes and Skins11Add-ons732Documentation283Graphics 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
Passive Checks NSCAFE – A Forwarding Version of NSCA
0.0 (0)
98.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More
Home > Manuel
M

Manuel

@carrillm

User Stats

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 11 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks