When you hear about statsd exporter, you might confuse it with statsd. Its okay, you are not the only person who does it. Statsd run as a daemon and it receives metrics from statsd clients and sends aggregates to backends like graphite for storage and future visualisation. On other hand, statsd exporter receives metrics from […]
How to distribute cron job for high availability
Cron is one among the favourites of sysadmins and we usually use cron service to schedule tasks that you want to run in a periodic manner. People usually run cron in a single box. You cannot expect high availability for your cron here because the box can go down anytime and you are in trouble […]
How to trigger a Jenkins job remotely from Python script
In this article, I will explain how you can trigger a Jenkins job remotely from a Python script. There would be situations when you want to run a particular Jenkins job from a Python scripts remotely. The steps are very easy. Let’s get started. Step 1: Setup the Jenkins Job to be triggered remotely. Go […]
How to trigger a Jenkins job from remote Jenkins
Suppose you have two Jenkins and you want a project in your Jenkins to be triggered by the another Jenkins, go ahead and read this article. You might need this setup in situations like source code build is created by a Jenkins job and the deployment is done by another Jenkins, and you want the […]
How to setup Jenkins job to trigger on every push to a specific git branch
In this article, I will list out steps for a popular/mandatory automation in DevOps world. Let’s see how you can setup Jenkins job to trigger on every push to a specific git branch Triggering a Jenkins job for every Git push is needed if you are planning to setup automated release of applications. Techies have […]
How to use grok exporter to create prometheus metrics from unstructured logs
Long time, No see. It’s been weeks since my last blog post. Let’s the break the ice and talk on . In this article, I will explain how you can use grok exporter to create prometheus metrics from unstructured logs. Grok is popular for processing logs in ELK stack (Elastic Search, Logtash, Kibana) and thanks […]
How to trigger a PagerDuty alert when a Jenkins job fails
We all know that Jenkins is a popular CI/CD tool. When you have a very important Jenkins job and it cannot fail, you will have to setup alerting for it. You might already have mail notification setup for the job, but it is not enough if the job is very important because mails could be […]
How to Install a Jenkins Plugin – Explained with Screenshots
As you already know Jenkins is a popular CI/CD tool that every DevOps guy loves. You can do limitless automation on Jenkins. Jenkins plugins make the automation task little more easy. There are lot of Jenkins plugins out there developed for specific purposes like Mail, GitHub ..etc. In this article, let me get you through […]
How to install Jenkins on Ubuntu/Debian using Salt
We can easily install Jenkins using tradition package managers like Yum /Apt . But it is recommended to use configuration management tools like Salt , Chef or Puppet for better management. In this article, let me get you through steps to install Jenkins on Ubuntu /Debian using Salt . Salt can be used for data-driven orchestration, remote […]
How to install Jenkins on CentOS/RedHat using Salt
We can easily install Jenkins using tradition package managers like Yum /Apt . But it is recommended to use configuration management tools like Salt , Chef or Puppet for better management. In this article, let me get you through steps to install Jenkins on CentOS /RedHat using Salt . Salt can be used for data-driven orchestration, […]