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
Plugins4391Themes and Skins11Add-ons738Documentation283Graphics 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 Network Monitoring with Nagios
0.0 (0)
64.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
messefreeze (2)apham (1)mngvn (2)Georg2Korger2 (1)Guillaume8723 (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Björn Becker
BB

Björn Becker

@beli-consulting

User Stats

Member Since: February 24, 2016

Favorites0

Views

Projects0

No Projects Found
Check cpu, men and pagin space for AIX

pgspace usage was wrong

Please find my fix below: .... .... .... retour_srfr=$(vmstat 1 2 | awk '{ print $8" "$9 }' | tail -1) fr=$(echo $retour_srfr | cut -d " " -f1 ) sr=$(echo $retour_srfr | cut -d " " -f2 ) retour_numperm=$(vmstat -v | grep numperm | sed 's/ //g' | cut -d " " -f 2) retour_inuse=$(svmon | awk '{ print $3 }' | head -2 | tail -1) retour_memory=$(svmon | awk '{ print $2 }' | head -2 | tail -1) retour_pguse=$(svmon | grep "pg space" | awk '{ print $4 }') retour_pgsize=$(svmon | grep "pg space" | awk '{ print $3 }') .... .... .... pgspaceused) retour_pg_used=$(expr 100 * $retour_pguse / $retour_pgsize) str_out="$str_out $retour_pg_used% " if (( $retour_pg_used > $valw)) then ok=1 fi if (( $retour_pg_used > $valc)) then ok=2 fi # Sortie au format perfparse echo "$str_out PgSpaceUsed = $retour_pg_used%;| PgSpaceUsed=$retour_pg_used%;$valw;$valc"; exit $ok ;; esac .... .... ....

Reviewed 10 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile