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
Plugins4416Themes and Skins13Add-ons768Graphics 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
Network and Systems Management Check Bandwidth, with iftop (by Nestor@Toronto)
0.0 (0)
9.4K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)John Shorey (4)Nick Overstreet (3)Chad Columbus (3)Marcin Bednarski (3)
See More
Newest Contributors
Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)faddom (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > GHRMSA
G

GHRMSA

@GHRMSA

User Stats

Member Since: April 19, 2018

Favorites0

Views

Projects0

No Projects Found
IBM Storwize V7000 check_ibm_v7000_svc

Everything works perfectly except for the exclusion of multiple hosts with lshost

Hello, I set up the supervision of 3 IBM V7000 (gen1 and gen2) for the Mulhouse hospital. Everything works perfectly except for the exclusion of multiple hosts. For example : bash-4.1$ ./check_ibm_storwize.pl -cluster=x.1.26.x -check=lshost -user=supervision CRITICAL: SRVS3 (offline) bash-4.1$ ./check_ibm_storwize.pl -cluster=x.1.26.x -check=lshost -user=supervision -exclude=SRVS3 OK: all host online bash-4.1$ ./check_ibm_storwize.pl -cluster=x.2.26.x -check=lshost -user=supervision CRITICAL: SRAPPLIDIS-H4 (offline) SRIMAGEVAULT (offline) SRAPPLIDIS-H3 (offline) SRAPPLIDIS-H5 (offline) SRVS3 (offline) SRAPPLIDIS-H1 (offline) SRSCCM-CAS (offline) SRSCCM-H1 (offline) SRDC5 (offline) bash-4.1$ ./check_ibm_storwize.pl -cluster=x.2.26.x -check=lshost exclude=SRAPPLIDIS-H4,SRIMAGEVAULT,SRAPPLIDIS-H3,SRAPPLIDIS-H5,SRVS3,SRAPPLIDIS-H1,SRSCCM-CAS,SRSCCM-H1,SRDC5 -user=supervision CRITICAL: SRAPPLIDIS-H4 (offline) SRIMAGEVAULT (offline) SRAPPLIDIS-H3 (offline) SRAPPLIDIS-H5 (offline) SRVS3 (offline) SRAPPLIDIS-H1 (offline) SRSCCM-CAS (offline) SRSCCM-H1 (offline) SRDC5 (offline) The separator is normally a comma. Despite everything I do not get the expected result. Our Storwize are in version 7.8.1.4. Who could help us ?

Reviewed 8 years ago

check_ibm_bladecenter.py

Blowers bug fix

Follows a fan failure on one of our BladeCenter in our hospital. I corrected the bug that indicates OK status despite one of the failed fans on both. Since this is a major issue on a BladeCenter, I removed the warning state to go directly to critical. For that I control the state returned for the fan "blower1state and blower2state and I add in addition a condition for which the fan must have a speed of rotation different from 0%: and blower1speed != "0% of maximum": def check_blowers(): " Check blower status " blowers = getTable("1.3.6.1.4.1.2.3.51.2.2.3") # This mib only seems to support 2 blowers. blower1speed = snmpget("1.3.6.1.4.1.2.3.51.2.2.3.1.0") blower1state = snmpget("1.3.6.1.4.1.2.3.51.2.2.3.10.0") blower2speed = snmpget("1.3.6.1.4.1.2.3.51.2.2.3.2.0") blower2state = snmpget("1.3.6.1.4.1.2.3.51.2.2.3.11.0") add_long( "Blower 1 state=%s speed=%s" % (blower1state,blower1speed) ) add_long( "Blower 2 state=%s speed=%s" % (blower2state,blower2speed) ) add_perfdata("blower1=%s" %(blower1speed.split(None,1)[0] )) add_perfdata("blower2=%s" %(blower2speed.split(None,1)[0] )) # Check blower 1 if blower1state == "1" and blower1speed != "0% of maximum": nagios_status(ok) add_summary("Ventilateur 1 OK. " ) else: add_summary("Ventilateur 1 KO. ") nagios_status(critical) # Check blower 2 if blower2state == "1" and blower2speed != "0% of maximum": nagios_status(ok) add_summary("Ventilateur 2 OK. " ) else: add_summary("Ventilateur 2 KO. ") nagios_status(critical)

Reviewed 7 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile