How imports historical Nagios log files into the mysql database

NDO Utilities:-
The NDO utilities add-on, written by Nagios developer Ethan Galstad, is designed to output events and data from Nagios to standard files or to a Unix socket. It also comes with a module called NDO2DB that allows Nagios data to be written to a MySQL or PostgreSQL database The add-on is made up of [...]

Read More      No Comments

Mysql slave giving duplicate entry error

We can remove the duplicate entry error on slave by running below command on slave. If we will not removed the Duplicate errors from the slave, replication will be stopped.
stop slave;
SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1;
start slave;
show slave status\G;
Thanks
Manoj Chauhan

Read More      No Comments

Nagios: ndomod: Still unable to connect to data sink

I have Nagios 3.x running perfactly, I want to load all alerts data to Mysql for future reference so we can create reports  accordingly.
I have installed NDOUtils but after instalation I am getting the following error in the /var/log/messages
nagios: ndomod: Still unable to connect to data sink.  14613 items lost, 5000 queued items to flush.   
I [...]

Read More      No Comments

IIS 6 performance

Performance Tuning (IIS 6.0)
Web server administrators often monitor their Web servers to create a performance baseline. A performance baseline is a collection of data that indicates how the servers are performing when everything is running smoothly. Before making changes to their servers in a production environment (for example,. rolling out a new version of a [...]

Read More      No Comments

Running multiple sendmail instances on same server

Situation:
 We want to separate core mail from “higher-risk” mail (i.e. mail sent from application servers in a DMZ) on our sendmail servers. In the event that one of our DMZ servers for which we relay mail is compromised, we do not want our mail server placed on a DNS blacklist. Therefore, we will have separate [...]

Read More      No Comments

How to enable Sendmail Multiple Queues

Sendmail will use by default a single mail queue. This is what most users will need, and if you don’t have any special requirement you will not care about this. Still for high traffic mail servers it might be useful to split the queue over several directories, as thousands of files in a single directory [...]

Read More      No Comments

How do I set my java classpath?

Problem
Linux uses Red Hats java package instead of the Sun jdk.
Reason
The java interpreter from the standard Red Hat installation is placed in /usr/bin, which is in the path where Linux search for executables. This will be used be default if you don’t specify otherwise.
To find the java classes, you also have to set the java [...]

Read More      No Comments

How can add mail aliases

vi /etc/aliases
#Add following line in the aliases file
manoj:manoj.chauhan@onaxer.com,mchauhan@domain.com
after that run newaliases command in the shell, it will build the entry with aliases.db database.
Now you are able to send the mail to manoj group. 
Thanks
Manoj Chauhan

Read More      No Comments

How to Check Memory Usage in Linux based Server

Introduction:-
Memory is one of the most critical resource components on a server to ensure that the smooth and fast operation. Thus, the availability of adequate and abundant physical memory size is vital especially for any server, especially high load web host that are also running database server such as Oracle or MySQL, which is famous [...]

Read More      No Comments

HOW-TO Install VMWARE server on Centos 5 or Red hat enterprise Linux 64 bit version

Introduction:-
VMware virtualization software is an excllent choice for x86-compatible computers. They have both commercial and free version. I received few email regarding VMWARE on 64 bit Linux. Installing VMWARE server on CentOS 5 or Red hat enterprise Linux 64 bit version is a tricky business. In this small howto I will explain vmware installation on [...]

Read More      No Comments