Re: [Nagios-users-br] Res: Trends Error

2007-01-17 Por tôpico Shine
Entendi. Isso no Trends para Services ou Trends para Hosts ou vc vê isso em
ambos os casos?

Essas datas e horas q ele mostra q houve "troca" não seriam os momentos de
rotacionar o log? São em horários distintos? O q aparece nos logs
relacionados com essas datas e horas?
Vc pode verificar olhando nos logs q ficam no diretorio archives e o
nagios.log
Ah sim, o log mostra o horário no formato Unix... então melhor fazer a
conversão de data antes de pesquisar...

sd,
Edgar

Em 15/01/07, Harlei Marcelino <[EMAIL PROTECTED]> escreveu:
>
> Em alguns dos trends q "não gera", você consegue ver na parte inferior do
> relatório as datas e horas que houve troca de status, mas, no gráfico não
> fica pintado de verde, vermelho e tal entende?
>
> Harlei
>
> - Mensagem original 
> De: Shine <[EMAIL PROTECTED]>
> Para: Unofficial Brazilian (Portuguese) Nagios Users List <
> nagios-users-br@lists.sourceforge.net>
> Enviadas: Quinta-feira, 11 de Janeiro de 2007 18:59:20
> Assunto: Re: [Nagios-users-br] Trends Error
>
>
> O trends se baseia no nagios.log (e nos logs do archive) para ser gerado.
> O "não gera trends" pode ser: não gera nenhum gráfico, ou gera tudo como
> unknown state.
>
> Para o caso de ser unknown state provavelmente o log se perdeu em algum
> momento. Vc fez alguma reinicialização recente? Tem mais de uma instância
> rodando? ("ps ax | grep nagios | grep Ss" tem q
> retornar apenas uma linha de processo).
>
> Veja se parando o Nagios, matando todos os processos referentes ao Nagios
> e
> reinicializando o processo resolve o seu problema de momento.
>
> sd,
> Edgar
>
> Em 11/01/07, Harlei Marcelino <[EMAIL PROTECTED]> escreveu:
> >
> > Amigos,
> >
> > não sei porque, mas dos meus quase 70 hosts, 9 não estão gerando
> trends...
> > e todos tem a mesma configuração... isso é normal? tem como arrumar? se
> eu
> > tirar os hosts, reiniciar o serviço e inserir novamente volta?
> > de resto ta perfeito :)
> >
> > abraços
> >
> > Harlei
> >
> > __
> > Fale com seus amigos  de graça com o novo Yahoo! Messenger
> > http://br.messenger.yahoo.com/
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > --
> > Nagios-users-br@lists.sourceforge.net mailing list
> > https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> > Archives:
> > http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
> > http://news.gmane.org/gmane.network.nagios.user.brazil
> > Wiki:
> > http://nagios-br.sourceforge.net/wiki
> >
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> --
> Nagios-users-br@lists.sourceforge.net mailing list
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> Archives:
> http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
> http://news.gmane.org/gmane.network.nagios.user.brazil
> Wiki:
> http://nagios-br.sourceforge.net/wiki
>
> __
> Fale com seus amigos  de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> --
> Nagios-users-br@lists.sourceforge.net mailing list
> https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> Archives:
> http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
> http://news.gmane.org/gmane.network.nagios.user.brazil
> Wiki:
> http://nagios-br.sourceforge.net/wiki
>
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users-br] Res: Trends Error

2007-01-15 Por tôpico Fábio Fabene
Coloca nagios -v 
onde  deve ficar em /usr/local/nagios/etc/nagios.cfg

sendo o comando nagios # nagios -v ../etc/nagios.cfg
Gerando um log mais ou menos assim

Nagios 2.5
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 07-13-2006
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 34 services.
Checking hosts...
Checked 12 hosts.
Checking host groups...
Checked 2 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 21 commands.
Checking time periods...
Checked 1 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight
check
Abraços,

