Archive for the ‘Web’ Category

Nagios – Using NRPE

In continuation to my previous post , I will now discuss how to use Third party Nagios plugins and how to make use of NRPE. Again, once you start to know how these things works, it will be a cake walk. Else you can get tangled up with all those configuration files.

You might need your Nagios to monitor a few applications or services, which plugins are not installed with the default Nagios plugins folder. So venture out for third party plugins, some of which are not so efficient and some good enough. You will find a few plugins which can start working with just a few steps. Download and put the plugin in your plugin folder ( generally /usr/local/nagios/libexec/ ) with 755 permission and ” nagios ” ownership , write proper code in the commands.cfg file and use it in your remotehost monitoring file ( e.g. apache1.cfg ) . (more…)

Nagios – Installation Guide

Nagios is an opensource monitoring tool which is used to monitor various kinds of hosts ( Windows and linux) and several kinds of services. Once you know how the Nagios works, its pretty easy to work with it although adding up new hosts or services is tedious job. Internet is full of comprehensive articles about Nagios installations. So I will try not to make this article repetitive of what is already available over the net, but try to explain a bit more on how the Nagios is actually working, so that you can understand what things to tweak and how, as per your requirement.

Installation if Nagios in brief.  There is already one autoinstaller available which you can use and get your Nagios installed without any effort. You can find the autoinstaller here. I have already used it and it works fine. However, you may need to make some changes in the Apache path , written in the script, only if you have installed Apache in a separate customized path or using other scripts like Bitnami Lampstack.

I would recommend you to install Nagios manually atleast once. You can find the steps in the following Pdf File. (more…)

.avi file compression

Uncompressed video files ( .avi) which are recorded from cameras or webcam use a huge file size. A 25 sec moderate quality video takes 150 mb of space. It is not possible to share this raw format with others through internet and so I was looking for a method to compress the file and keeping it as a .avi file. After searching the net and testing with a few softwares I was finally able to compress my 150mb .avi file to 5 mb without losing the framerate or quality of the video.

VirtualDub was the answer to my problem. You can download VirtualDub from here. Its a zip file which you can extract and start using by just running the file VirtualDub.exe

You will also need a Xvid Codec for the compression, a good codec is Koepi’s XviD Codec 1.2.2 which you can download and install. I got an error to override the deafult codec while installing it, but I Ignored the error and everything worked fine after that. (more…)

Cloud Computing

So what is Cloud Computing ?

I was looking around all the definitions on cloud computing over the net but all are too complicated. Finally I found the easiest definition to understand it. Cloud computing is a network of servers that involves delivering hosted services to customers over the Internet. A cloud service has three unique characteristics that differentiates it from traditional hosting. It is sold on demand, typically by the minute or the hour. A user can have as much or as little of a service as they want at any given time and the service is fully managed by the provider . The consumer needs nothing but a personal computer with an internet access.

These services are broadly divided into three categories: Infrastructure-as-a-Service (IaaS), Platform-as-a-Service (PaaS) and Software-as-a-Service (SaaS). The name cloud computing was inspired by the cloud symbol that’s often used to represent the Internet in flow charts and diagrams. (more…)

Installing additional packages in Ubuntu

After installing Ubuntu and configuring the internet connection the first thing that you should do is to update the system with the latest packages. You can update your installation from “System” -> “Administration” -> “Update Manager”. You can also execute the command sudo apt-get update in the terminal to update your system.

Ubuntu comes with a lot of useful packages but there are additional packages that might come handy to you.. (more…)