Posts

Showing posts from May, 2019

Nagios Installation and Monitoring

Image
Nagios Installation and Monitoring        Nagios is one of the most widely used open source monitoring tools which helps us to monitor the services and applications that runs of Windows, Linux, Routers and other network devices.       With the help of Nagios, we can monitor basic services and attributes. We can access the Nagios using web interface coming with the bundle and configuration need to be done on the file level.   Prerequisites        Before installing Nagios, the system need to meet few requirements for installing Nagios. Let's install those prerequisites like httpd(web server), php(scripting language), compilers and development libraries.         We can install these prerequisties through a single command. Here we go: yum install php httpd gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel xinetd unzip            As w...

Auto Build of Jenkins Jobs from local GIT

Auto Build of Jenkins Jobs from local GIT Introduction:     We've quite few ways to build the job through Jenkins(manually or automatically), we'll see the other way to trigger the Jenkins job automatically when we commit changes to local git. Step 1: Go to Jenkins home directory and create a repo.                       cd /var/lib/jenkins                       mkdir repo Let's initialize this the empty repo using the init command.                        git init .  => this step would initialize the git repo locally Create a file under repo and commit the changes.                          cd /var/lib/jenkins/repo                          vi fil...

Reverse Proxy with Web-servers

Reverse Proxy with Web-servers                  A reverse proxy server is a type of proxy serve that typically sits behind the firewall in a private network and directs client requests to the appropriate backed serve. A reverse proxy provides an additional level of abstraction and control to ensure the smooth flow of network traffic between client and servers.                                             W e have quite few ways to re verse proxy a particular site or ip address.  One among them is by using web servers(Apache httpd & Nginx). Let's deep dive into the configurations. Using Nginx Server         Nginx is an open soure, high performance HTTP server, load balance and reveres proxy software. It has a straightfoward configuration language making it...