Linux Monitoring Tools

December 17th, 2015 No comments


Categories: HowTo, Linux Tags:

Alert correlation: Why it matters and best practices to implement

December 8th, 2015 No comments

Times are changing in the IT world: the most popular monitoring stacks now consist of about six to eight tools, and generally include at least one from each of the following, plus other specialized or custom tools: an open source monitoring tool (Nagios, Zabbix, or Icinga) combined with an APM tool (New Relic, AppDynamics, or Dynatrace), an error detection tool like Sentry, and a log analytics tool (Splunk or Logstash).

Continue reading “Alert correlation: Why it matters and best practices to implement” »

Categories: Nagios Tags:

apache tuneup

November 16th, 2015 No comments

Apache Tune Up

I was able to do about 4K concurrent connections with this setup.

Using Centos 6.7 64bit Apache httpd-2.2.15-47.el6.centos.x86_64
a Virtual Machine 4x CPU’s and 4GBs of memory, I have 2 disks, one for /var and other for the rest.

Continue reading “apache tuneup” »

script to check aws status

September 23rd, 2015 No comments

This is a bash script made to work with nagios and to automaticly check Amazon AWS status
based on the RSS from
I did find something similar in Ruby
I tried to keep it simple as possible…

Continue reading “script to check aws status” »

Categories: Amazon-AWS Tags: , , , ,

How to mount xfs

August 27th, 2015 No comments

How to mount xfs

#Find the new disk
fdisk -l

#Create the partition ( n,1,w)
fdisk /dev/xvdf

Continue reading “How to mount xfs” »

Categories: Amazon-AWS, HowTo Tags:

Setup AWS S3 Policy

August 26th, 2015 No comments

S3 is a great place to keep logs data or even backups.
Monthly Basic cost:
S3 U$ 0.02 p/ GB (with Reduce Redundancy).
Glacier only U$ 0.01 p/ GB

Continue reading “Setup AWS S3 Policy” »

Amazon Leadership Principles

August 24th, 2015 No comments

Amazon Leadership Principles aren’t just a pretty inspirational wall hanging. These Principles work hard. Amazonians use them, every day, whether they’re discussing ideas for new projects, deciding on the best solution for a customer’s problem, or interviewing candidates. It’s just one of the things that makes Amazon peculiar.

Continue reading “Amazon Leadership Principles” »

Categories: Amazon-AWS Tags:

s3 delete script

August 24th, 2015 No comments

How about if you need to delete large quantities of files inside a S3 bucket.
In my case it was about 5 millions files.
Using a python script.

Continue reading “s3 delete script” »

Categories: Amazon-AWS, HowTo Tags:

s3 set cache-control

August 21st, 2015 No comments

Script to set cache control header to a large S3 bucket
Best let it run on the background. do

nohup /root/ > /root/set_cache.log &

Continue reading “s3 set cache-control” »

Categories: Amazon-AWS, HowTo Tags:

aws backup script

August 11th, 2015 No comments

This is a robust script that backups all instances that have a TAG, Backup=TRUE
it generates a AMI images, and snapshots of each Volume, also a nice e-mail with a HTML table nice format.

Continue reading “aws backup script” »