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

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
  • Submit Feedback
Plugins4406Themes and Skins13Add-ons760Graphics 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
Network Connections, Stats and Bandwidth Linux Check PPS, BPS, or Current Line Rate % of NIC
0.0 (0)
29.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)Davide Lemma (3)Chad Columbus (3)Marcin Bednarski (3)Andrea Bolongaro (2)
See More
Newest Contributors
pawal (1)matthewducey (1)Linuxfabrik (1)signalgrid (1)Sanna Glue (2)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Alexandre Luiz Azevedo de Oliveira
AL

Alexandre Luiz Azevedo de Oliveira

@lionbatata

User Stats

Member Since: April 18, 2011

Favorites0

Views

Projects0

No Projects Found
check_lvm

A litle correction and contrib

change the line: ## Get lv's and their df's for vg in `lvs --noheadings --nosuffix --units b --separator " " --options vg_name`; do for: for vg in `vgs --noheadings --nosuffix --units b --separator " " --options vg_name`; do For enhanced the output, change the entire block code as above: ## Get lv's and their df's for vg in `vgs --noheadings --nosuffix --units b --separator " " --options vg_name`; do for lv in `lvs --noheadings --nosuffix --units b --separator " " --options lv_name $vg`; do if [[ `mount | grep $vg | grep $lv` ]]; then dfout=`df -P --block-size=1 | grep $vg | grep $lv` outper=`echo "$dfout" | grep --only-matching "[0-9]*%"` outname="$vg/$lv" outmount=`echo "$dfout" | awk '{print $6}'` #`echo "$dfout" | awk '{ print $1 }'` outnum=`expr match "$outper" '([0-9]*)'` if [ $thresh_crit ] && [ "$outnum" -ge "$thresh_crit" ]; then critflag=1 msgs="$msgs$outname/$outper ($outmount)" elif [ $thresh_warn ] && [ "$outnum" -ge "$thresh_warn" ]; then warnflag=1 msgs="$msgs$outname/$outper ($outmount)" fi fi done done

Reviewed 15 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile