Browse Source

Configuração para log com logrotate

master
bruno 1 year ago
parent
commit
0255becce8
  1. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/abd-agi
  2. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/agentesrt
  3. 34
      asterisk/hdaux_utilitarios_scripts/logrotate.d/agi-bin
  4. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/ami
  5. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/api
  6. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/cnvrtd
  7. 10
      asterisk/hdaux_utilitarios_scripts/logrotate.d/discador
  8. 23
      asterisk/hdaux_utilitarios_scripts/logrotate.d/diverso
  9. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/integracao
  10. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/manutencaoDB
  11. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/prevenda
  12. 56
      asterisk/hdaux_utilitarios_scripts/logrotate.d/relatorio
  13. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/retorno_abandonada
  14. 8
      asterisk/hdaux_utilitarios_scripts/logrotate.d/supervisor

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/abd-agi

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/abd_agi*.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/agentesrt

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/agentesrt*.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

34
asterisk/hdaux_utilitarios_scripts/logrotate.d/agi-bin

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/pbx_info-agente.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -16,7 +22,7 @@
/var/log/asterisk/ast_transbordo.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -31,7 +37,7 @@
/var/log/asterisk/bina_tronco.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -46,7 +52,7 @@
/var/log/asterisk/disa.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -63,7 +69,7 @@
/var/log/asterisk/callback.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -78,7 +84,7 @@
/var/log/asterisk/chefe-secretaria
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -93,7 +99,7 @@
/var/log/asterisk/monitor_0800.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -108,7 +114,7 @@
/var/log/asterisk/pbx_complemento.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -122,7 +128,7 @@
/var/log/asterisk/pesquisa_ura.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -136,7 +142,7 @@
/var/log/asterisk/piperun_request.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -151,7 +157,7 @@
/var/log/asterisk/pre-pago
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -166,7 +172,7 @@
/var/log/asterisk/prioridade_fila.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -181,7 +187,7 @@
/var/log/asterisk/facilidades_callcenter.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -197,7 +203,7 @@
/var/log/asterisk/indisponibilidade.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/ami

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/log_ami_*.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/api

@ -1,8 +1,14 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/api.log
/var/log/asterisk/ChamadaRamal.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/cnvrtd

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/cnvrtd.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

10
asterisk/hdaux_utilitarios_scripts/logrotate.d/discador

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/discadorclient.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -17,7 +23,7 @@
/var/log/asterisk/ld_listaDiscador.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

23
asterisk/hdaux_utilitarios_scripts/logrotate.d/diverso

@ -1,8 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/consolidaVendas.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -17,7 +22,7 @@
/var/log/asterisk/corrige_abandon_transbordo.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -33,7 +38,7 @@
/var/log/asterisk/lista_negra_cad.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -48,7 +53,7 @@
/var/log/asterisk/log_erro_pabx.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -63,7 +68,7 @@
/var/log/asterisk/portabilidade.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -79,7 +84,7 @@
/var/log/asterisk/resumo-cdr.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -96,7 +101,7 @@
/var/log/asterisk/televendas_bloqueio.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -113,7 +118,7 @@
/var/log/asterisk/whatsapp_request.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -129,7 +134,7 @@
/var/log/asterisk/workflow.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/integracao

@ -1,9 +1,15 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/integracao.log
/var/log/asterisk/IntegracaoRedir.log
/var/log/asterisk/encerra_chamada_satelitenorte.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/manutencaoDB

@ -1,9 +1,15 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/importa_bilhetes_dacs.log
/var/log/asterisk/simples_vacuum.log
/var/log/asterisk/manutencao_simples.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/prevenda

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/clienteFile.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

56
asterisk/hdaux_utilitarios_scripts/logrotate.d/relatorio

@ -1,8 +1,14 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/relatorio_abandonadasFilaDetalhes.log
/var/log/asterisk/relatorio_abandonadasFila.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -18,7 +24,7 @@
/var/log/asterisk/relatorio_chamadasEntrantesGeral.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -34,7 +40,7 @@
/var/log/asterisk/relatorio_chamadasRamal.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -49,7 +55,7 @@
/var/log/asterisk/relatorio_desempenhoOperacao.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -64,7 +70,7 @@
/var/log/asterisk/relatorio_filaContexto.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -79,7 +85,7 @@
/var/log/asterisk/relatorio_listaUsuarios.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -95,7 +101,7 @@
/var/log/asterisk/relatorio_metricasDiaria.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -111,7 +117,7 @@
/var/log/asterisk/relatorio_metricasDiaSemana.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -127,7 +133,7 @@
/var/log/asterisk/relatorio_originadasAgente.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -142,7 +148,7 @@
/var/log/asterisk/relatorio_pausasDetalhado.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -157,7 +163,7 @@
/var/log/asterisk/relatorio_pbxResumoFone.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -173,7 +179,7 @@
/var/log/asterisk/relatorio_pesquisaRel.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -189,7 +195,7 @@
/var/log/asterisk/relatorio_recebidasAgente.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -204,7 +210,7 @@
/var/log/asterisk/relatorio_recebidasDDD.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -219,7 +225,7 @@
/var/log/asterisk/relatorio_relAgenteHoras.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -235,7 +241,7 @@
/var/log/asterisk/relatorio_relAgenteProducao.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -251,7 +257,7 @@
/var/log/asterisk/relatorio_RelChamadasVenda.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -269,7 +275,7 @@
/var/log/asterisk/relatorio_relClassificacaoMensal.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -285,7 +291,7 @@
/var/log/asterisk/relatorio_RelComissao.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -301,7 +307,7 @@
/var/log/asterisk/relatorio_relDesligamento.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -318,7 +324,7 @@
/var/log/asterisk/relatorio_relMsgWhatsapp.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -334,7 +340,7 @@
/var/log/asterisk/relatorio_relSemRetorno.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -351,7 +357,7 @@
/var/log/asterisk/relatorio_relTrasfAgente.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -368,7 +374,7 @@
/var/log/asterisk/relatorio_saintesCentroCusto.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
@ -384,7 +390,7 @@
/var/log/asterisk/relatorio_uraDesempenho.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/retorno_abandonada

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/rad.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

8
asterisk/hdaux_utilitarios_scripts/logrotate.d/supervisor

@ -1,7 +1,13 @@
# é mudado o rotate
# Para não ser mudado o rotate remova
# o cometário abaixo ou mude a string
# auto_logrotate_licenca_PABX
/var/log/asterisk/ssupervisor.log
{
daily
rotate 365
rotate 186
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y

Loading…
Cancel
Save