Posts by Category

AI Safety

ANSIBLE

Installing ansible on RHEL 6.6.

4 minute read

Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchest...

Ansible Playbook - Setup Storm Cluster.

2 minute read

This is a simple Storm Cluster Setup. We are using a dedicated Zookeeper Cluster/Node, instead of the standalone zkserver. Below is how we will deploy our c...

Ansible Playbook - Setup Kafka Cluster.

2 minute read

This is a simple Kafka setup. In this setup we are running kafka over a dedicated zookeeper service. (NOT the standalone zookeeper which comes with kafka)

Ansible

Automation

Autonomous Agents

BI

BIG DATA

BigQuery

CENTOS

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

knife Quick Reference

5 minute read

knife is the command-line tool that bridges your local chef-repo on a Chef Workstation and the Chef Infra Server. It allows administrators to manage nodes, c...

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

Creating Documents Using pandoc

6 minute read

Pandoc is an open-source universal document converter capable of transforming technical documentation written in Markdown into PDF, Microsoft Word (.docx), H...

Setup/Configuration Nagios XI on Centos6.6

11 minute read

Nagios XI monitors hosts, network services, and application metrics across Linux and Windows environments, alerting administrators when checks enter warning ...

RPM Command Cheat Sheet

6 minute read

RPM (RPM Package Manager) is the low-level package management system used across Red Hat Enterprise Linux (RHEL), CentOS, Rocky Linux, AlmaLinux, Fedora, and...

Creating a large file in Windows / Linux

4 minute read

When testing disk-space monitoring alerts (such as Nagios or Zabbix filesystem thresholds), network throughput, or backup performance, it is helpful to quick...

LUKS Disk encryption for CentOS 6.6/RHEL 6

15 minute read

Linux Unified Key Setup (LUKS) is the standard on-disk block encryption format for Linux. Using the kernel’s dm-crypt device-mapper subsystem and the cryptse...

Mysql Database Disk Usage.

6 minute read

When a MySQL or MariaDB server runs low on disk space, identifying which schemas and tables consume the most storage is the first step in capacity troublesho...

Installing python 2.7.x on Centos 6.5/6.6

7 minute read

CentOS 6 was distributed with Python 2.6, while some older applications require Python 2.7. This guide describes two historical installation approaches: usin...

CHEF

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

Windows Testing Using Kitchen Chef

6 minute read

Test Kitchen (kitchen-vagrant) can provision disposable Microsoft Windows Server virtual machines on a Linux or macOS workstation using VirtualBox, Vagrant, ...

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

Bootstrap Windows - knife-windows - Chef

10 minute read

The knife-windows plugin extends Chef’s knife CLI with subcommands to bootstrap and manage Microsoft Windows nodes over Windows Remote Management (WinRM) or ...

Chef Workstation Setup on Windows Machine.

11 minute read