Fábio

2007/1/15, Harlei Marcelino <[EMAIL PROTECTED]>:
>
> Como devo usar o nagios -v ? eu digito isso e aparece:
> nagios:~# nagios -v
> Nagios 1.3
> Copyright (c) 1999-2004 Ethan Galstad ([EMAIL PROTECTED])
> Last Modified: 10-24-2004
> License: GPL
> Usage: nagios [option] 
> Options:
> -v   Reads all data in the configuration files and performs a basic
>   verification/sanity check.  Always make sure you verify your
>   config data before (re)starting Nagios.
> -s   Shows projected/recommended service check scheduling information
>   based on the current data in the configuration files.
> -c   When used in conjunction with the -s option, this option will cause
>   the status data to be updated with scheduling information.  It is
>   not recommended that you use this option while Nagios is running, as
>   the information in the status log will be temporarily overwritten.
>   Provided as an aid to help you understand initial check scheduling.
> -d   Starts Nagios in daemon mode (instead of as a foreground process).
>   This is the recommended way of starting Nagios for normal operation.
> Visit the Nagios website at http://www.nagios.org for information on known
> bugs, new releases, online documentation, and information on subscribing
> to
> the mailing lists.
> nagios:~#
>
>
> abraços
>
> Harlei
>
>
> - Mensagem original 
> De: Daniel Leal <[EMAIL PROTECTED]>
> Para: nagios-users-br@lists.sourceforge.net
> Enviadas: Sexta-feira, 12 de Janeiro de 2007 7:47:14
> Assunto: Re: [Nagios-users-br] Trends Error
>
>
> Prezado,
>
> Coloca o nagios -v ai pra noix analizar
>
>
> >From: Harlei Marcelino <[EMAIL PROTECTED]>
> >Reply-To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> >
> >To: nagios-users-br@lists.sourceforge.net
> >Subject: [Nagios-users-br] Trends Error
> >Date: Thu, 11 Jan 2007 04:23:04 -0800 (PST)
> >
> >Amigos,
> >
> >não sei porque, mas dos meus quase 70 hosts, 9 não estão gerando
> trends...
> >e todos tem a mesma configuração... isso é normal? tem como arrumar? se
> eu
> >tirar os hosts, reiniciar o serviço e inserir novamente volta?
> >de resto ta perfeito :)
> >
> >abraços
> >
> >Harlei
> >
> >__
> >Fale com seus amigos  de graça com o novo Yahoo! Messenger
> >http://br.messenger.yahoo.com/
> >
> >-
> >Take Surveys. Earn Cash. Influence the Future of IT
> >Join SourceForge.net's Techsay panel and you'll get the chance to share
> >your
> >opinions on IT & business topics through brief surveys - and earn cash
> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >--
> >Nagios-users-br@lists.sourceforge.net mailing list
> >https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> >Archives:
> >  http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
> >  http://news.gmane.org/gmane.network.nagios.user.brazil
> >Wiki:
> >  http://nagios-br.sourceforge.net/wiki
>
> _
> Insta-le agora o Windows Live Messenger!
> http://get.live.com/messenger/overview
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> o

Re: [Nagios-users-br] Res: Trends Error

2007-01-15 Por tôpico Daniel Leal
o meu compilado com prefix=/usr/local/nagios e assim

/usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg

ele pega o binario do nagios=   /usr/local/bin/nagios
executa o comando de verificação=  -v
no arquivo de configuracao do nagios= /usr/local/etc/nagios/nagios.cfg

Sds.

Daniel Leal

