Posted by joseph on November 5, 2011 ·
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
Posted by joseph on October 24, 2011 ·
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:
Posted by joseph on October 16, 2011 ·
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?
Posted by joseph on September 17, 2011 ·
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 [...]
Posted by joseph on September 4, 2011 ·
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 [...]
Posted by joseph on September 2, 2011 ·
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.
Posted by joseph on August 3, 2011 ·
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.)
Posted by joseph on July 30, 2011 ·
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.
Posted by joseph on July 29, 2011 ·
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 [...]
Posted by joseph on July 13, 2011 ·
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 [...]