Skip to content
FELIPE FERREIRA

FELIPE FERREIRA

System Administrator

  • Home
    • ME
    • Hobby
      • Motogp
  • Linux
    • Amazon-AWS
    • bash
    • LinuxCommands
    • Varnish
    • Centos
    • BashScripts
    • tomcat
  • Exchange
  • ESX
  • Varnish
  • Security
  • Centreon

Tag: bash

By : Felipe Ferreira11/08/2015
Amazon-AWS, HowTo 5 Comments on aws backup script

aws backup script

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. It also prints a BackupExpiration TAG, […]

View the post
Tags: ami, AWS, backup, bash, images, instances, script, snapshots
By : Felipe Ferreira03/08/2015
Amazon-AWS, HowTo Leave a Comment on AWS Cloud Watch bash script

AWS Cloud Watch bash script

This script was written by me a while back (still has an old version of the CLI) I found a minor bug, when using non integer values (decimal values) causes a problem, bash does not handle it very well. Anyone […]

View the post
Tags: AWS, bash, cloudwatch, script
By : Felipe Ferreira10/12/2014
Nagios, plugins 1 Comment on check process uptime

check process uptime

Simple script to get any linux process uptime. It could have been done using the /proc/PID too. Here is the code: #!/bin/bash # Script to get a process uptime, alerts if process time is under CRIT value # can be […]

View the post
Tags: bash, Linux, Nagios, process, uptime
By : Felipe Ferreira25/03/2014
BashScripts, Nagios, plugins, Varnish Leave a Comment on check_backend.sh

check_backend.sh

Another bash script to monitor if there were any failed connections to the backend’s. It is a simple aproach using the command: varnishstat -1 -f backend_fail Then it puts the output on a tmp file and next time it runs […]

View the post
Tags: bash, check_backend.sh, Linux, Nagios, varnish
By : Felipe Ferreira25/03/2014
BashScripts, Nagios, plugins Leave a Comment on varnish check_hitratio

varnish check_hitratio

We need to know if varnish is caching hit ratio is as it should. So I wrote this simple bash plugin for nagios. ./check_hitratio.sh 96 90 OK – 98.67% hit_ratio|hit_ratio=98.67 96 = warning 90 = critical if no arg is […]

View the post
Tags: bash, hitratio, Nagios, plugin, varnish
By : Felipe Ferreira12/03/2014
BashScripts 1 Comment on script to monitor cpu usage by process

script to monitor cpu usage by process

A bash script to get the CPU usage by process usage: nohup ./check_proc bwengine 70 & bwegnine is the process name we want to monitor 70 is to log only when the process is using over 70% of the CPU. […]

View the post
Tags: bash, cpu, monitor, process, script
By : Felipe Ferreira17/12/2013
HowTo, Linux Leave a Comment on bash get analytics data

bash get analytics data

This is a bash script to get Google Analytics Data, in this case A total day Pageviews. Here is the code: #!/bin/bash # Get google anlytics pageview results # by Felipe Ferreira Dec 17 2013 # v1 #todo: get REAL […]

View the post
Tags: analytics, api, bash, get, google, script, shell

Posts navigation

Previous 1 2 3 … 5 Next

Recent Posts

  • How to Write a node application to run openai chatgtp inside a docker container
  • AWS Solution Architect Study Guide
  • check_vmware_esx slow

Categories

SEARCH

https://www.buymeacoffee.com/felipeferreira
All Right Reserve. Theme: Franchise by Moral Themes.