Developing and testing Chef cookbooks locally on a Windows workstation requires three core components: the Chef Development Kit (ChefDK) (since superseded by...

CHEF-CLIENT

Bootstrap Windows - knife-windows - Chef

10 minute read

The knife-windows plugin extends Chef’s knife CLI with subcommands to bootstrap and manage Microsoft Windows nodes over Windows Remote Management (WinRM) or ...

CHEFDK

Chef Workstation Setup on Windows Machine.

11 minute read

Developing and testing Chef cookbooks locally on a Windows workstation requires three core components: the Chef Development Kit (ChefDK) (since superseded by...

CLOUDERA

Kafka Kerberos Enable and Testing.

19 minute read

Apache Kafka is a distributed streaming platform. Kafka 2.0 supports Kerberos authentication, Enabling Kerberos Authentication Using the Wizard on cloudera m...

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Enable Kerberos Using Cloudera API.

9 minute read

Python API for cloudera is really nice, apart from getting the cluster setup, we can also do configuration and automation. We use a lot of automation using C...

Setting Hue to Listen on 0.0.0.0 [Cloudera]

less than 1 minute read

We were working on setting up a cluster, but the Hue URL was set to a private IP of the server. As we had setup all the nodes to access each other using a pr...

CLOUDERA-API

Enable Kerberos Using Cloudera API.

9 minute read

Python API for cloudera is really nice, apart from getting the cluster setup, we can also do configuration and automation. We use a lot of automation using C...

CLUSTER

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

COMMANDS

Remove Old Files using find Command

3 minute read

Automated log cleanup and backup rotation scripts on Linux frequently rely on GNU find to locate and delete files older than a retention threshold. Evaluatin...

COUCHDB

Installing CouchDB on Ubuntu 14 LTS.

4 minute read

Apache CouchDB is an open-source, document-oriented NoSQL database that stores JSON documents, exposes a native HTTP/RESTful API (on TCP port 5984 by default...

CYGWIN

Package Installer for Cygwin [apt-cyg].

3 minute read

When working on a Windows machine after spending years in Linux, Cygwin provides a POSIX-compatible environment where your custom .bashrc and .vimrc configur...

Cloud Computing

Cloud Monitoring

Configuration Management

Cybersecurity

DATA-BAGS

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

DATABASE

MongoDB to Neo4j Using neo4j_doc_manager.

10 minute read

We had a requirement where we wanted to have all the data which is in mongodb to be replicated on neo4j to show few graphs. Here is quick way to demonstrate ...

DOCKER

DOCUMENTS

Creating Documents Using pandoc

6 minute read

Pandoc is an open-source universal document converter capable of transforming technical documentation written in Markdown into PDF, Microsoft Word (.docx), H...

Databases

DevOps

GCP

Automating GCE Image Creation with Packer

15 minute read

Ensuring consistency and streamlining infrastructure provisioning is crucial for effective cloud management. Creating custom virtual machine (VM) images on G...

Design IAM on Google Cloud Platform

14 minute read

Security is paramount when setting up resources in the cloud or on-premises. It encompasses various layers of protection, including network security, encrypt...

Exploring Data Extraction from BigQuery

3 minute read

BigQuery, Google’s fully-managed and serverless data warehouse, empowers organizations to analyze massive datasets with remarkable speed and efficiency. But ...

Effective Terraform Validation Techniques

4 minute read

Validation in Terraform is an essential practice to detect and prevent errors early in the infrastructure provisioning process. By incorporating robust valid...

GCPLearning

Cloud VPN - GCP Learning Notes.

12 minute read

Cloud VPN securely connects your peer network to your Virtual Private Cloud (VPC) network through an IPsec VPN connection.

Cloud IAM - GCP Learning Notes.

8 minute read

Google Cloud offers IAM, which lets you give more granular access to specific Google Cloud resources and prevents unwanted access to other resources.

Google Cloud

Google Cloud Platform

HA

HADOOP

getmerge Operation not Permitted

1 minute read

getmerge command takes a source directory and a destination file as input and concatenates files in src into the destination local file.

Long Running Jobs in YARN distcp.

1 minute read

Usually distcp and other batch jobs run for a very long time. This is fine if you are running a HADOOP environment without kerberos. When we kerberize a clus...

Checking HDFS health using fsck.

3 minute read

When we have large data sets on the cluster, there will be corruptions of blocks. This could be due to disk or any other.

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

Enable Kerberos Using Cloudera API.

9 minute read

Python API for cloudera is really nice, apart from getting the cluster setup, we can also do configuration and automation. We use a lot of automation using C...

Setting Hue to Listen on 0.0.0.0 [Cloudera]

less than 1 minute read

We were working on setting up a cluster, but the Hue URL was set to a private IP of the server. As we had setup all the nodes to access each other using a pr...

Access Filter Setup with SSSD

7 minute read

SSSD can use an LDAP filter to decide which directory users are allowed to log in to a Linux host. This is useful when accounts should remain visible in the ...

Getting started with Hive with Kerberos.

9 minute read

Apache Hive is a powerful data warehousing application built on top of Hadoop; it enables you to access your data using Hive QL, a language that is similar t...

Ansible Playbook - Setup Storm Cluster.

2 minute read

This is a simple Storm Cluster Setup. We are using a dedicated Zookeeper Cluster/Node, instead of the standalone zkserver. Below is how we will deploy our c...

Ansible Playbook - Setup Kafka Cluster.

2 minute read

This is a simple Kafka setup. In this setup we are running kafka over a dedicated zookeeper service. (NOT the standalone zookeeper which comes with kafka)

Tuning Hadoop Performance with sysctl.conf

13 minute read

This post delves into optimizing Hadoop performance at the kernel level using sysctl. The sysctl interface provides a way to dynamically modify a running Lin...

How To Configure Swappiness

7 minute read

Swappiness is a crucial Linux kernel parameter that dictates how aggressively the system uses swap space. Understanding and configuring swappiness can signif...

HBASE

HDFS

getmerge Operation not Permitted

1 minute read

getmerge command takes a source directory and a destination file as input and concatenates files in src into the destination local file.

Checking HDFS health using fsck.

3 minute read

When we have large data sets on the cluster, there will be corruptions of blocks. This could be due to disk or any other.

HIGH AVAILABILITY

HIVE

Getting started with Hive with Kerberos.

9 minute read

Apache Hive is a powerful data warehousing application built on top of Hadoop; it enables you to access your data using Hive QL, a language that is similar t...

HOSTFILE

Update hosts file in Windows 8

4 minute read

The local hosts file maps IP addresses to hostnames (FQDNs and short aliases) on the local machine before querying external DNS servers. This is especially u...

HTTPD

HTTPS

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

HUE

Setting Hue to Listen on 0.0.0.0 [Cloudera]

less than 1 minute read

We were working on setting up a cluster, but the Hue URL was set to a private IP of the server. As we had setup all the nodes to access each other using a pr...

INSTALL

Installing python 2.7.x on Centos 6.5/6.6

7 minute read

CentOS 6 was distributed with Python 2.6, while some older applications require Python 2.7. This guide describes two historical installation approaches: usin...

IPTABLES

Infrastructure as Code

JAVA

KAFKA

Kafka Kerberos Enable and Testing.

19 minute read

Apache Kafka is a distributed streaming platform. Kafka 2.0 supports Kerberos authentication, Enabling Kerberos Authentication Using the Wizard on cloudera m...

Ansible Playbook - Setup Kafka Cluster.

2 minute read

This is a simple Kafka setup. In this setup we are running kafka over a dedicated zookeeper service. (NOT the standalone zookeeper which comes with kafka)

KERBEROS

Kafka Kerberos Enable and Testing.

19 minute read

Apache Kafka is a distributed streaming platform. Kafka 2.0 supports Kerberos authentication, Enabling Kerberos Authentication Using the Wizard on cloudera m...

Enable Kerberos Using Cloudera API.

9 minute read

Python API for cloudera is really nice, apart from getting the cluster setup, we can also do configuration and automation. We use a lot of automation using C...

KITCHEN

Windows Testing Using Kitchen Chef

6 minute read

Test Kitchen (kitchen-vagrant) can provision disposable Microsoft Windows Server virtual machines on a Linux or macOS workstation using VirtualBox, Vagrant, ...

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

KVM

LINUX

getmerge Operation not Permitted

1 minute read

getmerge command takes a source directory and a destination file as input and concatenates files in src into the destination local file.

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

Enable Kerberos Using Cloudera API.

9 minute read

Python API for cloudera is really nice, apart from getting the cluster setup, we can also do configuration and automation. We use a lot of automation using C...

Setting Hue to Listen on 0.0.0.0 [Cloudera]

less than 1 minute read

We were working on setting up a cluster, but the Hue URL was set to a private IP of the server. As we had setup all the nodes to access each other using a pr...

Package Installer for Cygwin [apt-cyg].

3 minute read

When working on a Windows machine after spending years in Linux, Cygwin provides a POSIX-compatible environment where your custom .bashrc and .vimrc configur...

Installing CouchDB on Ubuntu 14 LTS.

4 minute read

Apache CouchDB is an open-source, document-oriented NoSQL database that stores JSON documents, exposes a native HTTP/RESTful API (on TCP port 5984 by default...

Installing MongoDB on Ubuntu 14 LTS.

8 minute read

MongoDB is a document-oriented NoSQL database that stores records as BSON (binary JSON) documents with flexible schemas and rich indexing. This guide covers ...

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

Remove Old Files using find Command

3 minute read

Automated log cleanup and backup rotation scripts on Linux frequently rely on GNU find to locate and delete files older than a retention threshold. Evaluatin...

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

Creating Documents Using pandoc

6 minute read

Pandoc is an open-source universal document converter capable of transforming technical documentation written in Markdown into PDF, Microsoft Word (.docx), H...

LUKS Disk encryption for CentOS 6.6/RHEL 6

15 minute read

Linux Unified Key Setup (LUKS) is the standard on-disk block encryption format for Linux. Using the kernel’s dm-crypt device-mapper subsystem and the cryptse...

Mysql Database Disk Usage.

6 minute read

When a MySQL or MariaDB server runs low on disk space, identifying which schemas and tables consume the most storage is the first step in capacity troublesho...

Installing python 2.7.x on Centos 6.5/6.6

7 minute read

CentOS 6 was distributed with Python 2.6, while some older applications require Python 2.7. This guide describes two historical installation approaches: usin...

Access Filter Setup with SSSD

7 minute read

SSSD can use an LDAP filter to decide which directory users are allowed to log in to a Linux host. This is useful when accounts should remain visible in the ...

Getting started with Hive with Kerberos.

9 minute read

Apache Hive is a powerful data warehousing application built on top of Hadoop; it enables you to access your data using Hive QL, a language that is similar t...

Mounting RAID10 using parted.

11 minute read

GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk, using globally unique identifiers (GUID). Although it...

Ansible Playbook - Setup Storm Cluster.

2 minute read

This is a simple Storm Cluster Setup. We are using a dedicated Zookeeper Cluster/Node, instead of the standalone zkserver. Below is how we will deploy our c...

Ansible Playbook - Setup Kafka Cluster.

2 minute read

This is a simple Kafka setup. In this setup we are running kafka over a dedicated zookeeper service. (NOT the standalone zookeeper which comes with kafka)

Streaming Data Processing - Storm Vs Spark.

6 minute read

Apache Spark is an in-memory distributed data analysis platform– primarily targeted at speeding up batch analysis jobs, iterative machine learning jobs, inte...

Tuning Hadoop Performance with sysctl.conf

13 minute read

This post delves into optimizing Hadoop performance at the kernel level using sysctl. The sysctl interface provides a way to dynamically modify a running Lin...

Performance Tuning for nginx

6 minute read

Nginx (pronounced “engine x”) is a powerful and versatile web server renowned for its high concurrency, exceptional performance, and efficient memory utiliza...

How To Configure Swappiness

7 minute read

Swappiness is a crucial Linux kernel parameter that dictates how aggressively the system uses swap space. Understanding and configuring swappiness can signif...

Setting up Tomcat Cluster for SpagoBI 5.1.

14 minute read

This post details how to set up a Tomcat cluster for SpagoBI 5.1, building upon a previous guide for installing SpagoBI with MySQL (post). This configuration...

SFTP Data Collector

3 minute read

Easy way to collect files recursively over a sftp server is to connect to the server over scp and do scp -r. Problem was that the device we were connecting ...

LUKS

LUKS Disk encryption for CentOS 6.6/RHEL 6

15 minute read

Linux Unified Key Setup (LUKS) is the standard on-disk block encryption format for Linux. Using the kernel’s dm-crypt device-mapper subsystem and the cryptse...

MONGODB

Installing MongoDB on Ubuntu 14 LTS.

8 minute read

MongoDB is a document-oriented NoSQL database that stores records as BSON (binary JSON) documents with flexible schemas and rich indexing. This guide covers ...

MONITORING

Nagios - Service Group Summary ERROR

6 minute read

After migrating or restoring a Nagios XI server, navigating to the Servicegroup Summary, Hostgroup Summary, or legacy Nagios Core CGI views may fail with one...

Zabbix History Table Clean Up

8 minute read

In large Zabbix deployments, the raw history tables (history, history_uint, history_str, history_log, and history_text) frequently grow to tens or hundreds o...

knife Quick Reference

5 minute read

knife is the command-line tool that bridges your local chef-repo on a Chef Workstation and the Chef Infra Server. It allows administrators to manage nodes, c...

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

Setup/Configuration Nagios XI on Centos6.6

11 minute read

Nagios XI monitors hosts, network services, and application metrics across Linux and Windows environments, alerting administrators when checks enter warning ...

Zabbix Template Creation using CSV file.

8 minute read

In zabbix we dont have a better way to capture snmptraps. we have to manually create an item and corresponfding trigger to handle a trap arriving from the de...

Setting up SNMP Trapper for Zabbix.

11 minute read

Receiving SNMP traps is the opposite to querying SNMP-enabled devices. In this case the information is sent from a SNMP-enabled device and is collected or “t...

Zabbix Installation 2.4 - CentOS 6.5

1 minute read

Zabbix is the ultimate enterprise-level software designed for monitoring availability and performance of IT infrastructure components. Zabbix is open source ...

Zabbix Hadoop Monitoring.

6 minute read

This script can be used to monitor Namenode Parameters. This script can be used to Generate Zabbix Import XML or Send monitoring data to Zabbix server.

MYSQL

Mysql Database Disk Usage.

6 minute read

When a MySQL or MariaDB server runs low on disk space, identifying which schemas and tables consume the most storage is the first step in capacity troublesho...

Monitoring

NAGIOS

Nagios - Service Group Summary ERROR

6 minute read

After migrating or restoring a Nagios XI server, navigating to the Servicegroup Summary, Hostgroup Summary, or legacy Nagios Core CGI views may fail with one...

knife Quick Reference

5 minute read

knife is the command-line tool that bridges your local chef-repo on a Chef Workstation and the Chef Infra Server. It allows administrators to manage nodes, c...

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

Setup/Configuration Nagios XI on Centos6.6

11 minute read

Nagios XI monitors hosts, network services, and application metrics across Linux and Windows environments, alerting administrators when checks enter warning ...

Zabbix Hadoop Monitoring.

6 minute read

This script can be used to monitor Namenode Parameters. This script can be used to Generate Zabbix Import XML or Send monitoring data to Zabbix server.

NAGIOSXI

Nagios - Service Group Summary ERROR

6 minute read

After migrating or restoring a Nagios XI server, navigating to the Servicegroup Summary, Hostgroup Summary, or legacy Nagios Core CGI views may fail with one...

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

Setup/Configuration Nagios XI on Centos6.6

11 minute read

Nagios XI monitors hosts, network services, and application metrics across Linux and Windows environments, alerting administrators when checks enter warning ...

NC

NETWORKING

NODEJS

NPM

Networking

Observability

PENTAHO

PERFORMANCE

Tuning Hadoop Performance with sysctl.conf

13 minute read

This post delves into optimizing Hadoop performance at the kernel level using sysctl. The sysctl interface provides a way to dynamically modify a running Lin...

PHP

PYTHON

Python - Virtual Environment.

2 minute read

Python virtual environment creates a isoloated workspace of python work. This helps in creating project specific virtual environment without worrying about ...

MongoDB to Neo4j Using neo4j_doc_manager.

10 minute read

We had a requirement where we wanted to have all the data which is in mongodb to be replicated on neo4j to show few graphs. Here is quick way to demonstrate ...

Cropping Bulk Images Using Python.

3 minute read

I was working on getting post headers for my post on this blog. I had couple of images from unsplash. But the header for the post need to be a little more ho...

Installing python 2.7.x on Centos 6.5/6.6

7 minute read

CentOS 6 was distributed with Python 2.6, while some older applications require Python 2.7. This guide describes two historical installation approaches: usin...

PYTHON-CHEETSHEET

Python - List Comprehensions.

9 minute read

List Comprehensions provides easy and functional way to create list in python. We could make a single line of code which otherwise would take a few lines. l...

Python Getting Started - Learning Notes.

66 minute read

Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java. This is basic documentation for getting star...

RAID

Mounting RAID10 using parted.

11 minute read

GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk, using globally unique identifiers (GUID). Although it...

REDHAT

Parcel Not Distributing Cloudera CDH.

1 minute read

We were deploying one of the cluster on our lab environment which is used by everyone. So the lab has it own share of stale information on it.

Creating /etc/hosts file in Chef.

4 minute read

We had a cluster environment which we needed to update the /etc/hosts file. Which would help communicate between the server over a private network. Our serve...

RHEL

Remove Old Files using find Command

3 minute read

Automated log cleanup and backup rotation scripts on Linux frequently rely on GNU find to locate and delete files older than a retention threshold. Evaluatin...

RPM Command Cheat Sheet

6 minute read

RPM (RPM Package Manager) is the low-level package management system used across Red Hat Enterprise Linux (RHEL), CentOS, Rocky Linux, AlmaLinux, Fedora, and...

Creating a large file in Windows / Linux

4 minute read

When testing disk-space monitoring alerts (such as Nagios or Zabbix filesystem thresholds), network throughput, or backup performance, it is helpful to quick...

RPMS

RPM Command Cheat Sheet

6 minute read

RPM (RPM Package Manager) is the low-level package management system used across Red Hat Enterprise Linux (RHEL), CentOS, Rocky Linux, AlmaLinux, Fedora, and...

RRD

Raspberry Pi

SNMP

Zabbix Template Creation using CSV file.

8 minute read

In zabbix we dont have a better way to capture snmptraps. we have to manually create an item and corresponfding trigger to handle a trap arriving from the de...

Setting up SNMP Trapper for Zabbix.

11 minute read

Receiving SNMP traps is the opposite to querying SNMP-enabled devices. In this case the information is sent from a SNMP-enabled device and is collected or “t...

SPAGOBI

SPARK

Streaming Data Processing - Storm Vs Spark.

6 minute read

Apache Spark is an in-memory distributed data analysis platform– primarily targeted at speeding up batch analysis jobs, iterative machine learning jobs, inte...

SQUID

SSL

Setting up SSL https On Nagios XI Server

7 minute read

Configuring HTTPS (TLS/SSL) on a Nagios XI server encrypts web UI logins, API calls (/nagiosxi/api/v1/), and passive check submissions (/nrdp/). Enabling HTT...

SSSD

Access Filter Setup with SSSD

7 minute read

SSSD can use an LDAP filter to decide which directory users are allowed to log in to a Linux host. This is useful when accounts should remain visible in the ...

STORM

Ansible Playbook - Setup Storm Cluster.

2 minute read

This is a simple Storm Cluster Setup. We are using a dedicated Zookeeper Cluster/Node, instead of the standalone zkserver. Below is how we will deploy our c...

Streaming Data Processing - Storm Vs Spark.

6 minute read

Apache Spark is an in-memory distributed data analysis platform– primarily targeted at speeding up batch analysis jobs, iterative machine learning jobs, inte...

SYSTEM ADMINISTRATION

Security

TESTING

Windows Testing Using Kitchen Chef

6 minute read

Test Kitchen (kitchen-vagrant) can provision disposable Microsoft Windows Server virtual machines on a Linux or macOS workstation using VirtualBox, Vagrant, ...

TESTING'

TRAPPER

Setting up SNMP Trapper for Zabbix.

11 minute read

Receiving SNMP traps is the opposite to querying SNMP-enabled devices. In this case the information is sent from a SNMP-enabled device and is collected or “t...

TROUBLESHOOTING

UBUNTU

Windows Testing Using Kitchen Chef

6 minute read

Test Kitchen (kitchen-vagrant) can provision disposable Microsoft Windows Server virtual machines on a Linux or macOS workstation using VirtualBox, Vagrant, ...

Installing CouchDB on Ubuntu 14 LTS.

4 minute read

Apache CouchDB is an open-source, document-oriented NoSQL database that stores JSON documents, exposes a native HTTP/RESTful API (on TCP port 5984 by default...

Installing MongoDB on Ubuntu 14 LTS.

8 minute read

MongoDB is a document-oriented NoSQL database that stores records as BSON (binary JSON) documents with flexible schemas and rich indexing. This guide covers ...

Encrypted Data Bags - Chef

8 minute read

Chef Data Bags store global JSON data on the Chef Infra Server that can be queried by any cookbook or node. When storing sensitive data—such as user password...

Remove Old Files using find Command

3 minute read

Automated log cleanup and backup rotation scripts on Linux frequently rely on GNU find to locate and delete files older than a retention threshold. Evaluatin...

VMWARE

Virtualization

WEBSERVER

WINDOWS

Windows Testing Using Kitchen Chef

6 minute read

Test Kitchen (kitchen-vagrant) can provision disposable Microsoft Windows Server virtual machines on a Linux or macOS workstation using VirtualBox, Vagrant, ...

Package Installer for Cygwin [apt-cyg].

3 minute read

When working on a Windows machine after spending years in Linux, Cygwin provides a POSIX-compatible environment where your custom .bashrc and .vimrc configur...

Bootstrap Windows - knife-windows - Chef

10 minute read

The knife-windows plugin extends Chef’s knife CLI with subcommands to bootstrap and manage Microsoft Windows nodes over Windows Remote Management (WinRM) or ...

Update hosts file in Windows 8

4 minute read

The local hosts file maps IP addresses to hostnames (FQDNs and short aliases) on the local machine before querying external DNS servers. This is especially u...

Creating a large file in Windows / Linux

4 minute read

When testing disk-space monitoring alerts (such as Nagios or Zabbix filesystem thresholds), network throughput, or backup performance, it is helpful to quick...

Chef Workstation Setup on Windows Machine.

11 minute read

Developing and testing Chef cookbooks locally on a Windows workstation requires three core components: the Chef Development Kit (ChefDK) (since superseded by...

Web Development

YARN

Long Running Jobs in YARN distcp.

1 minute read

Usually distcp and other batch jobs run for a very long time. This is fine if you are running a HADOOP environment without kerberos. When we kerberize a clus...

ZABBIX

Zabbix History Table Clean Up

8 minute read

In large Zabbix deployments, the raw history tables (history, history_uint, history_str, history_log, and history_text) frequently grow to tens or hundreds o...

Zabbix Template Creation using CSV file.

8 minute read

In zabbix we dont have a better way to capture snmptraps. we have to manually create an item and corresponfding trigger to handle a trap arriving from the de...

Setting up SNMP Trapper for Zabbix.

11 minute read

Receiving SNMP traps is the opposite to querying SNMP-enabled devices. In this case the information is sent from a SNMP-enabled device and is collected or “t...

Zabbix Installation 2.4 - CentOS 6.5

1 minute read

Zabbix is the ultimate enterprise-level software designed for monitoring availability and performance of IT infrastructure components. Zabbix is open source ...

Zabbix Hadoop Monitoring.

6 minute read

This script can be used to monitor Namenode Parameters. This script can be used to Generate Zabbix Import XML or Send monitoring data to Zabbix server.

ZOOKEEPER