Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
HemavathiRamamoorthy
@HemavathiRamamoorthy
Is it mandatory to have Artifactory collector or its optional?
ssjoshi123
@ssjoshi123
if you want to deploy artifacts and want to display in dashboard and then u can go for it else nothing is kind of mandatory what i can understand from docs
HemavathiRamamoorthy
@HemavathiRamamoorthy
ok. I want product dashboard to display deploy details, is it enough to have data from hygieia publisher or apart from hygieia publisher, artifactory collector is needed?
ssjoshi123
@ssjoshi123
not required! even i am new to this hygieia
amarshall-mitre
@amarshall-mitre
I am attempting to use Hygieia with the new UI & gitlab-scm collector and not having much success. After digging around into the UI/api connection, it appears that the new UI is not making the correct API calls to allow the collector to run. The CollectorItem that is created on dashboard creation is not enabled and does not have the data from the widget in it. We need some help with this, as this gitlab collector is our first stop in getting Hygieia up and running in our project.
CatchKarthik
@CatchKarthik
Hi, i m trying to configure sonarqube with hygieia and i m getting the below error.
```
rror starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2021-05-11 17:13:57,832 [main] ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sonarCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1622)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
CatchKarthik
@CatchKarthik
What does the searchfields in jenkins point to?

Search criteria enabled via properties (max search criteria = 2)

jenkins.searchFields[0]= options.jobName
jenkins.searchFields[1]= niceName
venkateshreddy53
@venkateshreddy53
Hi all, the initial setup of dashboard i have created, now i want to integrate Jenkins with hygieia. Can someone tell me the steps ?
duncanadams777
@duncanadams777
Hi, I am trying to run the Jenkins collector and get the following: 2021-05-24 16:41:00,416 [main] WARN o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hudsonCollectorTask': Invocation of init method failed; nested exception is java.lang.NullPointerException: Cannot read the array length because "fields" is null
2021-05-24 16:41:00,417 [main] INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'
2021-05-24 16:41:00,419 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
  1. Any ideas on what could be wrong?
Vikash-Ro
@Vikash-Ro
Hi all, i am trying to use the jira collector, and the collector seems to be working fine in populating the data under the features and teams section of the database ,
but there's some issue in integrating the same with the dashboard and as i am not able to view my project and team name in the features widget configuration as the search fails with "Sorry, suggestions could not be loaded." inspite of entering a valid team name and proj name ! Any insights, much appreciated!
HemavathiRamamoorthy
@HemavathiRamamoorthy
Hi , I need application.properties for hygieia-workflow-github-collector
sreekanthreddypb
@sreekanthreddypb
image.png
Hi All, In code repo widget for all url , I am getting error saying No repo found with matching url and branch
jyotim2devops
@jyotim2devops
I am also getting the same error saying No repo found with matching url and branch for Bitbucket
Jason Paul Deland
@jaydeland
Are there any Kubernetes collectors out there or being created?
srveerla
@srveerla
Is Hygieia having issue with LDAP integration?
bhumikak
@bhumikak:matrix.org
[m]
Hello using hygieia-jenkins-publish plugin so written scripts respective step as sonar, artifactspublisher but not seeing in dashboard so what configuration we need to do on dashboard can anybody please help
bhumikak
@bhumikak:matrix.org
[m]
prasad-clouduser
@prasad-clouduser
@all, Can anyone give me the proper steps to configure the gitlab collector with hygieia?
prasad-clouduser
@prasad-clouduser
...
compose.service.build: Building hygieia-mongodb
unknown flag: --iidfile
See 'docker build --help'.
ERROR: compose.cli.main.exit_with_metrics: Service 'hygieia-mongodb' failed to build : Build failed
Ia m facing above issue when building the hygieia docker file. Can anyone help me to resolve this issue?
prasad-clouduser
@prasad-clouduser

@ramachittala Do you have any idea on the issue??

2021/08/11 18:55:33 [error] 11#11: *73 connect() failed (111: Connection refused) while connecting to upstream, client: <<host>>, server: localhost, request: "POST /api/registerUser/ HTTP/1.1", upstream: "http://127.0.0.1:8080/api/registerUser/", host: "<<hostname>>:8088", referrer: "http://<<hostname>>>:8088/"
10.33.227.28 - - [11/Aug/2021:18:55:33 +0000] "POST /api/registerUser/ HTTP/1.1" 502 537 "http://<<hostname>>:8088/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<<>>> Safari/537.36" "-"

Sunny Shaw
@sunny-shaw
Hi, I have used Hygieia Starter Kit to setup Hygieia with sonar but I am not able to see any data on Dashboard. Can someone help me here?
Sunny Shaw
@sunny-shaw
Hi, I want to setup Hygieia on Mac. Can someone share setup documentation for the same?
prasad-clouduser
@prasad-clouduser

@DarrenClintAlbertyn @Sbrenthughes @kumarabhishek0809 @subodhbattina I have installed the Hygieia Exec Dashboard and we see the no portfolios in the dashboard and it is completely empty. I have also configured the cmdb collection with some dummy data in the hygieia db (not the exec dashboard db) still I am not able to see the portfolios information in the dashboard. Followed the documentation of exec dashboard to configure collector, api and DB and not able to figure out the issue with exec dashboard.

Do you have any documents/proper steps to configure the exec dashboard to pull the data from the hygieia db? and also please provide the compatibility information of both hygieia and hygieia exec dashboard. Appreciate your help on this.

Below is the issue I am facing.

2021-08-18 14:30:00.000 INFO 24952 --- [taskScheduler-1] c.c.d.exec.collector.PortfolioCollector : Running Hygieia EXEC Collector
2021-08-18 14:30:00.000 WARN 24952 --- [taskScheduler-1] o.apache.spark.sql.SparkSession$Builder : Using an existing SparkSession; some configuration may not take effect.
2021-08-18 14:30:00.001 INFO 24952 --- [taskScheduler-1] c.c.d.exec.collector.PortfolioCollector : ##### Begin: collectCMDB #####
2021-08-18 14:30:00.002 WARN 24952 --- [taskScheduler-1] o.apache.spark.sql.SparkSession$Builder : Using an existing SparkSession; some configuration may not take effect.
2021-08-18 14:30:00.005 WARN 24952 --- [taskScheduler-1] org.apache.spark.storage.BlockManager : Block broadcast_1 could not be removed as it was not found on disk or in m
emory
2021-08-18 14:30:00.006 ERROR 24952 --- [taskScheduler-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
java.lang.NoClassDefFoundError: Lcom/mongodb/MongoDriverInformation;
at java.lang.Class.getDeclaredFields0(Native Method) ~[na:1.8.0_292]
at java.lang.Class.privateGetDeclaredFields(Class.java:2583) ~[na:1.8.0_292]
at java.lang.Class.getDeclaredFields(Class.java:1916) ~[na:1.8.0_292]
at org.apache.spark.util.SizeEstimator$.getClassInfo(SizeEstimator.scala:330) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]
at org.apache.spark.util.SizeEstimator$.visitSingleObject(SizeEstimator.scala:222) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]

Viresh
@Viresh1994
Hi, Could you please help me for the hygieia Jenkins setup
i have setup the code analysis but the data is not showing in the dashboard
kistank
@kistank
Hi all, am new to Hygieia and need some help with build the UI. I am stuck at the gulp build step. Error: No gulpfile found.
gulp -v
CLI version: 2.3.0
Local version: 4.0.2
documentation followed: https://github.com/hygieia/UI
Thanks in advance.
Viresh
@Viresh1994
2 replies
kuchanamounika
@kuchanamounika
Hi Team,

I am running hygieia executive dashboard by configuring the analysis collector
while running the collector I am getting issue like below
2021-09-06 06:12:21.006 ERROR 31117 --- [taskScheduler-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
java.lang.NoClassDefFoundError: Lcom/mongodb/MongoDriverInformation;
at java.lang.Class.getDeclaredFields0(Native Method) ~[na:1.8.0_302]
at java.lang.Class.privateGetDeclaredFields(Class.java:2583) ~[na:1.8.0_302]
at java.lang.Class.getDeclaredFields(Class.java:1916) ~[na:1.8.0_302]
at org.apache.spark.util.SizeEstimator$.getClassInfo(SizeEstimator.scala:330) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]
at org.apache.spark.util.SizeEstimator$.visitSingleObject(SizeEstimator.scala:222) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]
at org.apache.spark.util.SizeEstimator$.org$apache$spark$util$SizeEstimator$$estimate(SizeEstimator.scala:201) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]
at org.apache.spark.util.SizeEstimator$.estimate(SizeEstimator.scala:69) ~[spark-core_2.11-2.3.3.jar!/:2.3.3]

Can Some one help on resolving this issue please

kuchanamounika
@kuchanamounika
Hi Team
Is there any way to create dashboards dynamically by providing configuration files
Viresh
@Viresh1994
what error u are facing mention clearly
kuchanamounika
@kuchanamounika

@Viresh1994
I am able to resolve the issue like java.lang.NoClassDefFoundError: Lcom/mongodb/MongoDriverInformation;
by changing the spark version 2.4.3 and mongo spark connector with 2.4.0 version in pom.xml of exec-analysis
after resolving this issue I am getting below below issue while running exec-analysis jar command as
java -jar /opt/ExecDashboard/exec-analysis/target/exec-analysis-1.0.0-SNAPSHOT.jar -Djasypt.encryptor.password=hygieiasecret --spring.config.location=/opt/ExecDashboa
rd/exec-analysis/analysis.properties --server.port=8021

Issue :

2021-09-07 12:18:32.130 ERROR 17865 --- [taskScheduler-1] com.mongodb.spark.rdd.MongoRDD :

WARNING: Partitioning failed.

Partitioning using the 'DefaultMongoPartitioner$' failed.
Please check the stacktrace to determine the cause of the failure or check the Partitioner API documentation.

Note: Not all partitioners are suitable for all toplogies and not all partitioners support views.%n

2021-09-07 12:18:32.131 ERROR 17865 --- [taskScheduler-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task.
java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.countDocuments(Lorg/bson/conversions/Bson;)J
at com.mongodb.spark.rdd.partitioner.MongoSamplePartitioner

KaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲7.apply(MongoSa…: anonfun$7.apply(MongoSamplePartitioner.scala:88) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]
        at com.mongodb.spark.rdd.partitioner.MongoSamplePartitioner
anonfun$7.apply(MongoSamplePartitioner.scala:88) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]
at com.mongodb.spark.MongoConnector
KaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲withCollectionD…: anonfun$withCollectionDo$1.apply(MongoConnector.scala:186) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]
        at com.mongodb.spark.MongoConnector
anonfun$withCollectionDo$1.apply(MongoConnector.scala:184) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]
at com.mongodb.spark.MongoConnector
KaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲withDatabaseDo$…: anonfun$withDatabaseDo$1.apply(MongoConnector.scala:171) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]
        at com.mongodb.spark.MongoConnector
anonfun$withDatabaseDo$1.apply(MongoConnector.scala:171) ~[mongo-spark-connector_2.11-2.4.0.jar!/:2.4.0]

Can you help in resolving this?

Viresh
@Viresh1994
install Mongodb and then create databse named dashboarddb and then run mongod and mongo then provide database details in Hygieia/api application properties file
kuchanamounika
@kuchanamounika
I did all those @Viresh1994
even though I am getting same issue
Thank you for your response
Viresh
@Viresh1994
You are using windows or linux machine? @kuchanamounika
Kenny Long
@kennethlong
Hygieia is awesome, only problem is it uses MongoDB which has a license that I will never get approved. Anybody done a port to an alternative database?
Viresh
@Viresh1994
Just install MongoDB and then run the database after updating application properties with below details
dbname=dashboarddb
dbusername=dashboarduser
dbpassword=dbpassword
dbhost=localhost
dbport=27017
dbreplicaset=false
dbhostport=localhost:27017
server.contextPath=/api
server.port=8080
kuchanamounika
@kuchanamounika
@Viresh1994 Thank you for your response, i am able resolve the issue by changing the mongo java driver jar in pom.xml of executive dashboard
kuchanamounika
@kuchanamounika

@Viresh1994 I am working on creating the dashboard using RESTAPI
using curl like below by creating API Token
curl --location --request POST 'http://ip:port/api/dashboard/remoteCreate'
--header 'Content-Type: application/json'
--header 'apiUser: apiuser'
--header 'Authorization: apiToken$token'
--data-raw ''''{ "buildEntries": [{ "description": "MTA", "niceName":"Test","options": { "instanceUrl": "", "jobName": "MTA", "jobUrl": "" }, "pushed": false, "toolName": "Hudson" } ], "metaData": { "applicationName": "Test dashboard", "componentName": "Test dashboard", "owner": { "authType": "STANDARD", "username": "admin" }, "template": "splitview", "title": "Test dashboard", "type": "team" } }'''

I am getting issue like below
{
"timestamp": 1632146348562,
"status": 500,
"error": "Internal Server Error",
"exception": "java.lang.StringIndexOutOfBoundsException",
"message": "String index out of range: -1",
"path": "/api/dashboard/remoteCreate"
}

Can you help me on resolve this?
kuchanamounika
@kuchanamounika

Hi Team
I am trying to create the dashboard in Exec dashboard with static code analysis results
while running exec-analysis collector I am getting the issue like below

Analysis Exception thrown for struct field:null
Unexpected error occurred in scheduled task.java.lang.NullPointerException: null at com.capitalone.dashboard.exec.collector.DefaultDataCollector.collectAll(DefaultDataCollector.java:56) ~[classes!/:1.0.0-SNAPSHOT]
my properties file like belo

MongoDB Details

dbname=analyticsdb
dbusername=<user>
dbpassword=**
dbhostport=localhost:27017
logging.file=analysis.log
portfolio.cron=
portfolio.readUriUserName=<user>
portfolio.readUriPassword=**
portfolio.readUriDatabase=localhost:27017/dashboarddb
portfolio.readUriPrefix=mongodb
portfolio.readDatabase=dashboarddb
portfolio.writeUri=mongodb://localhost:27017
portfolio.writeDatabase=analyticsdb
portfolio.filters=scm-commits:item:environment|production-incidents:severity:1.0|

Enable/Disable Static Code Collector

portfolio.staticCodeAnalysisCollectorFlag=true
can some one help me on resolving it?

prasad-clouduser
@prasad-clouduser
Hi Guys, Does any have the details of the recommended configuration to have Hygieia up and running? Also anyone have the official helm charts of installation of hygieia on K8s environment and also recommended configuration?
jitusaklani
@jitusaklani
Need help to generate Hygieia-Jenkins Plugin
Hygieia-Jenkins Plugin: I cloned https://github.com/hygieia/hygieia.git to generate jenkins plugin and executed commands as described in document. But it dosen't create jenkins hygieia-publisher.hpi and the jar