February 2017
« Jan    

Ubuntu 14.04 : Setting up vFTPd server easily


I have an urgent requirement to setup a ftp server on one the Ubuntu desktop for a interim solution. I have installed vsftpd easily using apt command and started it.

root@web-119:/etc/apt# apt-get install vsftpd root@web-119:/etc/apt# netstat -anlp | grep "21" tcp        0      0             [...]

How do I monitor uptime of my bulk smtp server externally


Here is my challenge, I have configured a highly reputed email server using Postfix MTA for sending bulk emails. So it’s a crucial for us to monitor the uptime of this service. So I decided to use nagios system to verify the SMTP authentication in 3 mts interval along with 2 failure checks and can [...]

warning: /etc/hosts.allow, line 109: can’t verify hostname: getaddrinfo


Few of my servers are protected using TCP Wrappers to control the access for security reasons. I have limited the ssh access using this mechanism to certain known IP’s or network ranges. But recently one the user who using 3G connection from a mobile network unable to access my servers as they are using IPv6 [...]

Nagios : How do I monitor Amazon RDS MySQL server


One of the recent requirement which I had ask to do was to setup some mechanism to monitor the MySQL RDS server where we do not have limited access towards the resources statistics and utilization.

Found that Percona has developed a tool for monitoring MySQL RDS Activities including RAM,Load and Disk utilization. One thing [...]

NRPE : krb5.h:2690:24: error: et/com_err.h: No such file or directory


While I’m installing nrpe (Nagios Client) on a server I got a strange error as shown below, I’m using CentOS 6.4 (64 bit) linux.

/usr/include/krb5/krb5.h:2690:24: error: et/com_err.h: No such file or directory In file included from /usr/include/krb5.h:7,                  from /usr/include/openssl/kssl.h:72,                 [...]

How do I create custom Nagios plugins using bash script

Sometimes people may want to monitor the value of certain output to ensure the availability of service stability. This is most easiest way to create your own script to monitor our expected output of a command. This will be useful for monitoring a numeric variable which returned as output.

This eg. I’m going to [...]