Re: Problema no envio de e-mails

Jose Oliveira <[email protected]>
Newsgroups gmane.network.nagios.user.brazil
Message-ID <[email protected]>
Ok

Sendo assim Bruno, reforço o que falei antes: O problema não é do Nagios...

Com certeza, com um pouco de calma voce conseguirá encontrar porque o nail
nao funciona dentro do Nagios.



2009/9/24 Bruno R. Cardoso <[email protected]>

> Uso o centos e o comando existe, é antigo e atualmente é link simbólico
> para
> o mailx. Mas consegui corrigir. Ficou feio mas tive que alterar o usuário
> de
> execução do nagios para o root.
>
> 2009/9/24 Jose Oliveira <[email protected]>
>
> > Bruno
> > O Leonardo viu um negocio legal: /usr/bin/nail  ???
> >
> > Procurei em um Red Hat Linux aqui o comando nail e não existe. Não sei o
> > que
> > o Nagios faria com um pipe para um executavel inexistente...
> >
> > Tente mudar para mail e ver se melhora, e conte pra gente.
> >
> >
> >
> > 2009/9/24 Leonardo Carneiro <[email protected]>
> >
> > > Na linha de comando que você enviou, está marcado '/usr/bin/*n*ail'. eu
> > > estava com dificuldades com o mail, então instalei um pacote chamado
> > email:
> > >
> > > *http://webftp.seduc.ce.gov.br/Nagios/email-2.5.1.tar.gz
> > > *
> > >
> > >
> > > Bruno R. Cardoso escreveu:
> > > > Olá a todos estou com o seguinte problema:
> > > >
> > > > [1253748659] Warning: Contact 'bruno' service notification command
> > > > '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type:
> > > > PROBLEM\n\nService: CPU\nHost: oracle_teste\nAddress:
> > > > XXX.XXX.XXX.100\nState: CRITICAL\n\nDate/Time: Wed Sept 23 20:29:58
> BRT
> > > > 2009\n\nAdditional Info:\n\nCRITICAL - 100 % utilizado" |
> /usr/bin/nail
> > > -s
> > > > "** PROBLEM Service Alert: oracle_teste/CPU is CRITICAL **"
> > > > [email protected]' timed out after 60 seconds
> > > >
> > > > mas acontece que como usuário nagios ele envia o email normalmente.
> Fiz
> > > até
> > > > o teste copiando o comando e colando on console e foi normalmente
> assim
> > > sei
> > > > que não é problemas de permissões nem envio.
> > > >
> > > > No nagios.conf está:
> > > > notification_timeout=60
> > > > já alterei paar 600 e não vai. Estou achando que é algum problema
> > > relativo
> > > > ao navios alguém tem algum teste que eu possa fazer ou sabe de algo a
> > > > respeito.
> > > >
> > > > Desde já agradeço
> > > >
> > > >
> > >
> > > --
> > >
> > > *Leonardo de Souza Carneiro*
> > > *Veltrac - Tecnologia em Logística.*
> > > [email protected] <mailto:[email protected]>
> > > http://www.veltrac.com.br <http://www.veltrac.com.br/>
> > > /Fone Com.: (43)2105-5601/
> > > /Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
> > > /Londrina- PR/
> > > /Cep: 86015-010/
> > >
> > >
> > >
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> > > is the only developer event you need to attend this year. Jumpstart
> your
> > > developing skills, take BlackBerry mobile applications to market and
> stay
> > > ahead of the curve. Join us from November 9&#45;12, 2009. Register
> > now&#33;
> > > http://p.sf.net/sfu/devconf
> > > --
> > > [email protected] mailing list
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > > Wiki: http://nagios-br.sf.net/wiki
> > >
> >
> >
> >
> > --
> > Abraços
> > JGeraldo
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9&#45;12, 2009. Register
> now&#33;
> > http://p.sf.net/sfu/devconf
> > --
> > [email protected] mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Wiki: http://nagios-br.sf.net/wiki
> >
>
>
>
> --
> Bruno Rafael Cardoso
> Tecnologia da Informação
> Centro Universitário de Jaraguá do Sul - UNERJ
> Telefone (47)3275-8200
> Site: http://www.unerj.br
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> --
> [email protected] mailing list
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> Wiki: http://nagios-br.sf.net/wiki
>



-- 
Abraços
JGeraldo
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
-- 
[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.