Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
this shell runs on nagios server,it can check aix os disk usage by snmp protocol,it supports checking aix5.3 and aix6.1 etc
Current Version
1.0
Last Release Date
2014-06-25
Owner
helmetman
License
GPL
Compatible With
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
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!