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

Category: BashScripts

By : Felipe Ferreira22/08/2013
BashScripts, HowTo, Linux, Nagios, plugins Leave a Comment on check apache script

check apache script

This script monitor Apache ./check_apache OK – Apache Status Req/s = 0.6 Idel = 4 Busy = 7|Req=0.6;Idle=4;Busy=7 Tested on Ubuntu 12.04 lighthttpd and It works only whe apache mod_status is on. I also included security on the mod_status access […]

View the post
Tags: apache, http
By : Felipe Ferreira07/06/2013
BashScripts 3 Comments on check how many files in a directory

check how many files in a directory

Script to count how many files exists in directory and subdirectories based on Gerd Stammwitz original script. It is helpfull in some cases, just to find out how many files you have recursive in a directory

View the post
Tags: bash, directory, files, Nagios, plugin, shell
By : Felipe Ferreira31/05/2013
Amazon-AWS, BashScripts, HowTo, Linux Leave a Comment on How to setup aws cmd line tools

How to setup aws cmd line tools

To be able to execute the many API command line tools you will need to setup and configure the authentication correctly. This will help you to do just that. 1. Download the Autoscalling CLI, CloudWatch and ec2-API-Tools cd /opt wget […]

View the post
Tags: amazon, api, automate, AWS, cmd, configure, ec2tools, HowTo, line, Linux, setup, tools
By : Felipe Ferreira17/01/2013
BashScripts, HowTo, Nagios, plugins, Windows 3 Comments on Cluster MS Check

Cluster MS Check

Another nagios/bash script that verifies if a cluster has performed a failover. This one is used for any microsoft cluster. #!/bin/bash # 2008-07-23 Nereu # edit: Felipe Ferreira 01-2010 TMPDIR=/usr/local/nagios/var PLGDIR=/usr/local/nagios/libexec OK=0 WARN=1 CRIT=2 UNKN=3 if [ “$#” -ne 3 […]

View the post
Tags: cluster, microsoft, mssql, Nagios, windows
By : Felipe Ferreira17/01/2013
BashScripts, Linux Leave a Comment on Check Linux Cluster

Check Linux Cluster

A simple nagios/bash script to check if a RedHat/CentOS cluster has failedover.It uses the output from the clustat command. The usage is simple the script name and service, example: check_usage IO_Service It has been tested only with a 2 node […]

View the post
Tags: check, cluster, failover, Nagios
By : Felipe Ferreira10/12/2012
BashScripts, Linux 1 Comment on check_ftp_download script

check_ftp_download script

This is a script that tests the FTP site by downloading a specific file and verifying how long it takes to do so. It also measures the bandwidth. It uses curl PHP library to do the FTP part. More of […]

View the post
By : Felipe Ferreira02/05/2012
BashScripts 1 Comment on File cleanup script for Linux

File cleanup script for Linux

Sometimes disks fill up with logs for example, and we the administrators have to login sometimes even wake up just to delete log files! Well this script solves the problem. In this case I used to cleanup Glassfish log files. […]

View the post
Tags: bash, cleanup, delete, files, Linux, logs, script

Posts navigation

Previous 1 2 3 4 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.