Support Needed - CCM
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: Support Needed
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Support Needed
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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: Support Needed
Yes, the IP does return the correct hostname.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Support Needed
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.
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: Support Needed
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
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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Support Needed
As slansing asked
Thanksslansing 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.
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: Support Needed
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
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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
ancovington
- Posts: 175
- Joined: Fri Sep 13, 2013 1:32 pm
Re: Support Needed
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
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
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Support Needed
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?