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

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4405Themes and Skins13Add-ons757Graphics 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
Windows AD Replication Check (with performance counters from DRA)
4.6 (5)
99.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Julien DESMAREST (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)juanfertor (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Chris Reece
CR

Chris Reece

@car

User Stats

Member Since: December 14, 2010

Favorites0

Views

Projects0

No Projects Found
check_hds_ams.pl

Looks good so far

This also works on our AMS2300s. Thanks for saving me some valuable time and effort. I had a couple of minor troubles, hopefully they'll help someone. Firstly, I had trouble because I assumed that our AMS' community string would be "public". D'oh. I found it under Storage Nav -> Arrays -> (array) -> Settings -> SNMP Agent ->Environment Settings Secondly, the script suffers a runtime failure when it attempts to report a failure: Use of uninitialized value in string eq at check_hds_ams line 191. which, unless I've misunderstood, appears to be a broken test in a home-rolled join() function. The following seems to be a fix: --- /tmp/check_hds_ams.pl 2010-12-14 14:39:30.000000000 +1300 +++ check_hds_ams 2010-12-14 19:11:29.000000000 +1300 @@ -186,9 +186,6 @@ } } # separate messages by commas to be human friendly - for my $err (@errs) { - $result .= $err; - $result .= ", " unless $errs[-1] eq $_; - } + $result .= join ", ", @errs; return $result; }

Reviewed 15 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile