Dúvida: https://pt.stackoverflow.com/questions/349989
#!/bin/bash
cat > log << _eof
#!/bin/bash
ls -l
#!/bin/bash | |
# Lê arquivo. | |
conteudo=$(< arq1.yaml) | |
# variável. | |
var='[email protected]' | |
# Lê o contéudo enquanto houver variáveis. | |
# Ex: ${var1}, ${var2} ... |
Dúvida: https://pt.stackoverflow.com/questions/349989
#!/bin/bash
cat > log << _eof
#!/bin/bash
ls -l
Dúvida: https://pt.stackoverflow.com/questions/355510
grep -oP '(?<=current node: )[0-9]+' $TMPARQ
Arquivo:
#!/bin/bash | |
# Importando API | |
source ShellBot.sh | |
# Token do bot | |
bot_token='<TOKEN_AQUI>' | |
# Inicializando o bot | |
ShellBot.init --token "$bot_token" --monitor --flush |
#!/bin/bash | |
# Importando API | |
source ShellBot.sh | |
# Token do bot | |
bot_token='<TOKEN_AQUI>' | |
# Inicializando o bot | |
ShellBot.init --token "$bot_token" --flush --monitor --return map |
#!/bin/bash | |
# Importando API | |
source ShellBot.sh | |
# Token do bot | |
bot_token='<TOKEN_AQUI>' | |
# Inicializando o bot | |
ShellBot.init --token "$bot_token" --monitor --flush |
#!/bin/bash | |
# Importando API | |
source ShellBot.sh | |
# Token do bot | |
bot_token='<TOKEN_AQUI>' | |
# Inicializando o bot | |
ShellBot.init --token "$bot_token" --monitor --flush |
Se você possui conhecimentos na ferramenta Zabbix e gostaria de contribuir na construção da biblioteca no projeto bashsrc, leia a documentação a seguir.
A biblioteca zabbix.sh será constituída por uma coleção de funções que irão integrar os métodos da API oficial