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
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4417Themes and Skins13Add-ons769Graphics 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
Videos Deploying Nagios in a Large Enterprise Environment, at USENIX LISA ’07
0.0 (0)
101.5K
RSS Feed
Newest Listings Updated Listings
Top Contributors
John Shorey (5)Chad Columbus (3)Marcin Bednarski (3)Nick Overstreet (3)Andrea Bolongaro (2)
See More
Newest Contributors
hsh-tro (1)Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Mohammad Ali Alfarra
MA

Mohammad Ali Alfarra

@mhd-ali

User Stats

Member Since: April 23, 2013

Favorites0

Views

Projects0

No Projects Found
check_xen

More changes

- use $DATA instead of do the command again in every status - add Shutoff status "because when the virtual host if off it'll appear nothing" DATA=`xm list $NAME | tail -1` R=`echo "$DATA" | cut -c 64` B=`echo "$DATA" | cut -c 65` P=`echo "$DATA" | cut -c 66` S=`echo "$DATA" | cut -c 67` C=`echo "$DATA" | cut -c 68` D=`echo "$DATA" | cut -c 69` if [ -z $R ] || [ -z $B ] || [ -z $B ] || [ -z $P ] || [ -z $C ] || [ -z $D ]; then echo "Critical - Virtual System is Shutoff" exit 2 fi if [ $R = "r" ] || [ $B = "b" ]; then echo "OK - Virtual System is Up" exit 0 fi if [ $P = "p" ]; then echo "Warning - Virtual System is Paused" exit 1 fi if [ $S = "s" ] || [ $C = "c" ] || [ $D = "d" ]; then echo "Critical - Virtual System is Down" exit 2 fi

Reviewed 13 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile