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 Ferreira13/12/2013
HowTo, Linux Leave a Comment on Run jenkins with another user

Run jenkins with another user

How to configure jenkins to run under different user other then tomcat6 account. I configured it to run a bash script using: sudo -u ubuntu /opt/script NOTE: inside the script debug it using whoami and env I had problems with […]

View the post
Tags: bash, jenkins, run, tomcat, user
By : Felipe Ferreira06/12/2013
BashScripts, HowTo, Linux, Nagios, plugins Leave a Comment on check_error_log

check_error_log

Yet another log monitoring script.. The date field is very specific for each system and I keep having to refix each time. I like this one about the way it works, it first find the date/time where we want to […]

View the post
Tags: bash, logs, Nagios, script
By : Felipe Ferreira14/06/2013
Amazon-AWS, HowTo 1 Comment on varnish dynamic backend

varnish dynamic backend

Varnish pointing to a Amazon ELB (elastic load balance) does not work. Error: Backend host “XXXXXXXXXXX-123456789.us-east-1.elb.amazonaws.com”: resolves to multiple IPv4 addresses. Only one address is allowed. I wrote this script to have a way to auto update the vcl once […]

View the post
Tags: backend, bash, dynamic, problem, script, varnish
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 Ferreira14/05/2013
Amazon-AWS, HowTo Leave a Comment on auto scale script

auto scale script

This can help if you are creating any kind of auto scale on Amazon AWS. It is not a 100% automatic, as you will need to prior to running this have: Pre-requisites on how to run the AWS command lines […]

View the post
Tags: amazon, auto, AWS, bash, scale, script
By : Felipe Ferreira17/04/2013
Nagios, plugins 2 Comments on check logfiles script

check logfiles script

Not so generic way to check ‘any’ logfile for erros I have written at least about 5 variations of this same script. Some more flexible and genereal purpose. But in the end I have been writing customs made out of […]

View the post
Tags: bash, check, hour, logfile, Nagios, script
By : Felipe Ferreira03/10/2012
Linux, Nagios Leave a Comment on TCP Send-Queue

TCP Send-Queue

Script to monitor the TCP Send-Queue. Send-Q is retrived from the netstat cmd. ex.: #netstat -anp |more Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name The script syntax example: #check_sendq -w 900 […]

View the post
Tags: bash, check, Nagios, netstat, script, send-q

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.