open-source

How to write an Evobeat collector

Collecting data from systems using Python code is a great way to gather metrics. It provides flexibility to obtain information that is not always available in vendor management tools, and you can run the scripts against the entire infrastructure.

But how do you manage and present the data?

We often use the Elastic stack for this purpose, so we have written a Python framework to assist – Evobeat.

Say, for example, you want to collect some metrics from Arista switches. Start by cloning the Evobeat repo.

You will need to create a Python file in collectors/ and a YAML file in configs/.

Copy collectors/test_collector.py and configs/test_collector.yaml to new files.

You may have code already to connect to Arista switches, like below.

Evo1.PNG

This can be easily re-factored as a function called collect_data(config_data), as required by Evobeat.

Edit the YAML config file, changing parameters to suit your environment. The collector parameters can be any names you like as needed by you collector code, as long as they don’t overlap with mandatory and optional names.

Evo2.PNG

Then run the collector in test mode to verify your code, connection to elastic and devices.

Evo3.PNG

When debugged and tested, use run mode to collect data continuously every interval.

There are examples for Arista and Cisco ACI in the repo, together with a general network collector and more detailed “how to” guide.

As this is an open-source project, please submit a pull request if you would like to share a collector.

The Kubernetes Series: Part One - Origins and Benefits

We are big fans of Kubernetes here at Evolvere Technologies.

A quick browse through LinkedIn shows that the technology is catching the attention of individuals and businesses all over the world. But before we delve deeper into the subject, we wanted to explore how Kubernetes took the IT world by storm. 

The origin of Kubernetes

Kubernetes (sometimes known as “K8s”) is a portable, extensible, open-source platform for managing containerised workloads and services that facilitates both declarative configuration and automation. Kubernetes were first developed at Google and later donated to the Cloud Native Computing Foundation (CNCF). Red Hat was one of the first organisations to work with Google on Kubernetes and has now become the second leading contributor to the project. Now that you know more about it’s origins, you’re probably wondering what you can do with Kubernetes. Allow us to explain…

What can you do with Kubernetes?

With Kubernetes, you can orchestrate containers across multiple hosts, make better use of hardware to make the most of the resources required to run enterprise applications. Additionally, you can control and automate application deployments and updates, mount and add storage to apps, and scale containerised applications and resources quickly and efficiently. 

What are the main benefits of Kubernetes?

Kubernetes provides a range of key benefits to organisations. Pivotally, using Kubernetes can significantly improve productivity if used efficiently. This is where a Technology Jump-Start could come in handy for organisations who are unsure of how to implement Kubernetes. 

Put simply, containers are a great way to bundle and run applications. Kubernetes is growing in popularity because it reduces downtime and allows users to run distributed systems resiliently. The statistics below demonstrate their growing dominance in the IT world.

Kubernetes in numbers

  1. The power and influence of Kubernetes can be seen in these compelling statistics. In 2019, the Cloud Native Computing Foundation (CNCF) found that 84% of respondents to a survey were running Kubernetes in production. This was up from 73% the year before.

  2. 56% of the 950 organisations surveyed for The State of Enterprise Open Source report said they expected the use of containers to increase in the next 12 months. 

  3. In the 2021 State of Enterprise Open Source Report, 85% of organisations agreed that Kubernetes is key to cloud-native application strategies, with 30% agreeing that Kubernetes are ‘extremely important. 

  4. Kubernetes has become the go-to choice for container orchestration. More than three in four firms included in the 2020 CNCF report said they were using Kubernetes. 

Do you want to use Kubernetes, but you’re not sure where to start?

Adopting new technology takes time and effort, but it will positively impact your organisation by relieving the burden on stretched infrastructure teams. Our Kubernetes/Rancher Jump-Start service will allow your organisation to adopt Kubernetes, but we’ll get it up and running for you. As part of the Jump-Start, our expert team will demonstrate the high availability of Rancher and Kubernetes clusters, the scaling of compute and non-compute resources and components, integrate with continuous delivery platforms for scaling and the deployment of containers on cloud and on-premises clusters, and much more. If you’re interested in our Technology Jump-Start for Kubernetes/Rancher, you can learn more here.

If you would like to discuss your organisation's requirements in more detail, please do not hesitate to contact us. A member of our team will be happy to assist you.

The ELK Stack: How can it help your organisation?

The ELK Stack: How can it help your organisation?

At Evolvere Technologies, we're keen to help organisations modernise their IT infrastructure to make way for more efficient operations.

One of the products we use to do this is Elastic, an open-source group of tools including Elastic Enterprise Search, Elastic Observability, Elastic Security, Elasticsearch, Logstash, and Kibana.