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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4401Themes and Skins12Add-ons755Graphics 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 Nagios and NConf on Ubuntu 10.04 Lucid Lynx
0.0 (0)
65.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)Julien DESMAREST (6)deskwork_itunes142 (4)Davide Lemma (4)Sam N (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)juanfertor (1)zsoltaire (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Paul So
PS

Paul So

@paulso

User Stats

Member Since: January 6, 2016

Favorites0

Views

Projects0

No Projects Found
check_snmp_aix_disk.sh

I did some customization for myself, enjoy it

1. customized to display output as MB and GB depends on the size of partition. 2. customized to display usage in percentage only when normal while displaying total, used, free when warn or cri 249c249 #convert size to MB and GB 250a251 > (( total_G=${total_M}/1024 )) 251a253 > (( used_G=${used_M}/1024)) 253a256 > (( avail_G=${avail_M}/1024 )) 255a259,276 > > if [[ $total_M -gt 1024 ]];then > total_out="total=${total_G}GB" > else > total_out="total=${total_M}MB" > fi > > if [[ $used_M -gt 1024 ]];then > used_out="used=${used_G}GB" > else > used_out="used=${used_M}MB" > fi > > if [[ $avail_M -gt 1024 ]];then > avail_out="free=${avail_G}GB" > else > avail_out="free=${avail_M}MB" > fi 259a281 > PERF="$PERF ${disk_array[$k]} Usage:${use_percent}%;" 262a285 > PERF="$PERF ${disk_array[$k]} Usage:${use_percent}% ${total_out} ${used_out} ${avail_out};" 265a289 > PERF="$PERF ${disk_array[$k]} Usage:${use_percent}% ${total_out} ${used_out} ${avail_out};" 267d290

Reviewed 10 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile