Christiano Estou pensativo com aquele tempo de 0.5 que você colocou no normal_check_interval. Não sei se fracionado funciona.
Alguém mais já viu a utilização de valores fracionados neste campo??? []s Em 28/12/2011, às 15:51, <benedito.ra...@caixa.gov.br> escreveu: > Christiano, > > Verifiquei no template generic-host aqui e tem uma diretiva chamada > "first_notification_delay". > Que você pode habilitar ou não. > Veja a descrição dela abaixo, retirada do help do próprio Nagios. > Por default, o generic-host vem sem esse delay, mas pode ser que o teu aí, ou > mesmo o host específico, esteja com ela ativa. > Se for o caso, coloque 0 (zero) nela e faça testes. > Dê retorno se for isso mesmo. Veja abaixo: > > ################################ > Host - first notification delay > > This directive is used to define the number of "time units" to wait before > sending out the first problem notification when this host enters a non-UP > state. Unless you've changed the interval_length directive from the default > value of 60, this number will mean minutes. If you set this value to 0, > Nagios will start sending out notifications immediately. > > Parameter name: first_notification_delay > Required: no > ################################ > > Dito > > -----Mensagem original----- > De: Christiano Liberato [mailto:christianoliber...@gmail.com] > Enviada em: quarta-feira, 28 de dezembro de 2011 13:53 > Para: Unofficial Brazilian (Portuguese) Nagios Users List > Assunto: Re: [Nagios-users-br] Diminuir tempo de envio de email no nagios > > O tempo de envio é praticamente instantâneo. > > Em 28 de dezembro de 2011 09:01, Jose Geraldo de Oliveira < > jotag...@gmail.com> escreveu: > >> Sua latencia tá bem baixa... >> >> Voce já testou entrar no Linux, com o usuário do Nagios, e enviar um email >> na mão e ver o tempo que ele chega no destino? >> >> Faça assim: >> echo "teste" | mail -s "teste" destinata...@gmail.com >> >> Pode ser que a demora não seja dentro do Nagios, mas em algum outro >> componente: antivirus, MTA, proxy... >> >> Boa sorte. >> >> >> Em 27/12/2011, às 22:59, Christiano Liberato escreveu: >> >>> Jose, >>> >>> sinceramente nao sei analisar essa latencia mas vou colocar abaixo os >>> resultados obtidos agora: >>> >>> Services Actively Checked: >>> Time FrameServices Checked <= 1 minute:23 (100.0%)<= 5 minutes:23 >> (100.0%)<= >>> 15 minutes:23 (100.0%)<= 1 hour:23 (100.0%)Since program start: 23 >> (100.0%) >>> MetricMin.Max.Average Check Execution Time: 0.35 sec0.43 sec0.380 sec >> Check >>> Latency:0.16 sec0.25 sec0.204 sec Percent State Change:0.00%0.00%0.00% >>> Services Passively Checked: >>> Time FrameServices Checked <= 1 minute:0 (0.0%)<= 5 minutes:0 (0.0%)<= >> 15 >>> minutes:0 (0.0%)<= 1 hour:0 (0.0%)Since program start: 0 (0.0%) >> Metric >>> Min.Max.Average Percent State Change: 0.00%0.00%0.00% >>> Hosts Actively Checked: >>> Time FrameHosts Checked <= 1 minute:0 (0.0%)<= 5 minutes:3 (100.0%)<= 15 >>> minutes:3 (100.0%)<= 1 hour:3 (100.0%)Since program start: 3 (100.0%) >>> MetricMin.Max.Average Check Execution Time: 4.19 sec4.22 sec4.203 sec >> Check >>> Latency:0.10 sec0.20 sec0.145 sec Percent State Change:0.00%0.00%0.00% >>> Hosts Passively Checked: >>> Time FrameHosts Checked <= 1 minute:0 (0.0%)<= 5 minutes:0 (0.0%)<= 15 >>> minutes:0 (0.0%)<= 1 hour:0 (0.0%)Since program start: 0 (0.0%) >> Metric >>> Min.Max.Average Percent State Change: 0.00%0.00%0.00% >>> Check Statistics: >>> TypeLast 1 MinLast 5 MinLast 15 Min Active Scheduled Host >> Checks039Active >>> On-Demand Host Checks21031Parallel Host Checks0310Serial Host >> Checks000Cached >>> Host Checks21030Passive Host Checks000Active Scheduled Service >> Checks53237 >>> 696Active On-Demand Service Checks000Cached Service Checks000Passive >>> Service Checks000External Commands000 >>> Buffer Usage: >>> TypeIn UseMax UsedTotal Available External Commands 004096O ultimo email >>> de alerta de um seviço down, que derrubei de proposito, demorou 12 >> minutos. >>> >>> Em 27 de dezembro de 2011 22:40, Jose Geraldo de Oliveira < >>> jotag...@gmail.com> escreveu: >>> >>>> Christiano >>>> >>>> Existe um link no menu do Nagios, no grupo System, chamado "performance >>>> info". Clique lá e veja os valores de latency que voce está obtendo. >>>> >>>> Tem valores para host checks e service checks... >>>> >>>> O Nagios funciona mais ou menos assim: >>>> >>>> - ao startar, ele programa o inicio de cada check e tenta espalhar estes >>>> checks dentro do tempo que voce deu pra ele. >>>> - no momento de cada check, um fork é criado pra executar o plugin >>>> necessário >>>> - cada um destes forks obtem a resposta do plugin e a coloca em uma >> fila, >>>> que o processo principal lê >>>> - o processo principal le a fila e atualiza os arquivos de log e >> gerencia >>>> os eventos, inclusive envio de email >>>> >>>> Se o processo principal demora pra ler a fila por qualquer motivo, >> aumenta >>>> a latência ou seja, tempo desde que o resultado do plugin foi colocado >> na >>>> fila até o processo principal processá-lo. >>>> >>>> O Uso de exits, tais como envio dos dados para um Banco de dados como o >>>> ndo2db pode aumentar a latencia pra caçamba... >>>> >>>> []s >>>> >>>> >>>> Em 27/12/2011, às 22:16, Christiano Liberato escreveu: >>>> >>>>> Jose, >>>>> >>>>> a detecção está bem rápida... em >>>>> \usr\local\nagios\etc\objects/templates.cfg no generic-service alterei >> o >>>>> normal_check_interval de 10 para 0.5. >>>>> >>>>> Mas o envio está demora muito. >>>>> Da minha rede local monitoro alguns servidores numa nuvem nos EUA. >>>>> >>>>> []s >>>>> >>>>> Em 27 de dezembro de 2011 18:45, Jose Geraldo de Oliveira < >>>>> jotag...@gmail.com> escreveu: >>>>> >>>>>> Olá Christiano >>>>>> >>>>>> Por favor especifique melhor. O Nagios detecta a anormalidade e o >> email >>>> só >>>>>> vai minutos depois ou ele demora a detectar? >>>>>> Se for o primeiro caso, veja como está a latencia do seu servidor. >>>>>> Provavelmente a latencia está alta e voce deve tomar as medidas pra >>>>>> diminui-la... >>>>>> >>>>>> []s >>>>>> >>>>>> >>>>>> Em 27/12/2011, às 16:12, Christiano Liberato escreveu: >>>>>> >>>>>>> Senhores, >>>>>>> >>>>>>> gostaria de diminuir o tempo de envio de email quando um serviço >> ficar >>>>>> down. >>>>>>> Alguem poderia me dizer qual parâmetro alterar? >>>>>>> >>>>>>> Obrigado. >>>>>>> >>>>>> >>>> >> ------------------------------------------------------------------------------ >>>>>>> Write once. Port to many. >>>>>>> Get the SDK and tools to simplify cross-platform app development. >>>> Create >>>>>>> new or port existing apps to sell to consumers worldwide. Explore the >>>>>>> Intel AppUpSM program developer opportunity. >>>> appdeveloper.intel.com/join >>>>>>> http://p.sf.net/sfu/intel-appdev >>>>>>> -- >>>>>>> Nagios-users-br@lists.sourceforge.net mailing list >>>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >>>>>>> Wiki: http://nagios-br.sf.net/wiki >>>>>> >>>>>> >>>>>> >>>>>> >>>> >> ------------------------------------------------------------------------------ >>>>>> Write once. Port to many. >>>>>> Get the SDK and tools to simplify cross-platform app development. >> Create >>>>>> new or port existing apps to sell to consumers worldwide. Explore the >>>>>> Intel AppUpSM program developer opportunity. >>>> appdeveloper.intel.com/join >>>>>> http://p.sf.net/sfu/intel-appdev >>>>>> -- >>>>>> Nagios-users-br@lists.sourceforge.net mailing list >>>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >>>>>> Wiki: http://nagios-br.sf.net/wiki >>>>>> >>>>> >>>> >> ------------------------------------------------------------------------------ >>>>> Write once. Port to many. >>>>> Get the SDK and tools to simplify cross-platform app development. >> Create >>>>> new or port existing apps to sell to consumers worldwide. Explore the >>>>> Intel AppUpSM program developer opportunity. >> appdeveloper.intel.com/join >>>>> http://p.sf.net/sfu/intel-appdev >>>>> -- >>>>> Nagios-users-br@lists.sourceforge.net mailing list >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >>>>> Wiki: http://nagios-br.sf.net/wiki >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Write once. Port to many. >>>> Get the SDK and tools to simplify cross-platform app development. Create >>>> new or port existing apps to sell to consumers worldwide. Explore the >>>> Intel AppUpSM program developer opportunity. >> appdeveloper.intel.com/join >>>> http://p.sf.net/sfu/intel-appdev >>>> -- >>>> Nagios-users-br@lists.sourceforge.net mailing list >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >>>> Wiki: http://nagios-br.sf.net/wiki >>>> >>> >> ------------------------------------------------------------------------------ >>> Write once. Port to many. >>> Get the SDK and tools to simplify cross-platform app development. Create >>> new or port existing apps to sell to consumers worldwide. Explore the >>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >>> http://p.sf.net/sfu/intel-appdev >>> -- >>> Nagios-users-br@lists.sourceforge.net mailing list >>> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >>> Wiki: http://nagios-br.sf.net/wiki >> >> >> >> ------------------------------------------------------------------------------ >> Write once. Port to many. >> Get the SDK and tools to simplify cross-platform app development. Create >> new or port existing apps to sell to consumers worldwide. Explore the >> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >> http://p.sf.net/sfu/intel-appdev >> -- >> Nagios-users-br@lists.sourceforge.net mailing list >> https://lists.sourceforge.net/lists/listinfo/nagios-users-br >> Wiki: http://nagios-br.sf.net/wiki >> > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > -- > Nagios-users-br@lists.sourceforge.net mailing list > https://lists.sourceforge.net/lists/listinfo/nagios-users-br > Wiki: http://nagios-br.sf.net/wiki > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > -- > Nagios-users-br@lists.sourceforge.net mailing list > https://lists.sourceforge.net/lists/listinfo/nagios-users-br > Wiki: http://nagios-br.sf.net/wiki ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki