Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, May 28, 2013

Configure Gmail SMTP Relay

SMTP stands for Simple Mail Transfer Protocol, lets you send email messages through your email account using your existing email service. This email service is subject to your interest. It could be any like: Gmail Relay, Snail Mail etc.

In this post we are going to configure Gmail Relay to send emails.

Nagios HTTP WARNING: HTTP/1.1 403 Forbidden Solved

I setup a nagios server and after the setup, I encounter a warning "Nagios HTTP WARNING: HTTP/1.1 403 Forbidden".


Nagios HTTP WARNING: HTTP/1.1 403 Forbidden Solved


Wednesday, May 22, 2013

Nagios Server Configuration for different hosts


In our previous posts, we learn how to install nagios, how to install NRPE or NSClient++. Now let's have a look on configuring hosts in nagios in best practical way Nagios Server Configuration for different hosts.

It will be good practice if we configure the client hosts in groups on Nagios Server.
Steps to Group clients servers:
1. Create locations for host configuration files:
In our configuration, we are grouping servers in 4 main categories:

Nagios NRPE Installation

Nagios NRPE Installation
In previous article, we learn how to install nagios (monitoring tool). Now we'll learn how to install nagios agent on the system, which needs to be monitored in nagios. This Agent tool is known as Nagios NRPE (for linux). To monitor system having Windows operating system, we need to install NSClient++. NSClient++ is very easy to install as it is simply a .exe file. Here are the steps to install NRPE plugin (agent) on linux machine:

Nagios Installation


NAGIOS: It's a monitoring tool used widely in server administration. When we have large no. of system like in data centers then we need some technology to monitor our data base servers, application servers, routers, other machines etc. 

Nagios provides a complete solution for this. Nagios provides graphical reports and monitoring of our network & servers. In order to setup nagios successfully, we need to install nagios on one server and different machines, servers will be configred in it. To communicate with configured hosts (servers), we need to install NRPE agents on servers, which need to be monitored. 

Friday, March 8, 2013

Basic JQuery Interview Questions


Is jQuery a library for client scripting or server scripting?
Ans: Client scripting

Is jQuery a W3C standard?
Ans: No

What are jQuery Selectors?
Ans: Selectors are used in jQuery to find out DOM elements. Selectors can find the elements via ID, CSS, Element name and hierarchical position of the element.
jQuery Selectors are used to select one or a group of HTML elements from your web page.
jQuery support all the CSS selectors as well as many additional custom selectors.
jQuery selectors always start with dollar sign and parentheses: $()
There are three building blocks to select the elements in a web document.

Friday, December 14, 2012

Sending E-mails with attachments

Sending E-mails with attachments
After hours of searching for sending emails with attachment, my search results in below solution.
For sending emails with attachments, we can use ZEND library, but it make no sense for me to use such a big library just for sending email. Here is simple solution for this problem with couple of simple lines.