I have installed openshift v3.11 enviroment with prometheus stack as monitoring.
Now, i have to foward the alerts from prometheus to Tivoli Omnibus. How can i do that? Any suggestions?
Tivoli has no rest api and can not manage webhooks.
BR
Related
I have spring boot admin server deployed in openshift with the help of fabric8 maven plugin
And also i have several applications deployed in openshift.
Spring boot admin server (SBAS) use spring cloud kubernetes discovery to discover services (applications) registered / running in namespace / cluster, which is automatic client discovery.
SBAS discovered as expected, its fine but some applications shown / registered in SBAS use http and some use https to check the health as like below
I have no idea, why SBAS use http for some apps and for https for some apps to check the health.
Since SBAS use https and port 8443 it shows applications are offline but those applications are exposed in http 8080 only
I have compared applications code and openshift configurations but i don't see any difference and how to fix this issue.
I am new to all above concepts could some one help me ?
I didn't find solution for this issue, but i did work around which helped me.
Since i am using only one port 8080, i have deleted other ports such as 8443 and 8778 via openshif yml as shown below. but you have you have to expose more ports this won't help.
I am using Red Hat Openshift and Spring Cloud / Netflix OSS. I have developed the applications and can get this working locally on my machine. However, when I deploy to Openshift I cannot get the applications to register to the Eureka server. I can get Eureka running but when I deploy the Eureka client applications they do not register to the Eureka server.
I have updated the properties to point to the Eureka server but the applications do not register. I am running Eureka on port 8761. The properties of my application (Zuul application) is as follows:
spring.application.name=netflix-zuul-api-gateway-server
server.port=8765
eureka.instance.hostname=eureka-service.currency-conversion-service.svc
eureka.client.service-url.default- zone=http://${eureka.instance.hostname}:8761/eureka/
eureka.instance.preferIpAddress=false
I have pointed the application to the service hostname that was allocated to the Eureka server in Openshift and I have added the port to the Eureka client URL as can be seen above. I am not sure this is correct or I should be using the route. I am new to Openshift and there does not seem to be much information on the net for Spirng Boot and Spring Cloud in Openshift.
Can anybody help please.
Thanks
I am trying to log in to the Bluemix Container Service with cmd.exe. I installed the latest Bluemix CLI and IBM Bluemix Container Service plug-in, and tried to login using the following command:
C:\>bx login -a api.ng.bluemix.net
...
OK
...
C:\>bx cs init --host https://us-south.containers.bluemix.net
The IBM Bluemix Container Service Kubernetes beta in the US South region (Dallas) has concluded. You can access your bet
a clusters via the CLI using (bx cs init --host https://us-south-beta.containers.bluemix.net). See https://ibm.biz/cont
ainer-migration for beta migration information.
Using user provided API endpoint: https://us-south-beta.containers.bluemix.net
OK
C:\>bx cs clusters
The IBM Bluemix Container Service Kubernetes beta in the US South region (Dallas) has concluded. You can access your bet
a clusters via the CLI using (bx cs init --host https://us-south-beta.containers.bluemix.net). See https://ibm.biz/cont
ainer-migration for beta migration information.
FAILED
The client is not yet configured. Run `bx login`.
The Bluemix login was successful, but an error occurred. I tried it with bash on Windows, but the results were the same.
I would recommend to install Cloud Foundry CLI instead of Bluemix CLI and work hope your problem gets resolved.
Our app (Meteor/NodeJS) is deployed in a docker container in Bluemix, and I'd like to add the Monitoring and Analytics service to the app. The documentation lists how to integrate it with a NodeJS app deployed directly to Bluemix, and also mentions how to integrate with a Ruby-based app. Seems like there should just be an npm package to install, but I see nothing in the docs on how to do this.
The Monitoring and Analytics Service is only for Cloud Foundry based Application in IBM Bluemix based on Java Liberty, Node.js SDK or Ruby. The buildpacks have additional configuration and components inside to enable integration with the M&A Service.
https://console.ng.bluemix.net/docs/services/monana/index.html#monana_oview
For IBM Bluemix Container Service with Docker you need to use the built-in Monitoring and Logging for Containers
https://www.ibm.com/blogs/bluemix/2015/11/built-in-monitoring-and-logging-for-bluemix-containers/
Background:
I have a DB cluster hosted in Softlayer
I utilize No Bluemix 'container' services
I utilize Spark and MessageHub Services in Bluemix
Question
- Please explain how I can securely connect the bluemix spark service to my DB cluster through a Site VPN connection?
- The UI for the Bluemix VPN indicates I have to specify a container or container group to connect - but how does that correspond to Spark/MessageHub Services? To my knowledge those are shared services, not containers or container groups.
VPNaaS on Bluemix currently supports services/applications running on Bluemix docker-containers.
You can try this out:-
If you have accessible JDBC connection to your database(since i am not sure which database you are accessing).
Depending on your database driver, you can enable ssl connection on the jdbc url.
jdbc://${env.hostname}:10000/default;ssl=true;sslTrustStore=./truststore.jks;trustStorePassword=mypassword;
Follow the guide from this post to import certificates if needed.
http://stackoverflow.duapp.com/questions/37109302/how-to-connect-to-remote-hive-running-on-biginsights-on-cloud-from-a-spark-as-a/37121741
Change the url with your database url(ex. postgres below)
df = sqlContext.load(source="jdbc",\
url="jdbc:postgresql://[publichost]:[port]/databasename",\
dbtable="[tablename]")
Thanks,
Charles.