Arquivo de fevereiro \20\UTC 2017

Curso Gratuito de Nagios 4.2.4 – Aula 11 – Criando o próprio Plugin

vim /usr/local/nagios/libexec/check_site.sh #!/bin/bash ################################################################## ## ## ## lmcirilo at gmail.com ## ## ## ## Procura por duas palavras chaves no site ## ## ## ################################################################## if [ $# = 0 ] then echo “” echo “./check_site.sh [URL] [PalavraChave1] [PalavraChave2]” echo “” echo “Exemplo:” echo “” echo “./check_site.sh http://www.nagios.com reservados Contato” echo “” exit 1 fi […]

Deixe um comentário