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
Plugins4394Themes and Skins11Add-ons744Documentation283Graphics 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
Clustering and High-Availability check_hbase_tables_thrift.pl (Advanced Nagios Plugins Collection)
0.0 (0)
30.2K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)Yoann LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Claudio Kuenzler (2)
See More
Newest Contributors
zsoltaire (1)RavuAlHemio (1)sowoii (1)Nitatemic (1)cjdepaul (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Steve Miller
SM

Steve Miller

@ssmiller_gfsu

User Stats

Member Since: May 9, 2012

Favorites0

Views

Projects0

No Projects Found
box293_check_vmware

Really Good Plugin

This plugin seems far more complete then most others. I found a few minor bugs with Cluster_Memory_Usage, Cluster_CPU_Usage, and Host_Status. The diff file will fix this as of 5/6/2014): vi-admin@mpvmat:~> diff -u orig/box293_check_vmware.pl box293_check_vmware.pl --- orig/box293_check_vmware.pl 2014-05-06 10:09:44.000000000 -0400 +++ box293_check_vmware.pl 2014-05-06 14:55:18.000000000 -0400 @@ -714,7 +714,7 @@ my $host_maintenance_mode = $cluster_current_host->get_property('summary.runtime.inMaintenanceMode'); # See if the host is in maintenance mode - if ($host_maintenance_mode eq 'true') { + if ($host_maintenance_mode eq 'false') { # Get the overall CPU used by the current host my $cluster_cpu_usage_current_host = $cluster_current_host->get_property('summary.quickStats.overallCpuUsage'); # Convert the $cluster_cpu_usage_current_host to SI @@ -726,7 +726,7 @@ # Get how many cores this host has $cpu_cores_available = $cpu_cores_available + $cluster_current_host->get_property('summary.hardware.numCpuCores'); - } # End if ($host_maintenance_mode eq 'true') { + } # End if ($host_maintenance_mode eq 'false') { } # End if ($host_uptime_state_flag == 0) { } # End if ($host_connection_state_flag == 0) { } # End foreach (@{$cluster_hosts}) { @@ -1181,7 +1181,7 @@ my $host_maintenance_mode = $cluster_current_host->get_property('summary.runtime.inMaintenanceMode'); # See if the host is in maintenance mode - if ($host_maintenance_mode eq 'true') { + if ($host_maintenance_mode eq 'false') { # Get the overall memory used by the current host my $cluster_memory_usage_current_host = $cluster_current_host->get_property('summary.quickStats.overallMemoryUsage'); # Convert the $cluster_memory_usage_current_host to SI @@ -1189,7 +1189,7 @@ # Add this to cluster_memory_usage $cluster_memory_usage = $cluster_memory_usage + $cluster_memory_usage_current_host; - } # End if ($host_maintenance_mode eq 'true') { + } # End if ($host_maintenance_mode eq 'false') { } # End if ($host_uptime_state_flag == 0) { } # End if ($host_connection_state_flag == 0) { } # End foreach (@{$cluster_hosts}) { @@ -4167,7 +4167,7 @@ } # End if (defined($host_issues)) { # See if the host is in maintenance mode - if ($host_maintenance_mode eq 'false') { + if ($host_maintenance_mode eq 'true') { $exit_message = Build_Exit_Message('Exit', $exit_message, 'Host in Maintenance Mode'); $exit_state = Build_Exit_State($exit_state, 'OK'); $host_status_flag = 1;

Reviewed 12 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile