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 Skins11Add-ons738Documentation283Graphics 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
Websites, Forms and Transactions Check ntlm authentication
4.0 (3)
96.3K
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
messefreeze (2)apham (1)mngvn (2)Georg2Korger2 (1)Guillaume8723 (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > j.g
j

j.g

@jng

User Stats

Member Since: March 4, 2014

Favorites0

Views

Projects0

No Projects Found
checkvolmanager

some minor bug

Thanks for the plugin. I ran into a minor issue when trying to run it with check_mk. Executing from shell or MRPE/check_mk worked fine, but not when called from OMD. It will complain, that SVM cannot be executed in Solaris Containers, everything was green. Reason: 'zonename' cannot be found. Fix: changed to '/sbin/zonename' on both occurrences and it showed correct output. jg

Reviewed 11 years ago

check_failover.py

fixes

This works for RedHat CMAN HA/Cluster, tested in RHEL 6.x Plugin does a comparison between life output and reference output in a given file (DATA_FILE). Original plugin does not work with newer clustat outputs which has changed it's layout. To make it work (clustat version 3.0.12.1) again, modify at least the LOCATION-Line: diff -s check_failover.py check_failover_improved.py 72c72 DATA_FILE = '/var/tmp/nagios_failover_check' This has to be set anyway. Maybe you want to have it on a volatile directory? 99c99,102 #LOCATION = output.index(' ------- ---- ----- ------ ----- n') > #LOCATION = output.index(' ------- ---- ----- ------ ----- n') > LOCATION = output.index([x for x in output if x.startswith(' ------- ----')][0]) > You can follow the original check or our quick hack which only checks the first couple of characters. Its still not very elegant but we should not expect changes very often... 169,171c172,178 #sys.exit(STATE_CRITICAL) > # CHANGE: create DATA_FILE if not found. if something has happened (e.g. crash) other monitor > # and other node(s) will tell us. > print 'no file found...initializing' > initialize() We let the plugin create the reference file if it does not exist. No need to go interactive here. If something has failed over and nagios will complain you have to check anyway. Issuing check_failover.py -i will make the check green again after you fixed the problem.

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile