Re: Nagios-users-br Digest, Vol 46, Issue 5

Bruna Andreata Andreata <[email protected]>
Newsgroups gmane.network.nagios.user.brazil
Message-ID <[email protected]>

 O nagios é um programa de
monitoramento de rede, ele possui uma interface grafica, só q vc pod
escolher usa-la ou n, no caso de querer usar este recurso , vc tem q
fazer algumas alterações na configuração do nagios gostaria d saber ond
fazer estas alterações e quais são elas ?




 

> From: [email protected]
> Subject: Nagios-users-br Digest, Vol 46, Issue 5
> To: [email protected]
> Date: Fri, 16 Apr 2010 14:39:36 +0000
> 
> Send Nagios-users-br mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagios-users-br digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Notification Status (Marcel)
>    2. Nagios Plugin SNMP para monitorar erros CRC em	roteadores e
>       switch ([email protected])
>    3. Re: Notification Status (Leandro da Silva de Souza)
>    4. Re: Nagios Plugin SNMP para monitorar erros CRC	em roteadores
>       e switch (Shine)
>    5. Re: Notification Status (Marcel)
>    6. Re: Nagios Plugin SNMP para monitorar erros CRC	em roteadores
>       e switch (Marcel)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 13 Apr 2010 20:28:39 -0300
> From: Marcel <[email protected]>
> Subject: Re: [Nagios-users-br] Notification Status
> To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> 	<[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Se eu te entendi direito, vc quer ? usar MACROS (
> http://nagios.sourceforge.net/docs/3_0/macrolist.html) pra realizar
> valida??es l?gicas antes de enviar um external command (
> http://old.nagios.org/developerinfo/externalcommands/commandlist.php) para
> desabilitar notifica??es de um determinado servi?o.
> 
> Para isso, vc precisa configurar um event handler (se esse python for um)
> que executar? o script que desabilitar? as notifica??es.
> 
> Ou, caso eu tenha te entendido mal, e vc est? criando um CGI em python para
> somente desabilitar as notifica??es enviando o comando diretamente no pipe
> de comandos, vc n?o poder? usar as macros e ter? que parsear o
> /caminho/do/nagios/var/status.dat (ou ser? que ? o objects.cache?) para
> extrair a informa??o do status das notifica??es de cada servi?o.
> 
> Qualquer d?vida posso te ajudar, j? fiz isso antes e ? relativamente
> trivial.
> 
> []s
> 
> 2010/4/13 Leandro da Silva de Souza <[email protected]>
> 
> > Bom dia
> >
> > Estou fazendo uma rotina ( em python )  para habilitar/desabilitar a
> > notificao via "external command" caso algum servi?o esteja com falha para
> > n?o prejudicar o desenpenho do servidor ( numero de processos abertos ). A
> > fun??o de ENABLE/DISABLE da notifica??o esta ok, mas n?o estou conseguindo
> > verificar o seu status antes de tomar alguma a??o ( se j? estiver
> > habilitada
> > n?o habilita novamente ).
> > Alguem sabe com eu verifico o status da Notifica??o  ?
> >
> >
> > obrigado
> > Leandro Souza
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 14 Apr 2010 18:47:06 -0300
> From: <[email protected]>
> Subject: [Nagios-users-br] Nagios Plugin SNMP para monitorar erros CRC
> 	em	roteadores e switch
> To: <[email protected]>
> Message-ID:
> 	<3B4F12C319E3A24CA49204380E685C690180D3BC@sp0000nt512.correio.caixa>
> Content-Type: text/plain;	charset="iso-8859-1"
> 
> Ol? a TODOS!
> 
> Algu?m saberia onde encontro um plugin para detec??o de erros CRC em roteadores e switch (marca CISCO e 3Com) para uso no Nagios?
> 
> Qualquer ajuda ser? de grande utilidade.
> 
> Grato desde j?.
> 
> Diramos.
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 14 Apr 2010 16:41:41 -0300
> From: Leandro da Silva de Souza <[email protected]>
> Subject: Re: [Nagios-users-br] Notification Status
> To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> 	<[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Marcel,
> 
> Na verdade eu queria o status da notificacao geral , que eu acredito que
> seja enable_notifications . Pois ao desabilitar via external command a
> notificacao a unica linha que ? alterada ? a do enable_notifications.
> Esse script em python vai rodar via crontab para chegar uns processos
> internos para evitar mandar notificacao atoa para os usuarios
> 
> Assim que eu fa?o um external command para habilitar/desabilitar e abaixo o
> status atual dele. Eu queria justamente achar onde estava o status
> 
> printf \"[%lu] ENABLE_NOTIFICATIONS;\" " + data + " >
> /var/nagios/rw/nagios.cmd"
> printf \"[%lu] DISABLE_NOTIFICATIONS;\" " + data + " >
> /var/nagios/rw/nagios.cmd"
> 
> Arquivo status.dat
> # grep enable_notifications status/status.dat
>         enable_notifications=0
> # grep enable_notifications status/status.dat
>         enable_notifications=1
> 
> abs
> Leandro Souza
> 
> Em 13 de abril de 2010 20:28, Marcel <[email protected]> escreveu:
> 
> > Se eu te entendi direito, vc quer ? usar MACROS (
> > http://nagios.sourceforge.net/docs/3_0/macrolist.html) pra realizar
> > valida??es l?gicas antes de enviar um external command (
> > http://old.nagios.org/developerinfo/externalcommands/commandlist.php) para
> > desabilitar notifica??es de um determinado servi?o.
> >
> > Para isso, vc precisa configurar um event handler (se esse python for um)
> > que executar? o script que desabilitar? as notifica??es.
> >
> > Ou, caso eu tenha te entendido mal, e vc est? criando um CGI em python para
> > somente desabilitar as notifica??es enviando o comando diretamente no pipe
> > de comandos, vc n?o poder? usar as macros e ter? que parsear o
> > /caminho/do/nagios/var/status.dat (ou ser? que ? o objects.cache?) para
> > extrair a informa??o do status das notifica??es de cada servi?o.
> >
> > Qualquer d?vida posso te ajudar, j? fiz isso antes e ? relativamente
> > trivial.
> >
> > []s
> >
> > 2010/4/13 Leandro da Silva de Souza <[email protected]>
> >
> > > Bom dia
> > >
> > > Estou fazendo uma rotina ( em python )  para habilitar/desabilitar a
> > > notificao via "external command" caso algum servi?o esteja com falha para
> > > n?o prejudicar o desenpenho do servidor ( numero de processos abertos ).
> > A
> > > fun??o de ENABLE/DISABLE da notifica??o esta ok, mas n?o estou
> > conseguindo
> > > verificar o seu status antes de tomar alguma a??o ( se j? estiver
> > > habilitada
> > > n?o habilita novamente ).
> > > Alguem sabe com eu verifico o status da Notifica??o  ?
> > >
> > >
> > > obrigado
> > > Leandro Souza
> > >
> > >
> > ------------------------------------------------------------------------------
> > > Download Intel&#174; Parallel Studio Eval
> > > Try the new software tools for yourself. Speed compiling, find bugs
> > > proactively, and fine-tune applications for parallel performance.
> > > See why Intel Parallel Studio got high marks during beta.
> > > http://p.sf.net/sfu/intel-sw-dev
> > > --
> > > [email protected] mailing list
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > > Wiki: http://nagios-br.sf.net/wiki
> > >
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 15 Apr 2010 21:56:47 -0300
> From: Shine <[email protected]>
> Subject: Re: [Nagios-users-br] Nagios Plugin SNMP para monitorar erros
> 	CRC	em roteadores e switch
> To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> 	<[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Acho dif?cil, pq s?o MIBs propriet?rias. Cada fabricante usa uma MIB
> para armazenar esse valor.
> E o fato do valor ser um valor est?tico (integer) faz com que o plugin
> tenha que contar o acr?scimo do contador.
> 
> sd,
> Edgar
> 
> 2010/4/14  <[email protected]>:
> > Ol? a TODOS!
> >
> > Algu?m saberia onde encontro um plugin para detec??o de erros CRC em roteadores e switch (marca CISCO e 3Com) para uso no Nagios?
> >
> > Qualquer ajuda ser? de grande utilidade.
> >
> > Grato desde j?.
> >
> > Diramos.
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 16 Apr 2010 10:47:21 -0300
> From: Marcel <[email protected]>
> Subject: Re: [Nagios-users-br] Notification Status
> To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> 	<[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Ent?o resolveu?
> 
> 2010/4/14 Leandro da Silva de Souza <[email protected]>
> 
> > Marcel,
> >
> > Na verdade eu queria o status da notificacao geral , que eu acredito que
> > seja enable_notifications . Pois ao desabilitar via external command a
> > notificacao a unica linha que ? alterada ? a do enable_notifications.
> > Esse script em python vai rodar via crontab para chegar uns processos
> > internos para evitar mandar notificacao atoa para os usuarios
> >
> > Assim que eu fa?o um external command para habilitar/desabilitar e abaixo o
> > status atual dele. Eu queria justamente achar onde estava o status
> >
> > printf \"[%lu] ENABLE_NOTIFICATIONS;\" " + data + " >
> > /var/nagios/rw/nagios.cmd"
> > printf \"[%lu] DISABLE_NOTIFICATIONS;\" " + data + " >
> > /var/nagios/rw/nagios.cmd"
> >
> > Arquivo status.dat
> > # grep enable_notifications status/status.dat
> >        enable_notifications=0
> > # grep enable_notifications status/status.dat
> >        enable_notifications=1
> >
> > abs
> > Leandro Souza
> >
> > Em 13 de abril de 2010 20:28, Marcel <[email protected]> escreveu:
> >
> > > Se eu te entendi direito, vc quer ? usar MACROS (
> > > http://nagios.sourceforge.net/docs/3_0/macrolist.html) pra realizar
> > > valida??es l?gicas antes de enviar um external command (
> > > http://old.nagios.org/developerinfo/externalcommands/commandlist.php)
> > para
> > > desabilitar notifica??es de um determinado servi?o.
> > >
> > > Para isso, vc precisa configurar um event handler (se esse python for um)
> > > que executar? o script que desabilitar? as notifica??es.
> > >
> > > Ou, caso eu tenha te entendido mal, e vc est? criando um CGI em python
> > para
> > > somente desabilitar as notifica??es enviando o comando diretamente no
> > pipe
> > > de comandos, vc n?o poder? usar as macros e ter? que parsear o
> > > /caminho/do/nagios/var/status.dat (ou ser? que ? o objects.cache?) para
> > > extrair a informa??o do status das notifica??es de cada servi?o.
> > >
> > > Qualquer d?vida posso te ajudar, j? fiz isso antes e ? relativamente
> > > trivial.
> > >
> > > []s
> > >
> > > 2010/4/13 Leandro da Silva de Souza <[email protected]>
> > >
> > > > Bom dia
> > > >
> > > > Estou fazendo uma rotina ( em python )  para habilitar/desabilitar a
> > > > notificao via "external command" caso algum servi?o esteja com falha
> > para
> > > > n?o prejudicar o desenpenho do servidor ( numero de processos abertos
> > ).
> > > A
> > > > fun??o de ENABLE/DISABLE da notifica??o esta ok, mas n?o estou
> > > conseguindo
> > > > verificar o seu status antes de tomar alguma a??o ( se j? estiver
> > > > habilitada
> > > > n?o habilita novamente ).
> > > > Alguem sabe com eu verifico o status da Notifica??o  ?
> > > >
> > > >
> > > > obrigado
> > > > Leandro Souza
> > > >
> > > >
> > >
> > ------------------------------------------------------------------------------
> > > > Download Intel&#174; Parallel Studio Eval
> > > > Try the new software tools for yourself. Speed compiling, find bugs
> > > > proactively, and fine-tune applications for parallel performance.
> > > > See why Intel Parallel Studio got high marks during beta.
> > > > http://p.sf.net/sfu/intel-sw-dev
> > > > --
> > > > [email protected] mailing list
> > > > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > > > Wiki: http://nagios-br.sf.net/wiki
> > > >
> > >
> > >
> > ------------------------------------------------------------------------------
> > > Download Intel&#174; Parallel Studio Eval
> > > Try the new software tools for yourself. Speed compiling, find bugs
> > > proactively, and fine-tune applications for parallel performance.
> > > See why Intel Parallel Studio got high marks during beta.
> > > http://p.sf.net/sfu/intel-sw-dev
> > > --
> > > [email protected] mailing list
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > > Wiki: http://nagios-br.sf.net/wiki
> > >
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 16 Apr 2010 10:55:57 -0300
> From: Marcel <[email protected]>
> Subject: Re: [Nagios-users-br] Nagios Plugin SNMP para monitorar erros
> 	CRC	em roteadores e switch
> To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> 	<[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> MIB ? um arquivo texto, vc tem certeza quando vc diz que MIBs propriet?rias
> s?o dif?ceis de usar para monitoramento via SNMP?
> Todo equipamento que possui capacidade de gerenciamento remoto prov? as MIBs
> necess?rias para implementa??o de monitoramento de exce??es ou tend?ncias.
> 
> http://www.oidview.com/mibs/detail.html
> http://www.oid-info.com/cgi-bin/display?tree=1
> 
> Benedito, vc dever? procurar documenta??o a respeito das MIBs, como
> import?-las a sua estrutura de MIBs, e ent?o conseguir? o que deseja.
> 
> []s
> 
> 
> 2010/4/15 Shine <[email protected]>
> 
> > Acho dif?cil, pq s?o MIBs propriet?rias. Cada fabricante usa uma MIB
> > para armazenar esse valor.
> > E o fato do valor ser um valor est?tico (integer) faz com que o plugin
> > tenha que contar o acr?scimo do contador.
> >
> > sd,
> > Edgar
> >
> > 2010/4/14  <[email protected]>:
> > > Ol? a TODOS!
> > >
> > > Algu?m saberia onde encontro um plugin para detec??o de erros CRC em
> > roteadores e switch (marca CISCO e 3Com) para uso no Nagios?
> > >
> > > Qualquer ajuda ser? de grande utilidade.
> > >
> > > Grato desde j?.
> > >
> > > Diramos.
> > >
> > >
> > ------------------------------------------------------------------------------
> > > Download Intel&#174; Parallel Studio Eval
> > > Try the new software tools for yourself. Speed compiling, find bugs
> > > proactively, and fine-tune applications for parallel performance.
> > > See why Intel Parallel Studio got high marks during beta.
> > > http://p.sf.net/sfu/intel-sw-dev
> > > --
> > > [email protected] mailing list
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > > Wiki: http://nagios-br.sf.net/wiki
> > >
> >
> >
> > ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
> 
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
> ------------------------------
> 
> _______________________________________________
> Nagios-users-br mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> 
> 
> End of Nagios-users-br Digest, Vol 46, Issue 5
> **********************************************
 		 	   		  
_________________________________________________________________
O seu navegador também te ajuda a ficar longe de vírus. Leia mais sobre segurança.
http://www.microsoft.com/brasil/windows/internet-explorer/?WT.mc_id=1500
------------------------------------------------------------------------------
-- 
[email protected] mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.