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 Skins12Add-ons741Documentation283Graphics 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 XI Documentation Changing Host Alive Check In XI
0.0 (0)
94.3K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Claudio Kuenzler (2)
See More
Newest Contributors
Nitatemic (1)cjdepaul (1)ixs (1)messefreeze (2)apham (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Alex
A

Alex

@zorixx

User Stats

Member Since: June 2, 2016

Favorites0

Views

Projects0

No Projects Found
check_megasasctl

It works but not with all types of HDD

With seagate HDD it works perfect but with WD HDD I had a problem because of this string: grep "${i} " $TEMPRAIDSTATUS | grep -v "row" | sed 's/ */ /g'| cut -d' ' -f6 with the last "cut" seagate output without "cut": a0e32s1 SEAGATE ST32000444SS 1863GiB a0d0 online WD output without "cut": a0e32s0 ATA WDC WD2000FYYZ-0 1863GiB a0d0 online So when cut works on seagate CURRENTDISKSTATUS=online on wd CURRENTDISKSTATUS=a0d0 So for WD HDD you need to change this string to : # Log list of degraded disks CURRENTDISKSTATUS=$( grep "${i} " $TEMPRAIDSTATUS | grep -v "row" | sed 's/ */ /g'| cut -d' ' -f7 );

Reviewed 9 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile