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-ons762Graphics 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 Monitor For Out Of Date And Inactive Machines With Nagios
0.0 (0)
66.3K
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 > 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