>From: Harlei Marcelino <[EMAIL PROTECTED]>
>Reply-To: "Unofficial Brazilian (Portuguese) Nagios Users List" 
>
>To: "Unofficial Brazilian (Portuguese) Nagios Users List" 
>
>Subject: [Nagios-users-br] Res:  Trends Error
>Date: Mon, 15 Jan 2007 03:49:50 -0800 (PST)
>
>Como devo usar o nagios -v ? eu digito isso e aparece:
>nagios:~# nagios -v
>Nagios 1.3
>Copyright (c) 1999-2004 Ethan Galstad ([EMAIL PROTECTED])
>Last Modified: 10-24-2004
>License: GPL
>Usage: nagios [option] 
>Options:
>   -v   Reads all data in the configuration files and performs a basic
>verification/sanity check.  Always make sure you verify your
>config data before (re)starting Nagios.
>   -s   Shows projected/recommended service check scheduling information
>based on the current data in the configuration files.
>   -c   When used in conjunction with the -s option, this option will cause
>the status data to be updated with scheduling information.  It is
>not recommended that you use this option while Nagios is running, 
>as
>the information in the status log will be temporarily overwritten.
>Provided as an aid to help you understand initial check scheduling.
>   -d   Starts Nagios in daemon mode (instead of as a foreground process).
>This is the recommended way of starting Nagios for normal 
>operation.
>Visit the Nagios website at http://www.nagios.org for information on known
>bugs, new releases, online documentation, and information on subscribing to
>the mailing lists.
>nagios:~#
>
>
>abraços
>
>Harlei
>
>
>- Mensagem original 
>De: Daniel Leal <[EMAIL PROTECTED]>
>Para: nagios-users-br@lists.sourceforge.net
>Enviadas: Sexta-feira, 12 de Janeiro de 2007 7:47:14
>Assunto: Re: [Nagios-users-br] Trends Error
>
>
>Prezado,
>
>   Coloca o nagios -v ai pra noix analizar
>
>
> >From: Harlei Marcelino <[EMAIL PROTECTED]>
> >Reply-To: "Unofficial Brazilian (Portuguese) Nagios Users List"
> >
> >To: nagios-users-br@lists.sourceforge.net
> >Subject: [Nagios-users-br] Trends Error
> >Date: Thu, 11 Jan 2007 04:23:04 -0800 (PST)
> >
> >Amigos,
> >
> >não sei porque, mas dos meus quase 70 hosts, 9 não estão gerando 
>trends...
> >e todos tem a mesma configuração... isso é normal? tem como arrumar? se 
>eu
> >tirar os hosts, reiniciar o serviço e inserir novamente volta?
> >de resto ta perfeito :)
> >
> >abraços
> >
> >Harlei
> >
> >__
> >Fale com seus amigos  de graça com o novo Yahoo! Messenger
> >http://br.messenger.yahoo.com/
> >
> >-
> >Take Surveys. Earn Cash. Influence the Future of IT
> >Join SourceForge.net's Techsay panel and you'll get the chance to share
> >your
> >opinions on IT & business topics through brief surveys - and earn cash
> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >--
> >Nagios-users-br@lists.sourceforge.net mailing list
> >https://lists.sourceforge.net/lists/listinfo/nagios-users-br
> >Archives:
> >  http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
> >  http://news.gmane.org/gmane.network.nagios.user.brazil
> >Wiki:
> >  http://nagios-br.sourceforge.net/wiki
>
>_
>Insta-le agora o Windows Live Messenger!
>http://get.live.com/messenger/overview
>
>
>-
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>--
>Nagios-users-br@lists.sourceforge.net mailing list
>https://lists.sourceforge.net/lists/listinfo/nagios-users-br
>Archives:
>http://www.mail-archive.com/nagios-users-br@lists.sourceforge.net/
>http://news.gmane.org/gmane.network.nagios.user.brazil
>Wiki:
>http://nagios-br.sourceforge.net/wiki
>
>__
>Fale com seus amigos  de graça com o novo Yahoo! Messenger
>http://br.messenger.yahoo.com/
>
>-
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share 
>your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>--
>Nagios-users-br@lists.sourceforge.net mailing list
>https://lists.sourceforge.net/lists/listinfo/nagios-users-br
>Archives:
>