Check services status in Nagios by Nagcheck

Check services status in Nagios by Nagcheck

I just created a script Nagcheck to read services status in Nagios. It reads all the nagios settings, parse them, then create a report based on what you ask for. With this script, you can do the following things: List the notification disabled (or enabled) hosts
Capistrano variables list

Capistrano variables list

If you’re running Capistrano for deployment, you might be confused by its vairables, here’s a list of the variables that used by Capistrano:
Python: initialize a list

Python: initialize a list

I met this issue last week, and finally got a proper way to handle it. We normally init a list like this “list=[]“, then how can we initialize a python list with a string variable?
Subversion: difference among checkout export and update

Subversion: difference among checkout export and update

As we know, Subversion uses hidden directories of metadata to enable the functionality it provides. These .svn directories are what makes a directory into a Subversion working copy. Without these, it’s just a directory and Subversion can’t do much with it. UPDATE is an operation that is performed [...]
Nginx 1.0.6 RPM package SPEC file

Nginx 1.0.6 RPM package SPEC file

Here’s is a SPEC file for building the latest Nginx-v1.0.6 on RHEL/CentOS platform. My Basic modifications are: Nginx would be installed in a dedicated directory named /opt/admon/nginx The Nginx serves as a basic web server. Only a limited amount of modules are enabled. You can update it by [...]
Downgrade SVN from 1.6 to 1.4

Downgrade SVN from 1.6 to 1.4

Sometimes, you may face this issue, how can I downgrade a subversion repository properly? As Subversion does not officially supply this toolset, we’ll show an example on how to downgrade an svn repository from 1.6 to 1.4 via svnsync.
Sync two Amazon S3 buckets

Sync two Amazon S3 buckets

When using Amazon S3 to store the web files, you may face this question sometimes, How can I keep the files for my productive environment exactly the same as develop environment? (In other words, you want to remove the unused files in dev environment.)
Configure network card in promiscuous mode

Configure network card in promiscuous mode

When running in promiscuous mode, all traffic the network card receives can be read. This configuration is useful for us to do network monitoring, like for a network intrusion detection system.
MySQL 5.5.15 GA Released

MySQL 5.5.15 GA Released

MySQL 5.5.15 GA has been released in 28 July 2011. Functionality Added or Changed The undocumented –all option for perror is deprecated and will be removed in MySQL 5.6. Bugs Fixed InnoDB Storage Engine: A failed CREATE INDEX operation for an InnoDB table could result in some memory being [...]
14 Rules for Faster-Loading Web Sites

14 Rules for Faster-Loading Web Sites

This is a forwarded copy from Steves Souders‘ blog site. These rules are the key to speeding up your web pages. The key insight behind these best practices is the realization that only 10-20% of the total end-user response time is spent getting the HTML document to the browser. We need to focus [...]
© 2006-2011 Admon Home. All rights reserved.