Page 4 of 5

Re: Support Needed

Posted: Fri Oct 18, 2013 8:31 am
by ancovington
I do not want to change the hostname, I just want to edit the content in NagiosXI so that it reads the correct website instead of the local website.

Re: Support Needed

Posted: Fri Oct 18, 2013 2:09 pm
by sreinhardt
I was not asking you to change anything. I believe this issue is with dns particularly, unless that yourserver.yourdomain response from vmware is actually the output and not something sanitized. Could you please validate that the ip does in fact return a valid hostname?

Re: Support Needed

Posted: Mon Oct 21, 2013 10:44 am
by ancovington
Yes, the IP does return the correct hostname.

Re: Support Needed

Posted: Mon Oct 21, 2013 4:53 pm
by slansing
Can you show us one of your service definitions? CCM > Services > "Choose one of your failing services" and click the diskette icon next to it, copy the output and paste it in a code-wrapped reply here please.

Re: Support Needed

Posted: Mon Dec 02, 2013 2:15 pm
by ancovington
When I do a NS lookup here is what I get:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\ancovington>nslookup vc540001a-esi5.admin.bcps.k12.md.us
Server: domc54001.admin.bcps.k12.md.us
Address: 10.201.17.201

Name: vc540001a-esi5.admin.bcps.k12.md.us
Address: 10.201.18.195

Re: Support Needed

Posted: Mon Dec 02, 2013 2:32 pm
by scottwilkerson
As slansing asked
slansing wrote:Can you show us one of your service definitions? CCM > Services > "Choose one of your failing services" and click the diskette icon next to it, copy the output and paste it in a code-wrapped reply here please.
Thanks

Re: Support Needed

Posted: Mon Dec 02, 2013 2:47 pm
by ancovington

Code: Select all


###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date:	      2013-12-02 10:45:08
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		Ping
	use				xiwizard_vmware_host_ping_service
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_001_@MB_Block Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!90!50!--include=SVC_001_@MB_Block
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_002 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!90!50!--include=SVC_002
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_003_ISO Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!20!05!--include=SVC_003_ISO
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_004 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!90!50!--include=SVC_004
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_007 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!90!50!--include=SVC_007
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_008 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!90!50!--include=SVC_008
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_017 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!100!50!--include=SVC_017
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_033_ISO2 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!20!5!--include=SVC_033_ISO2
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

define service {
	host_name			vc540001a-esi5.admin.bcps.k12.md.us
	service_description		VMware Storage Array Datastore SVC_VDI-087 Usage
	use				xiwizard_vmware_vcenter_storage_array_datastore_usage
	servicegroups			all_vmwareesxvsphere_services_cpu,all_vmwareesxvsphere_services_datastore,all_vmwareesxvsphere_services_memory,all_vmwarevcenter_services_clusters,all_vmwarevcenter_services_storage_arrays
	check_command			check_vmware_vc_warn_crit!check_vmware_config_vcenter01!disk!200!50!--include=SVC_VDI-087
	max_check_attempts		5
	check_interval			5
	retry_interval			1
	check_period			xi_timeperiod_24x7
	notification_interval		60
	notification_period		xi_timeperiod_24x7
	contacts			nagiosadmin,Scott Brooks
	_xiwizard			vmwareesxvspherevcenterserver
	register			1
	}	

###############################################################################
#
# Service configuration file
#
# END OF FILE
#
##############################################################################


Re: Support Needed

Posted: Mon Dec 02, 2013 3:04 pm
by lmiltchev
Are ALL of these checks failing? Can you show us the actual command that you are running from the command line, along with the output of it?

Re: Support Needed

Posted: Mon Dec 02, 2013 3:23 pm
by ancovington
The checks that are failing are all of the Data Stores for the Vcenter Server. This is what we are getting:


Host

Service

Status

Duration

Attempt

Last Check

Status Information
vc540001a-esi5.admin.bcps.k12.md.us

Ping
Ok 9d 19h 44m 3s 1/5 12/02/2013 11:21:39 OK - 10.201.18.195: rta 3.533ms, lost 0%

VMware Storage Array Datastore SVC_001_@MB_Block Usage
Unknown 48d 3h 46m 55s 5/5 12/02/2013 11:21:27 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_002 Usage
Unknown 48d 3h 45m 47s 5/5 12/02/2013 11:20:21 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_003_ISO Usage
Unknown 48d 3h 44m 39s 5/5 12/02/2013 11:20:21 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_004 Usage
Unknown 48d 3h 43m 31s 5/5 12/02/2013 11:20:19 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_007 Usage
Unknown 48d 3h 47m 50s 5/5 12/02/2013 11:21:50 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_008 Usage
Unknown 48d 3h 46m 41s 5/5 12/02/2013 11:20:21 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_017 Usage
Unknown 48d 3h 45m 33s 5/5 12/02/2013 11:20:41 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_033_ISO2 Usage
Unknown 48d 3h 44m 25s 5/5 12/02/2013 11:20:19 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

VMware Storage Array Datastore SVC_VDI-087 Usage
Unknown 48d 3h 47m 9s 5/5 12/02/2013 11:20:19 UNKNOWN: Login to VirtualCentre server failed: Error connecting to server at 'https://yourvcenterserver.yourdomain.lo ... webService': Bad hostname

Re: Support Needed

Posted: Tue Dec 03, 2013 11:12 am
by slansing
As lmiltchev asked, can you manually run one of your service commands from the command line and show us both the command and the output?