Skip to main content

Posts

Showing posts from 2020

Minikube Start error

Error nuwans: ~ $ minikube start Starting local Kubernetes v1.9.0 cluster... Starting VM... E0229 06:08:09.490344 5655 start.go:159] Error starting host: Error creating host: Error executing step: Running precreate checks. : We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, most likely linux-headers-generic.\n\n\t You will not be able to start VMs until this problem is fixed.\n5.2.34_Ubuntur133883". Please upgrade at https://www.virtualbox.org. Retrying. E0229 06:08:09.490920 5655 start.go:165] Error starting host: Error creating host: Error executing step: Running precreate checks. : We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The character device /dev/vboxdrv does not exist.\n\t Please install the virtualbox-dkms package and the appropriate\n\t headers, mo

Spring Microservices in Action - Summary

Java Spring Boot Microservices .............................. Contents 1 ■ Welcome to the cloud, Spring  2 ■ Building microservices with Spring Boot 3 ■ Controlling your configuration with Spring Cloud configuration serve 4 ■ On service discovery 5 ■ When bad things happen: client resiliency patterns with Spring Cloud and Netflix Hystrix 6 ■ Service routing with Spring Cloud and Zuul 7 ■ Securing your microservices 8 ■ Event-driven architecture with Spring Cloud Stream 9 ■ Distributed tracing with Spring Cloud Sleuth and Zipkin 10 ■ Deploying your microservices

How to install ElastAlert on Ubuntu

How to install ElastAlert with Elasticsearch on Ubuntu What is ElastAlert? ElastAlert is a simple framework that alerts when it detects anomalies, spikes, or other patterns of rules from data added in the Elasticsearch. Pre Requirements Tested on ubuntu 18 Elastalert Installation apt update apt install python3-pip pip3 install elastalert pip3 install PyYAML==5.1     Elastalert  Elasticsearch Installation wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.2.0-x86_64.rpm dpkg -i elasticsearch-7.2.0-amd64.deb systemctl start elasticsearch systemctl status elasticsearch Elastalert Setup create /root/emailalerts folder Use further below files to create these files. create /root/emailalerts/config.yaml create /root/emailalerts/rules/auth.yaml create /root/emailalerts/rules/nuwan_2mandata1.yaml elastalert-create-index enter   server: localhost          port: 9200          ssl: f leave rest