check HP array disks modified script to fix Upgrade situations
embed github code in wordpress
This is the simples way to embed a file from a github repository to your webpage/blog
webinject auto create config
Script to auto create webinject xml config files from a list of URL ./buildskel SKELFILE URLFILE FILEOUTPUT buildskel URLFILE THe URL list is just a one url per line text file
Can't locate Sys/Statistics/Linux.pm
When using check_stats.pl on Centos 7 I got a known error but not so easy to fix… PROBLEM: # su – nrpe -c “/usr/lib64/nagios/plugins/check_stats.pl -C -w 90% -c 95%” Can’t locate Sys/Statistics/Linux.pm in @INC (@INC contains: /usr/lib64/nagios/plugins /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl […]
Access log to DB
Send apache access log to a mysql database #!/bin/bash # 2015-03-04 Nereu – versao Tomcat #set -x if [ ! -d /usr/local/tmp/his/$1 ] then echo ‘Ops!not found data/produto!’ echo “Uso: $0 YYYYMMDD_Produto” echo “Exemplo: $0 20150508_product” exit 1 fi date […]
