10 Minutes To Get Your System Monitored
When we run some on-line business or do some startup projects, we may probably run a website or webservice. And it’s quite normal something may go wrong: website may go down, service may fail, machine...
View ArticleDocker: A Breakthrough Of Software Delivery
Docker, is a very hot and fancy word in cloud computing these days. So what’s Docker about? What’s the mysterious behind the power of Docker? If you tackle with server problems quite often, check...
View ArticleSetup Nagios With One Command
Install and configure nagios to monitor your servers and service with one command. How to try it? sudo su - export deploy_scenario="nagios" export chef_server="chef.dennyzhang.com" export...
View ArticleSetup Jenkins With One Command
Install and configure jenkins with one command. table .left, table .right { float:none; } pre {width: 600px; overflow: auto; } h3 {padding-top: 0.5em; font-size:1.2em; line-height:150%;} table .left,...
View ArticleSetup Ftp Server With One Command
Install and configure vsftpd with one command. table .left, table .right { float:none; } pre {width: 600px; overflow: auto; } h3 {padding-top: 0.5em; font-size:1.2em; line-height:150%;} table .left,...
View ArticleGenerate Common DB Data Report By ELK
Usually critical data is stored in DB. We can periodically poll and combine key metrics from DB into a data report, such as how many tables/collections in DB, how many items in each critical table,...
View ArticleAvoid Blind Wait In DevOps Code
Occasionally DevOps code needs to check and wait status, before running further steps. For example, wait for service A up, then start service B; confirm TCP port listening, then launch requests; etc....
View ArticleHow To Backup a Directory
Backup a directory? Looks so easy, right? Let’s find out. Permanent Link: http://dennyzhang.com/howto_backup_directory table .left, table .right { float:none; } pre {width: 600px; overflow: auto; } h3...
View ArticleBash Script To Sync Directory With S3
To secure critical backup remotely, we can use S3 bucket. Here is a bash script to sync a directory to/from a S3 bucket. Permanent Link: http://dennyzhang.com/sync_s3_directory table .left, table...
View ArticleWrite Initscript For Linux Daemon Service
How to write a linux initscript? You have implemented a daemon service. Now you may want everyone in the project can easily manage the service without extra communication. The standard way would be...
View ArticleUseful Tools To Test Your Internet
Dig out your internet info with free and useful websites or tools. Check the post and bookmark it. Permanent Link: http://dennyzhang.com/test_internet_tools table .left, table .right { float:none; }...
View ArticleCreate Local VM With Fixed IP Address
People are using VMs for local test more and more. The VMs are usually accessed by IP. Most likely laptops running the VM will be carried to different places, whether home, office or starbucks. Hence...
View ArticleA Complete And Easy Guide To Check Elasticsearch
To poll Elasticsearch db status, we usually need to learn and try many many REST API. When we’re new, it would take quite a while to put all the pieces together. As Ops/DevOps, we are usually more...
View ArticleConvert HAProxy Statistics To A Python Dictionary
HAProxy provides both GUI and unix socket file. Through them, we can explore lots of critical info, especially HAProxy Statistics. More importantly, how to read and understand the key output?...
View ArticleConvert HAProxy Statistics To A Python Dictionary
HAProxy provides both GUI and unix socket file. Through them, we can explore lots of critical info, especially HAProxy Statistics. More importantly, how to read and understand the key output?...
View ArticleUseful Tools To Test Your Internet
Dig out your internet info with free and useful websites or tools. Check the post and bookmark it. Permanent Link: http://dennyzhang.com/test_internet_tools table .left, table .right { float:none; }...
View ArticleManage SSH Key File With Passphrase
Any serious DevOps will only ssh by key file. Not with password, right? And mostly our powerful key file can unlock many critical envs. Have you ever uploaded your private key to other envs, like...
View Article4 Reasons Why SSH Connection Fails
As DevOps or IT professionals, people may ask us why they can’t ssh to servers. It happens from time to time. Isn’t right? Not much fun. Just routine work. Want to ease the pain and burden? Let’s...
View ArticleAvoid Using Same SSH Private Key For All Your Servers
The more projects you handle, the more servers you manage. But when you ssh to servers of different projects, are you using the same private key? And how secured you feel about this? Let’s imagine. One...
View ArticleRun GUI Test With Docker: Detect Web Page Loading Issues
How fast your web pages load on client sides, especially the portal or login pages? And how do you detect unexpected 302, 404 or 5XX responses. It would probably hurt your user experience or even the...
View Article