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
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics 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
Nagios Log Server Documentation Nagios Log Server – Understanding Email Sending
0.0 (0)
5.8K
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
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > A.
A

A.

@hombre

User Stats

Member Since: May 26, 2015

Favorites0

Views

Projects0

No Projects Found
check_esxcli_hparray

A very good plugin

VMware-vSphere-Perl-SDK must be installed at first on the Nagios system and hp-HPutil package must be installed on the target esxi host, for example for esxi5.5: hp-HPUtil-esxi5.5-bundle-1.6-25.zip. And with this patch it will use the up-to-date command line utility and the message about a failed massive will be much more informative: --- check_esxcli_hparray.sh 2015-02-10 16:35:14.000000000 +0300 +++ check_esxcli_hparray_new.sh 2015-02-16 13:17:53.667530088 +0300 @@ -102,12 +102,12 @@ echo "RAID OK - ($msg_ok)" exit $exit_status elif [ $exit_status -eq "1" ]; then - msg_warning=`echo $check|grep -i rebuild` + msg_warning=`echo $check|grep -i rebuild|sed 's/.*Smart (.*)$/Smart 1/g'` echo "RAID WARNING - ($msg_warning)" exit $exit_status elif [ $exit_status -eq "2" ]; then - msg_critical1=`echo $check|grep -i failed` - msg_critical2=`echo $check|grep -i recovery` + msg_critical1=`echo $check|grep -i failed|sed 's/.*Smart (.*)$/Smart 1/g'` + msg_critical2=`echo $check|grep -i recovery|sed 's/.*Smart (.*)$/Smart 1/g'` echo "RAID CRITICAL - ($msg_critical1 $msg_critical2)" exit $exit_status fi @@ -128,7 +128,7 @@ exit 0 ;; -h) - check=`$ESXCLI -s $2 -u $4 -p $6 hpacucli cmd -q "controller slot=$8 ld all show"` + check=`$ESXCLI -s $2 -u $4 -p $6 hpssacli cmd -q "controller slot=$8 ld all show"` check_raid ;; *)

Reviewed 10 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile