Repository: hygieia/hygieia

Issue #1084: How to Configure deploy widget ( Udeploy Collector issue)
Created: 2017-01-11T18:24:23Z
Hi,
I am unable to see anything in deploy widget of Hygieia .
I imported the SSL cert and was able to run collector successfully. But I donot see proper data in hygieia.  Below are api output and screen shots attached.
I see only application name rest are empty. Below are results
https://10.0.0.0:8443/rest/deploy/application
[{"id":"8db06d0d-874f-4338-9903-b3de34f2de05","securityResourceId":"35981c95-7851-4636-921b-938e5b2435ad","name":"Sample_App_Deploy","description":"","created":1483992118553,"enforceCompleteSnapshots":false,"active":true,"tags":[],"deleted":false,"user":"admin"}]

https://10.0.0.0:8443/rest/deploy/application/8db06d0d-874f-4338-9903-b3de34f2de05/environments/false
[{"security":{"Create Environments":true,"Create Environments From Template":true,"Delete":true,"write":true,"Edit Basic Settings":true,"execute":true,"Execute on Environments":true,"Manage Approval Processes":true,"Manage Base Resources":true,"Manage Properties":true,"Manage Teams":true,"read":true,"View Environments":true},"id":"71a8834b-0036-4e27-a57e-d8b9339fb325","securityResourceId":"a9e0a5f3-7ec3-4061-9d4d-2dceec475140","name":"Test_Env","description":"","color":"#00B2EF","requireApprovals":false,"noSelfApprovals":false,"lockSnapshots":false,"calendarId":"5326a8cf-30e5-42c5-ab2b-600c8b44f54e","active":true,"deleted":false,"cleanupDaysToKeep":0,"cleanupCountToKeep":0,"enableProcessHistoryCleanup":false,"useSystemDefaultDays":true,"historyCleanupDaysToKeep":365,"conditions":[]}]

https://10.0.0.0:8443/rest/deploy/environment/71a8834b-0036-4e27-a57e-d8b9339fb325/resources
[{"security":{"Create Resources":true,"Delete":true,"write":true,"Edit Basic Settings":true,"Manage Children":true,"Manage Impersonation":true,"Manage Properties":true,"Manage Teams":true,"Map to Environments":true,"read":true,"View Resources":true},"id":"6659ade4-9915-4a36-a71a-bf2810e58dc5","securityResourceId":"17118bda-f1c9-4645-a2ed-d3cf7838bc14","name":"Sample_App_Deploy","path":"/Sample_App_Deploy","active":true,"description":"","inheritTeam":false,"discoveryFailed":false,"prototype":false,"impersonationPassword":"****","impersonationUseSudo":false,"impersonationForce":false,"hasAgent":false,"tags":[],"resource":{"id":"17118bda-f1c9-4645-a2ed-d3cf7838bc14"},"versions":[],"hasChildren":true,"isRoot":true}]

https://10.0.0.0:8443/rest/deploy/environment/71a8834b-0036-4e27-a57e-d8b9339fb325/noncompliantResources
[ ]

Duplicate issue #944: UCD not showing up in Hygieia Dashboard
Created: 2016-11-14T07:44:30Z
Hi,
My UCD instance in running on a secured https server..I am able to see the udeploy collector running successfully on console but I can not see it coming up on Hygieia Dashboard. Here is my application,properties file for UCD collector:
# Database HostName - default is localhost
spring.data.mongodb.host=169.50.118.135

# Database Port - default is 27017
spring.data.mongodb.port=27017

# Database Username - default is blank
spring.data.mongodb.username=samriddhi

# Database Password - default is blank
spring.data.mongodb.password=dbpassword

# Collector schedule (required)
udeploy.cron=0 0/5 * * * *

# UDeploy server (required) - Can provide multiple
udeploy.servers[0]=https://169.50.117.227:8443

# UDeploy user name (required)
udeploy.username=****

# UDeploy password (required)
udeploy.password=****
Here is the log file for udeploy collector:
2016-11-14 06:28:45,868 INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering be
ans for JMX exposure on startup
2016-11-14 06:28:45,885 INFO  com.capitalone.dashboard.Application - Started App
lication in 4.705 seconds (JVM running for 5.743)
2016-11-14 06:30:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:30:00,009 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:30:00,009 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:30:00,009 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:30:00,681 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:30:00,697 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:30:00,699 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 06:35:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:35:00,005 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:35:00,005 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:35:00,005 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:35:00,073 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:35:00,078 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:35:00,080 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 06:40:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:40:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:40:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:40:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:40:00,032 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:40:00,037 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:40:00,038 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 06:45:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:45:00,005 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:45:00,006 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:45:00,006 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:45:00,034 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:45:00,038 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:45:00,040 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 06:50:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:50:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:50:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:50:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:50:00,034 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:50:00,044 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:50:00,049 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 06:55:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 06:55:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:55:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 06:55:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 06:55:00,027 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 06:55:00,033 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 06:55:00,037 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:00:00,002 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:00:00,009 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:00:00,009 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:00:00,009 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:00:00,034 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:00:00,037 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:00:00,038 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:05:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:05:00,005 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:05:00,005 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:05:00,005 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:05:00,047 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:05:00,050 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:05:00,052 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:10:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:10:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:10:00,004 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:10:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:10:00,029 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:10:00,033 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:10:00,035 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:15:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:15:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:15:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:15:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:15:00,044 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:15:00,059 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:15:00,061 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:20:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:20:00,002 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:20:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:20:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:20:00,030 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:20:00,036 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:20:00,040 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:25:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:25:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:25:00,004 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:25:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:25:00,025 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:25:00,028 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:25:00,030 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:30:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:30:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:30:00,003 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:30:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:30:00,026 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:30:00,029 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:30:00,031 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:35:00,002 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:35:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:35:00,004 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:35:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:35:00,033 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:35:00,037 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:35:00,039 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:40:00,000 INFO  c.c.d.collector.CollectorTask - Running Collector:
 UDeploy
2016-11-14 07:40:00,003 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:40:00,004 INFO  c.c.d.collector.CollectorTask - https://169.50.117
.227:8443
2016-11-14 07:40:00,004 INFO  c.c.d.collector.CollectorTask - ------------------
------------
2016-11-14 07:40:00,028 INFO  c.c.d.collector.CollectorTask - All apps
 2        0s
2016-11-14 07:40:00,031 INFO  c.c.d.collector.CollectorTask - New apps
 0        0s
2016-11-14 07:40:00,033 INFO  c.c.d.collector.CollectorTask - Finished
          0s
2016-11-14 07:41:18,970 INFO  o.s.c.a.AnnotationConfigApplicationContext - Closi
ng org.springframework.context.annotation.AnnotationConfigApplicationContext@11a
5a616: startup date [Mon Nov 14 06:28:41 UTC 2016]; root of context hierarchy
2016-11-14 07:41:18,972 INFO  o.s.j.e.a.AnnotationMBeanExporter - Unregistering
JMX-exposed beans on shutdown
2016-11-14 07:41:18,991 INFO  o.s.s.c.ThreadPoolTaskScheduler - Shutting down Ex
ecutorService 'taskScheduler'

Is using HTTPS an issue??

Closing comment (2018-09-26T04:15:07Z): closing this issue as its a duplicate of #1084