[Nagios-users-br] Problema de time out

2006-12-14 Thread Joaquim
Pessoal, bom dia


Sou novo na lista e não tenho conhecimento se minha duvida já foi
respondida, procurei na internet sobre a solução do problema e infelizmente
não obtive êxito. É o seguinte: Tenho um servidor de monitoramento que
monitora vários hosts via WAN, não monitoro nada na rede local todos os meus
serviços ( em torno de 500 ) utilizam meu link de internet e o link de
internet dos hosts monitorados, mesmo sabendo que a quantidade de informação
trafegada é pequena recebo muitas notificações de timeout ( em cerca de 80%
das notificações ) contendo as seguinte string, 

CHECK_NRPE: Socket timeout after 10 seconds.

Nao recebo ainda mais notificacoes devido as dependências dos serviços já se
encontrarem configuradas corretamente, mas mesmo assim no fim de semana
chego a receber cerca de 1000 e-mails, já aumentei o intervalo de
notificações de 120 para 480 ( 8 horas )

Minha duvida é saber se existe como aumentar esse tempo de timeout, ou
simplesmente fazer com que notificações com o conteúdo  CHECK_NRPE: Socket
timeout after 10 seconds. Não fossem enviadas...

Agradeço desde já


Joaquim


-
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.phpp=sourceforgeCID=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


[Nagios-users-br] Dicas para uso.

2006-12-14 Thread Daniel Leal
Senhores,
Instalei o nagios para monitoramento da rede do meu provedor wireless, 
os 
rádios funcionam como bridge e tem ip para acesso, configuração e gerencia.
Por enquanto monitoro somente host-alive do meus servidores e backbone que é 
composto de Motolora Canopy e Zinwell G-120.
Agora já estou partindo para as configurações de serviços do meu 
servidor. 
Gostaria de saber se alguém tem alguma dica de coisas que posso monitorar 
nesses esses rádios, e outra, como organizo o 3dmap e o 2dmap. Já mexi em 
hierarquias, coordenadas no hostextinfo.cfg, etc.. e nada se moveu.

Grato

Daniel Leal

_
Chegou o Windows Live Spaces com rede social. Confira 
http://spaces.live.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.phpp=sourceforgeCID=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


[Nagios-users-br] Monitorando roteadores

2006-12-14 Thread Petry
Olá Pessoal,

Estava pesquisando sobre softwares para gerenciar redes e encontrei o
Nagios. Gostaria de tirar algumas dúvidas sobre o uso do mesmo para
monitorar interfaces de roteadores:

- Necessito realizar alguma configuração nos roteadores?

- Qual a melhor maneira que posso implementar isso ?

- Como é criado o mapa da topologia? Tenho que informar algo além de isso
conecta com aquilo ?

- Como seria mostrado o estado das interfaces de um roteador no mapa? Veria
um roteador com várias linhas saindo em direção a outros roteadores
representando as interfaces, ou veria um icone pra cada interface do
roteador?

- Tenho que configurar manualmente cada roteador nos arquivos de
configuração ou tem algo que automatize pelo menos um pouco isso? E as
interfaces, uma a uma ou soh cadastrando o roteador o Nagios já se informa
sobre as interfaces criadas nele?

- Qual uma configuração boa do computador para rodar o Nagios(Para monitorar
em torno de 300 roteadores)? Ele usa muita memória, processamento, etc?

- Qual a melhor distro para rodar ele? ( não quero iniciar brigas religiosas
de qual distro eh melhor ou pior, apenas qual é mais compatível com o
software )

Acho que é SÓ isso hehehe. Desculpem a quantidade, porém já li bastante
coisa sobre e não encontrei nada que me afirmasse com certeza esses meus
questionamentos. Espero em breve estar instalando, usando e compartilhando
as experiências com vcs.

Obrigado desde já,

-- 
José Paulo de Oliveira Petry
[EMAIL PROTECTED]
-
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.phpp=sourceforgeCID=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


[Nagios-users-br] Lista está ativa?

2006-12-14 Thread Cleber Ianes
Essa lista ainda está ativa?
Estou precisando de informações sobre nagios.
Quem pode me ajudar


Cleber Ianes


___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. 
Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 
 



-
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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Monitorando roteadores

2006-12-14 Thread Mauro Rocha
Jose Paulo,

acho q vc precisa de uma consultoria, eh isso ? lol
vou tentar ajudar com algumas respostas.


On 12/12/06, Petry [EMAIL PROTECTED] wrote:

 Olá Pessoal,

 Estava pesquisando sobre softwares para gerenciar redes e encontrei o
 Nagios. Gostaria de tirar algumas dúvidas sobre o uso do mesmo para
 monitorar interfaces de roteadores:

 - Necessito realizar alguma configuração nos roteadores?


*** SNMP

- Qual a melhor maneira que posso implementar isso ?


*** Servidor Linux monitorando com o Nagios e Cacti pra complementar.

- Como é criado o mapa da topologia? Tenho que informar algo além de isso
 conecta com aquilo ?


*** Nao. é só informar o parentesco

- Como seria mostrado o estado das interfaces de um roteador no mapa? Veria
 um roteador com várias linhas saindo em direção a outros roteadores
 representando as interfaces, ou veria um icone pra cada interface do
 roteador?


*** Icones

- Tenho que configurar manualmente cada roteador nos arquivos de
 configuração ou tem algo que automatize pelo menos um pouco isso? E as
 interfaces, uma a uma ou soh cadastrando o roteador o Nagios já se informa
 sobre as interfaces criadas nele?


*** Configura na mao, mas... Existem web interfaces que te ajudam nisso, e
muito...

- Qual uma configuração boa do computador para rodar o Nagios(Para monitorar
 em torno de 300 roteadores)? Ele usa muita memória, processamento, etc?


*** Xeon 3.2, 1GB dá e sobra... mas acho q um P4 HT jah dah conta do recado.

- Qual a melhor distro para rodar ele? ( não quero iniciar brigas religiosas
 de qual distro eh melhor ou pior, apenas qual é mais compatível com o
 software )


*** Uso no slack. Mas o debian também é tranquilo de usar.

Acho que é SÓ isso hehehe. Desculpem a quantidade, porém já li bastante
 coisa sobre e não encontrei nada que me afirmasse com certeza esses meus
 questionamentos. Espero em breve estar instalando, usando e compartilhando
 as experiências com vcs.



*** Só lembrando que o Nagios monitora e alarma indisponibilidades, ou
valores foram dos estabelecidos.
Se você quiser um acompanhamento, picos e tal... recomendo mesmo o cacti.
Excelente ferramenta e sempre trabalhei com eles em paralelo.

Se quiser uma ajuda para colocar no ar mais rapidamente, é só dizer.
Podemo$$$ chegar num acordo.

Obrigado desde já,

 --
 José Paulo de Oliveira Petry
 [EMAIL PROTECTED]
 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Dicas para uso.

2006-12-14 Thread Mauro Rocha
Daniel,


usou a opção PARENTS ?

Att.
Mauro Rocha


On 12/12/06, Daniel Leal [EMAIL PROTECTED] wrote:

 Senhores,
Instalei o nagios para monitoramento da rede do meu provedor
 wireless, os
 rádios funcionam como bridge e tem ip para acesso, configuração e
 gerencia.
 Por enquanto monitoro somente host-alive do meus servidores e backbone que
 é
 composto de Motolora Canopy e Zinwell G-120.
Agora já estou partindo para as configurações de serviços do meu
 servidor.
 Gostaria de saber se alguém tem alguma dica de coisas que posso monitorar
 nesses esses rádios, e outra, como organizo o 3dmap e o 2dmap. Já mexi em
 hierarquias, coordenadas no hostextinfo.cfg, etc.. e nada se moveu.

 Grato

 Daniel Leal

 _
 Chegou o Windows Live Spaces com rede social. Confira
 http://spaces.live.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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Lista está ativa?

2006-12-14 Thread Mauro Rocha
lista ativa. lol

On 12/13/06, Cleber Ianes [EMAIL PROTECTED] wrote:

 Essa lista ainda está ativa?
 Estou precisando de informações sobre nagios.
 Quem pode me ajudar


 Cleber Ianes


 ___
 Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular.
 Registre seu aparelho agora!
 http://br.mobile.yahoo.com/mailalertas/




 -
 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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Dicas para uso.

2006-12-14 Thread Daniel Leal
Ate agora minhas pesquisas nao me apontaram essa opção, vou procurar algo 
sobre o assunto.
Caso voce ja tenha alguma coisa sobre tal e puder me passar agradeço.

Sds.

Daniel Leal


From: Mauro Rocha [EMAIL PROTECTED]
Reply-To: Unofficial Brazilian (Portuguese) Nagios Users List 
nagios-users-br@lists.sourceforge.net
To: Unofficial Brazilian (Portuguese) Nagios Users List 
nagios-users-br@lists.sourceforge.net
Subject: Re: [Nagios-users-br] Dicas para uso.
Date: Thu, 14 Dec 2006 13:04:22 -0200

Daniel,


usou a opção PARENTS ?

Att.
Mauro Rocha


On 12/12/06, Daniel Leal [EMAIL PROTECTED] wrote:
 
  Senhores,
 Instalei o nagios para monitoramento da rede do meu provedor
  wireless, os
  rádios funcionam como bridge e tem ip para acesso, configuração e
  gerencia.
  Por enquanto monitoro somente host-alive do meus servidores e backbone 
que
  é
  composto de Motolora Canopy e Zinwell G-120.
 Agora já estou partindo para as configurações de serviços do meu
  servidor.
  Gostaria de saber se alguém tem alguma dica de coisas que posso 
monitorar
  nesses esses rádios, e outra, como organizo o 3dmap e o 2dmap. Já mexi 
em
  hierarquias, coordenadas no hostextinfo.cfg, etc.. e nada se moveu.
 
  Grato
 
  Daniel Leal
 
  _
  Chegou o Windows Live Spaces com rede social. Confira
  http://spaces.live.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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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

_
Experimente o novo 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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Dicas para uso.

2006-12-14 Thread Shine
Primeira coisa q eu monitoraria seria o nível de sinal e erros de interface
física WAN (coisas como BER, por exemplo). Vc ficaria espantado de como as
coisas mudam com os rádios no decorrer do tempo...

sd,
Edgar

Em 12/12/06, Daniel Leal [EMAIL PROTECTED] escreveu:

 Senhores,
Instalei o nagios para monitoramento da rede do meu provedor
 wireless, os
 rádios funcionam como bridge e tem ip para acesso, configuração e
 gerencia.
 Por enquanto monitoro somente host-alive do meus servidores e backbone que
 é
 composto de Motolora Canopy e Zinwell G-120.
Agora já estou partindo para as configurações de serviços do meu
 servidor.
 Gostaria de saber se alguém tem alguma dica de coisas que posso monitorar
 nesses esses rádios, e outra, como organizo o 3dmap e o 2dmap. Já mexi em
 hierarquias, coordenadas no hostextinfo.cfg, etc.. e nada se moveu.

 Grato

 Daniel Leal

 _
 Chegou o Windows Live Spaces com rede social. Confira
 http://spaces.live.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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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


Re: [Nagios-users-br] Nagios - MySQL

2006-12-14 Thread Marcel Mitsuto
Pode ser via global event handlers ou modulo neb (nagios event broker). A
não ser que seja nagios 1.X que possui suporte nativo para mysql.

On 11/21/06, Thiago dos Santos L. Bezerra [EMAIL PROTECTED] wrote:

 Pessoal, alguém tem idéia de como implementar o MySQL em um Nagios que
 esteja em produção? Será que existe algum script p/ isto ?

 Valeu,
 Thiago
 -
 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.phpp=sourceforgeCID=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




-- 
Marcel Mitsuto
[EMAIL PROTECTED]
-
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.phpp=sourceforgeCID=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


Re: [Nagios-users] Newbie: http start fail: Invalid command 'log_file=/var/log/nagios/nagios.log'

2006-12-14 Thread Sjaak Nabuurs
Hi

I guess somthing wrong with your httpd.conf
The http server isn't the way to start nagios.
Only this code you have to ad in httpd.conf
**

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

Directory /usr/local/nagios/sbin
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
/Directory

Alias /nagios /usr/local/nagios/share

Directory /usr/local/nagios/share
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
/Directory

**Looks like you include some nagios.cfg code in your httpd.conf


Sjaak

 Why am I getting this error? 
  
 $ /etc/init.d/httpd start
 Stopping httpd: [FAILED]
 Starting httpd: Syntax error on line 19 of /etc/nagios/nagios.cfg:
 Invalid command 'log_file=/var/log/nagios/nagios.log', perhaps 
 mis-spelled or defined by a
 module not included in the server configuration
 [FAILED]
  
 This is line 19 of the nagios.cfg.
 log_file=/var/log/nagios/nagios.log

 


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] notification_options vs. notifications_enabled in host definitions

2006-12-14 Thread Ralph.Grothe
Hello Nagios Users,

neither the Nagios' online docs nor Wolfgang Barth's Nagios book 
(issued by Open Source Press in German, and by No Starch Press in
English)
could unambiguously explain the difference between the two
mentioned parameters
within a host definition context to me.
I so far only (maybe erratically) concluded that
notification_options
takes precedence over notifications_enabled for state retention's
sake.
For instance, what about such a contradicting definition
(at least nagios pre-flight check doesn't complain about it)?

notification_optionsn
notifications_enabled   1




Regards

Ralph

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Service depedency problem

2006-12-14 Thread Andreas Ericsson
MiikaT wrote:
 Quoting Patrick Morris [EMAIL PROTECTED]:
 
 Why not just set up router as a parent of switch1, switch2 and
 server1?
 
 I've done that, but I seem to remeber that it behaved just like this and I 
 went for dependencies configuration to prevent this. Or does someone have 
 better knowledge about dependencies.cfg, if it will override the parent 
 information or not?
 

If you have u in your host_notification_options it will tell you when 
hosts are UNREACHABLE (as in, the parent host is down as well as the 
host in question). Using dependencies for this sort of thing is just 
wrong. Make your parent setup work instead.

Incidentally, what version of Nagios are you running?

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Periodic and automated reporting

2006-12-14 Thread Peter Hinse
Horvath Tamas wrote:
 Hi listmembers!
 
 Our customer would like an automatic reporting mechanism with Nagios
 (for example it could run first days of every month for the last
 month).
 
 I can see how can I invoke for example the Availability Reporting
 CGI, but I think I can invoke it only from a browser. So I can't
 automatize it.

Nagios Email Reporter might be interesting for you:

 This perl script can request an overnight, daily, weekly or monthly
 report from the Nagios server using the standard CGIs, it then parses
 the output (formats CSS for Web and Lotus Notes), then emails as an
 Inline HTML email to a supplied email address.

http://www.nagiosexchange.org/AddOn_Projects.22.0.html?tx_netnagext_pi1[p_view]=640

Regards,

Peter

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems with FreeBSD and Nagios

2006-12-14 Thread Andreas Ericsson
Jonathan Call wrote:
 I scanned the mailing list trying to find a solution for this. I found a
 brief discussion where someone had the same problem but there was
 nothing really discussed what was potentially wrong.
 
 My system: 
 Dual 2.8GHz P4 processors
 4GB of RAM
 FreeBSD 6.1-RELEASE-p10
 
 Running processes:
 Nagios 2.6 (installed from ports without embedded perl or nanosleep)
 One mysqld process for the nagiosweb utility
 A few NSCA daemon processes for passive checking
 A backup tool daemon
 Apache+modssl (latest from ports)
 Basic FreeBSD services (sshd, sendmail, etc.)
 
 Problem:
 Random service and host check control processes will lock up and 'spin'
 on the CPU. This is really bad when a host check does it because it
 brings all checks to a halt. It doesn't seem to even notice that all
 checks have gone stale.
 
 It will look like this in top:
 
   PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU
 COMMAND
 94068 nagios  1 1160  7500K  6748K CPU2   0 727:37 30.15% nagios
 94082 nagios  1 1160  7500K  6748K CPU2   0 734:28 32.55% nagios
 94104 nagios  1 1160  7500K  6748K CPU2   0 845:21 37.42% nagios
 75338 nagios  5  200  7500K  6776K kserel 0  91:33  0.00% nagios
 
 In this example the main nagios pid is 75338. The hung service and/or
 host processes are the other ones.
 
 The service checks are almost entirely custom scripts, but the host
 check is a standard check_ping that comes with the nagios program.
 
 Any ideas on how to figure out which service or host check is hung? Or
 how to deal with this problem at all?
 

Host and service checks going into infinite loops wouldn't show up as 
Nagios processes in CPU spinlock, as the nagios check execution children 
just sit around and wait for the child to finish (or 60 seconds to pass 
in default config, before it kills it off).

You've found a bug in Nagios which most likely was either introduced in 
the port of it, or is a result of library differences between FreeBSD 
and Linux.

I wouldn't be all too surprised if it turns out that the FreeBSD pthread 
implementation disallows something that the Linux version allows. Note 
that this doesn't necessarily have to be a bug; Nagios doesn't use the 
pthread ABI in a way that is explicitly stated as safe, but the pthread 
implementation on Linux and most other unices are forgiving enough to 
make it work anyway.

It's also possible that this bug only triggers on dual-CPU systems with 
a particular library installed, as some kinds of timing and 
race-conditions just doesn't happen on single-CPU systems.

What happens if you do

$ gdb --pid=$(pidof spinning-nagios-process)
(gdb) bt

?

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] help - monitoring SCO unix

2006-12-14 Thread Andreas Ericsson
Michael Waters wrote:
 Hi,
 
  
 
 Im having issues finding some plugins that work on sco unix. Im getting
 compile error 1 when installing the standard nrpe. I think I have got nsca
 working on it (it compiled anyways) but I need some checks for file age,
 disk io and some other standard checks as well.
 
  

It's completely impossible to tell you what's going wrong without 
getting to see a copy of the error that the build process produces.

 
 Any advice would be very much appreciated.. 
 

Google for a pre-compiled NRPE.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] notification_options vs. notifications_enabled inhost definitions

2006-12-14 Thread Thomas.Zimmer
There was a nice Artikel in a german IT-Magazine (IX) some time ago. They 
explained how a error event runs through several filters before an eventhandler 
or a notification is triggered. The filters are built from the settings of each 
service-check´s properties. So, if an error occures, all filters are requested 
before an event like notification, enventhandler o.s. caomes up.

For what do you need to know this? I see no problem in this behaviour, as you 
should know and control exactly which settings you have for your checks...

Greets,
Thomas Zimmer
Produktservice  Betrieb
Betrieb  Support
Sal. Oppenheim jr.  Cie., Frankfurt a. Main
Telefon: +49 69 7134 5192
Internet: http://www.oppenheim.de
E-Mail: [EMAIL PROTECTED]



-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Donnerstag, 14. Dezember 2006 10:09
An: nagios-users@lists.sourceforge.net
Betreff: [Nagios-users] notification_options vs. notifications_enabled inhost 
definitions


Hello Nagios Users,

neither the Nagios' online docs nor Wolfgang Barth's Nagios book 
(issued by Open Source Press in German, and by No Starch Press in
English)
could unambiguously explain the difference between the two mentioned parameters 
within a host definition context to me. I so far only (maybe erratically) 
concluded that notification_options takes precedence over notifications_enabled 
for state retention's sake. For instance, what about such a contradicting 
definition (at least nagios pre-flight check doesn't complain about it)?

notification_optionsn
notifications_enabled   1




Regards

Ralph

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Diese E-Mail und eventuell beigefügte Anhänge enthalten vertrauliche 
Informationen, die rechtlich besonders geschützt sein können, z.B. durch das 
Bankgeheimnis. Diese Informationen sind ausschließlich für die als Adressaten 
genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empfänger sind 
oder diese E-Mail durch einen Übertragungsfehler erhalten haben, informieren 
Sie uns bitte sofort per E-Mail, Telefon oder Fax und löschen danach 
vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell 
beigefügten Anhänge sowie die unbefugte Weitergabe der enthaltenen 
Informationen an Dritte sind nicht gestattet. Wir danken für Ihre Hilfe.


This e-mail message together with its attachments, if any, is confidential and 
may contain information subject to legal privilege, i.e. banking secrecy. The 
information contained in this e-mail or its attachments is intended solely for 
the persons named as addressees. If you are not the intended recipient or have 
received this e-mail in error, please advise us immediately by e-mail, 
telephone or fax and delete this message. Any unauthorised copying of this 
message or unauthorised distribution of the information contained herein is 
prohibited. Thank you for your co-operation.

BEGIN:VCARD
VERSION:2.1
N:Zimmer;Thomas
FN:Zimmer, Thomas (Produktservices und Betrieb)
ORG:;Produktservices und Betrieb
ADR;WORK:;;;FFM (Frankfurt)
LABEL;WORK:FFM (Frankfurt)
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050930T105258Z
END:VCARD
-
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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Periodic and automated reporting

2006-12-14 Thread Lars Stavholm
Horvath Tamas wrote:
 Hi listmembers!
 
 Our customer would like an automatic reporting mechanism with Nagios (for
 example it could run first days of every month for the last month).
 
 I can see how can I invoke for example the Availability Reporting CGI, but I
 think I can invoke it only from a browser. So I can't automatize it.
 
 Does anybody have such an experience, or some idea how can I do this?

http://htmldoc.org via cron job.
/L

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Periodic and automated reporting

2006-12-14 Thread rader

  From: Horvath Tamas
  Hi listmembers!
  
  Our customer would like an automatic reporting mechanism with Nagios (for
  example it could run first days of every month for the last month).
  
  I can see how can I invoke for example the Availability Reporting CGI, but
   I
  think I can invoke it only from a browser. So I can't automatize it.
  
  Does anybody have such an experience, or some idea how can I do this?

 http://noc.hep.wisc.edu/nagiosr.txt
 http://www.hep.wisc.edu/~rader/nagiosr.html
 ftp://noc.hep.wisc.edu/pub/src/nagiosr/ 

?

steve 
- - - 
systems  network manager
high energy physics
university of wisconsin

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Problems with FreeBSD and Nagios

2006-12-14 Thread Jonathan Call
nagios# gdb --pid=$74056
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for
details.
This GDB was configured as i386-marcel-freebsd.
/var/spool/nagios/rw/ is not a core dump: File format not recognized
(gdb) bt
No stack.
(gdb)

Given your ideas and some google work I seem to have found my problem: 

http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013247.ht
ml

Not a pretty discussion. :(

I'll try using a non SMP kernel to see it might help. If it doesn't this
pretty much renders Nagios useless on FreeBSD. (Which makes me wonder
why they even bother maintaining it in ports?)


 -Original Message-
 From: Andreas Ericsson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 14, 2006 2:26 AM
 To: Jonathan Call
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Problems with FreeBSD and Nagios
 
 Jonathan Call wrote:
  I scanned the mailing list trying to find a solution for this. I
found a
  brief discussion where someone had the same problem but there was
  nothing really discussed what was potentially wrong.
 
  My system:
  Dual 2.8GHz P4 processors
  4GB of RAM
  FreeBSD 6.1-RELEASE-p10
 
  Running processes:
  Nagios 2.6 (installed from ports without embedded perl or nanosleep)
  One mysqld process for the nagiosweb utility
  A few NSCA daemon processes for passive checking
  A backup tool daemon
  Apache+modssl (latest from ports)
  Basic FreeBSD services (sshd, sendmail, etc.)
 
  Problem:
  Random service and host check control processes will lock up and
'spin'
  on the CPU. This is really bad when a host check does it because it
  brings all checks to a halt. It doesn't seem to even notice that all
  checks have gone stale.
 
  It will look like this in top:
 
PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU
  COMMAND
  94068 nagios  1 1160  7500K  6748K CPU2   0 727:37 30.15%
nagios
  94082 nagios  1 1160  7500K  6748K CPU2   0 734:28 32.55%
nagios
  94104 nagios  1 1160  7500K  6748K CPU2   0 845:21 37.42%
nagios
  75338 nagios  5  200  7500K  6776K kserel 0  91:33  0.00%
nagios
 
  In this example the main nagios pid is 75338. The hung service
and/or
  host processes are the other ones.
 
  The service checks are almost entirely custom scripts, but the host
  check is a standard check_ping that comes with the nagios program.
 
  Any ideas on how to figure out which service or host check is hung?
Or
  how to deal with this problem at all?
 
 
 Host and service checks going into infinite loops wouldn't show up as
 Nagios processes in CPU spinlock, as the nagios check execution
children
 just sit around and wait for the child to finish (or 60 seconds to
pass
 in default config, before it kills it off).
 
 You've found a bug in Nagios which most likely was either introduced
in
 the port of it, or is a result of library differences between FreeBSD
 and Linux.
 
 I wouldn't be all too surprised if it turns out that the FreeBSD
pthread
 implementation disallows something that the Linux version allows. Note
 that this doesn't necessarily have to be a bug; Nagios doesn't use the
 pthread ABI in a way that is explicitly stated as safe, but the
pthread
 implementation on Linux and most other unices are forgiving enough to
 make it work anyway.
 
 It's also possible that this bug only triggers on dual-CPU systems
with
 a particular library installed, as some kinds of timing and
 race-conditions just doesn't happen on single-CPU systems.
 
 What happens if you do
 
 $ gdb --pid=$(pidof spinning-nagios-process)
 (gdb) bt
 
 ?
 
 --
 Andreas Ericsson   [EMAIL PROTECTED]
 OP5 AB www.op5.se
 Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Host checks not performed

2006-12-14 Thread Toto Capuccino

Hi List fellows,

I am trying to configure nagios 2.6 with the help of fruity. I have created
a few hosts which use the check-host-alive command provided in the sample
files. The check host alive command is part of my default host template
which i use on all the hosts.
Strangely only one host is appearing UP and all other remain in Pending
State after 40 minutes.




   nlamssv03http://10.2.10.29/nagios/cgi-bin/extinfo.cgi?type=1host=nlamssv03
[image: View Service Details For This
Host]http://10.2.10.29/nagios/cgi-bin/status.cgi?host=nlamssv03
PENDING N/A 0d 0h 41m 43s+ Host has not been checked yet

I think i have already seen that problem on the list so i thought you guys
could help me out.
Here is my nagios.cfg

cfg_file=/usr/local/nagios/etc/host_templates.cfg
cfg_file=/usr/local/nagios/etc/hosts.cfg
cfg_file=/usr/local/nagios/etc/commands.cfg
cfg_file=/usr/local/nagios/etc/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/contacts.cfg
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/service_templates.cfg
cfg_file=/usr/local/nagios/etc/services.cfg
cfg_file=/usr/local/nagios/etc/servicegroups.cfg
resource_file=/usr/local/nagios/etc/resources.cfg
cfg_file=/usr/local/nagios/etc/hostextinfo.cfg
cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg
cfg_file=/usr/local/nagios/etc/dependencies.cfg
cfg_file=/usr/local/nagios/etc/escalations.cfg
enable_notifications=0
execute_service_checks=1
accept_passive_service_checks=1
enable_event_handlers=1
log_rotation_method=d
command_check_interval=-1

use_syslog=0
log_notifications=0
log_service_retries=0
log_host_retries=0
log_event_handlers=0
log_initial_states=0
log_external_commands=0
log_passive_checks=0
soft_state_dependencies=0
process_performance_data=0
check_for_orphaned_services=0
date_format=euro
execute_host_checks=1
accept_passive_host_checks=1
use_regexp_matching=0
use_true_regexp_matching=0
daemon_dumps_core=0
service_perfdata_command=0
host_perfdata_file_mode=a
service_perfdata_file_mode=a
host_perfdata_file_processing_interval=0
service_perfdata_file_processing_interval=0

Sincerely yours,
Toto
-
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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Problems with FreeBSD and Nagios

2006-12-14 Thread Andreas Ericsson
Jonathan Call wrote:
 
 Given your ideas and some google work I seem to have found my problem: 
 
 http://lists.freebsd.org/pipermail/freebsd-hackers/2005-August/013247.ht
 ml
 
 Not a pretty discussion. :(
 

Nope. Definitely not.

The problem for Nagios is that threading was added after the fact so 
nagios actually breaks some of the *strong* recommendations on what to 
do and what not to do in a threaded application after a fork().

The problem for *BSD and their thread implementation of the thread 
library is that Nagios actually works everywhere but on *BSD, and it 
*often* works there too, but not always. This often-but-not-always is 
usually a sign of a broken implementation, although exactly 
often-but-not-always is a sign of the errors you'll run into when you 
do what Nagios does post-fork().

I don't know of any other program that has the same problem on *BSD, but 
it would be interesting to see if there's a common pattern so one can 
pinpoint the exact pattern that causes the lock contention and races. It 
would, from a practical point of view, be best to patch it in the 
library, as that is a fix that would work for all possible future 
problems as well, although it's technically more correct to fix it in 
Nagios.

Ugly discussion indeed.


 I'll try using a non SMP kernel to see it might help. If it doesn't this
 pretty much renders Nagios useless on FreeBSD. (Which makes me wonder
 why they even bother maintaining it in ports?)
 

Out of curiousity, do you use passive checks, active checks or a mix of 
both in your setup?

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Host checks not performed

2006-12-14 Thread Andreas Ericsson
Toto Capuccino wrote:
 Hi List fellows,
 
 I am trying to configure nagios 2.6 with the help of fruity. I have created
 a few hosts which use the check-host-alive command provided in the sample
 files. The check host alive command is part of my default host template
 which i use on all the hosts.
 Strangely only one host is appearing UP and all other remain in Pending
 State after 40 minutes.
 

Nagios only checks hosts after a service on them have returned non-OK. 
If a service on the host returns OK without a hostcheck having been run, 
the status of the host is set to UP and the host-check output is set to 
Services working, so host assumed to be up (or something like that).

In short, if you have no services defined for your hosts, they will 
never be checked (normally) and therefore never appear as UP or DOWN.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Newbie: I can't register hosts?

2006-12-14 Thread nic gna
This is my host.cfg and I can't register the hosts.
  I get this error:
   
  Error: Host name, alias, or address is NULL
Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting 
on line 1)
  
  define host{
namerouters
use routers
check_command   check-host-alive
max_check_attempts  15
notification_interval   30
notification_period 24x7
contact_groups  admins
notification_optionsd,r
register1
}
define host{
namefrontends
use frontends
check_command   check-host-alive
max_check_attempts  15
notification_interval   30
notification_period 24x7
contact_groups  admins
notification_optionsd,r
register1
}
define host{
use frontends
host_name  luke 
alias   luke
address 129.11.4.169
}
define host{
use computes
host_name leia
  aliasleia
address 129.11.4.170
}

 
-
Have a burning question? Go to Yahoo! Answers and get answers from real people 
who know.-
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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] big performance issue with Nagios 2.5

2006-12-14 Thread Marcel Mitsuto Fucatu Sugano
On Thu, 2006-12-14 at 08:30 +0100, Daniel Meyer wrote:
  Do you have passive and active checks? What is the ratio between them?
  I've runned across this issue, and had to tweak with main config values
  to solve the problem.
 
 # Active Host / Service Checks: 286 / 1609
 # Passive Host / Service Checks: 3 / 7

With this low rate between passive/active service checks, I don't
believe that that's the case at all.

  and Nagios being way too busy for executing active checks. The number of
  nsca instances was very high and when i've changed the value at
  command_check_interval from -1 to 2, the latency lowered.
 
  So, IMHO, i think it's a question of configurations tests to get
  performance tunned.
 
 I'll look into that.

What kind of checks do you run? Is there any custom plugins that take
too long to finish? Paste here the performance table. Output from
nagiostats may also be helpful.

Cheers,

Marcel




AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Newbie: I can't register hosts?

2006-12-14 Thread Andy Shellam (Mailing Lists)
The hostname is host_name, not name

Andy.

nic gna wrote:
 This is my host.cfg and I can't register the hosts.
 I get this error:
  
 Error: Host name, alias, or address is NULL
 Error: Could not register host (config file '/etc/nagios/hosts.cfg', 
 starting on line 1)
 
 define host{
 namerouters
 use routers
 check_command   check-host-alive
 max_check_attempts  15
 notification_interval   30
 notification_period 24x7
 contact_groups  admins
 notification_optionsd,r
 register1
 }
 define host{
 namefrontends
 use frontends
 check_command   check-host-alive
 max_check_attempts  15
 notification_interval   30
 notification_period 24x7
 contact_groups  admins
 notification_optionsd,r
 register1
 }
 define host{
 use frontends
 host_name  luke 
 alias   luke
 address 129.11.4.169
 }
 define host{
 use computes
 host_name leia
 aliasleia
 address 129.11.4.170
 }

 
 Have a burning question? Go to Yahoo! Answers 
 http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx
  
 and get answers from real people who know. 
 !DSPAM:37,4581863130864101612354!
 

 -
 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.phpp=sourceforgeCID=DEVDEV

 !DSPAM:37,4581863130864101612354!
   
 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null

 !DSPAM:37,4581863130864101612354!
   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
an alternative in a standardised world

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] RHEL 4 - nagios rpm fails with NOKEY

2006-12-14 Thread Bret Goodfellow
Hello there,
 
Okay, I got stopped immediately with my nagios implementation.  I have
RHEL 4 64 bit installed, and was attempting to install the nagios rpm
nagios-2.6-1.el4.rf.x86_64.rpm and got the following error:
 
warning: nagios-2.6-1.el4.rf.x86_64.rpm: V3 DSA signature: NOKEY, key ID
6b8d79e6
 
What does this mean?
 
 
-
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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Host checks not performed

2006-12-14 Thread Toto Capuccino

2006/12/14, Andreas Ericsson [EMAIL PROTECTED]:


Toto Capuccino wrote:
 Hi List fellows,

 I am trying to configure nagios 2.6 with the help of fruity. I have
created
 a few hosts which use the check-host-alive command provided in the
sample
 files. The check host alive command is part of my default host template
 which i use on all the hosts.
 Strangely only one host is appearing UP and all other remain in Pending
 State after 40 minutes.


Nagios only checks hosts after a service on them have returned non-OK.
If a service on the host returns OK without a hostcheck having been run,
the status of the host is set to UP and the host-check output is set to
Services working, so host assumed to be up (or something like that).

In short, if you have no services defined for your hosts, they will
never be checked (normally) and therefore never appear as UP or DOWN.

--
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231



For sure i havent read the doc as deep as you did, i thought
check-host-alive were performed anyways every once in a while. Thanks for
sharing that knowledge, it is a help.
-
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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Periodic and automated reporting

2006-12-14 Thread Horvath Tamas

Hi listmembers!

Thanks all of you, who replied to me.

I'm going to investigate all of the suggested solutions.

Merry Christmas ll of you!

Tamas!


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Newbie: I can't register hosts?

2006-12-14 Thread Patrick Morris
You also probably want register 0 in your templates, rather then
register 1, unless routers and frontends are the name of actual
hosts you intend to check.

On Thu, 14 Dec 2006, Andy Shellam (Mailing Lists) wrote:

 The hostname is host_name, not name
 
 Andy.
 
 nic gna wrote:
  This is my host.cfg and I can't register the hosts.
  I get this error:
   
  Error: Host name, alias, or address is NULL
  Error: Could not register host (config file '/etc/nagios/hosts.cfg', 
  starting on line 1)
  
  define host{
  namerouters
  use routers
  check_command   check-host-alive
  max_check_attempts  15
  notification_interval   30
  notification_period 24x7
  contact_groups  admins
  notification_optionsd,r
  register1
  }
  define host{
  namefrontends
  use frontends
  check_command   check-host-alive
  max_check_attempts  15
  notification_interval   30
  notification_period 24x7
  contact_groups  admins
  notification_optionsd,r
  register1
  }
  define host{
  use frontends
  host_name  luke 
  alias   luke
  address 129.11.4.169
  }
  define host{
  use computes
  host_name leia
  aliasleia
  address 129.11.4.170
  }
 
  
  Have a burning question? Go to Yahoo! Answers 
  http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx
   
  and get answers from real people who know. 
  !DSPAM:37,4581863130864101612354!
  
 
  -
  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.phpp=sourceforgeCID=DEVDEV
 
  !DSPAM:37,4581863130864101612354!

  
 
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS when 
  reporting any issue. 
  ::: Messages without supporting info will risk being sent to /dev/null
 
  !DSPAM:37,4581863130864101612354!

 
 
 -- 
 Andy Shellam
 NetServe Support Team
 
 the Mail Network
 an alternative in a standardised world
 
 p: +44 (0) 121 288 0832/0839
 m: +44 (0) 7818 000834
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] help - monitoring SCO unix

2006-12-14 Thread Michael Waters
Hi,

I have searched around on google for ages but cant see any pre compiled
plugins..

Im trying to get nagios-plugins-1.4.5 to work on there. It configures ok but
when I go to make it comes out with this error:

In file included from regex.c:55:
regex_internal.h:458: alloca.h: No such file or directory
gmake[4]: *** [regex.o] Error 1
gmake[4]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/app/tmp/mick/nagios-plugins-1.4.5'
gmake: *** [all] Error 2


using SCO OpenServer(TM) Release 5


Michael.

-Original Message-
From: Andreas Ericsson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 14 December 2006 8:28 PM
To: Michael Waters
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] help - monitoring SCO unix

Michael Waters wrote:
 Hi,
 
  
 
 Im having issues finding some plugins that work on sco unix. Im getting
 compile error 1 when installing the standard nrpe. I think I have got nsca
 working on it (it compiled anyways) but I need some checks for file age,
 disk io and some other standard checks as well.
 
  

It's completely impossible to tell you what's going wrong without 
getting to see a copy of the error that the build process produces.

 
 Any advice would be very much appreciated.. 
 

Google for a pre-compiled NRPE.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] RHEL 4 - nagios rpm fails with NOKEY

2006-12-14 Thread Niels Winge-Sorensen
Bret,

EL OH EL RHEL.
If you want to take care of your 'NOKEY', try google.
If you can't, let me show you a quick link that fedora core users use.
http://www.fedorafaq.org/#gpgsig
This should take care of the problem.

By the way, tarball installs are not that painful.

Good luck,
Niels Winge-Sorensen
Operation Analyst
Broadband Maritime Inc.
61 Broadway, 19th floor
New York, NY 10006
Tel: 212-405-1028
[EMAIL PROTECTED]
 
This message is for the named person's use only.  It may contain confidential, 
proprietary or legally priviledged material.  You must not, directly or 
indirectly, disclose, distribute, forward or copy any part of this message or 
any of its attachments without the permission of Broadband Maritime Inc.



-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios Notifications

2006-12-14 Thread Danilo Perdomo
Hi People, i have a litte problem with the notifications of my Nagios 2.5.
For example :
# 'check_nt_cpu' command definition
define command{
command_namecheck_nt_cpu
command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v 
CPULOAD -l 15,90,98
}
When the notification arrives, in the additional info field i get 
information about the Ping instead of the CPU Load
of the host, this happens when i'm checking disk, memory and others.
I'd appreciate any help, thanks in advanced.




-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios Notifications

2006-12-14 Thread Patrick Morris
On Thu, 14 Dec 2006, Danilo Perdomo wrote:

 Hi People, i have a litte problem with the notifications of my Nagios 2.5.
 For example :
 # 'check_nt_cpu' command definition
 define command{
 command_namecheck_nt_cpu
 command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v 
 CPULOAD -l 15,90,98
 }
 When the notification arrives, in the additional info field i get 
 information about the Ping instead of the CPU Load
 of the host, this happens when i'm checking disk, memory and others.
 I'd appreciate any help, thanks in advanced.

What are your notification commands? Can't help much without those.

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Unable to run make successfully for nagios-plugins-1.4.5

2006-12-14 Thread Ravi Malghan
Hi: When I run make, I get the following error. I looked through the FAQ, 
couldn't find any pointers. I am compiling this on Solaris 2.9 and have make 
3.81 and gcc 3.4.6
=
if gcc -DLOCALEDIR=\/usr/home/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl   -I/usr/local/openssl/include 
-I/usr/local/mysql/include -I/usr/local/openssl/include 
-I/usr/local/mysql/include -Xa -xstrconst -mt -D_FORTEC_ -xarch=v8 -g -O2 -MT 
check_mysql-check_mysql.o -MD -MP -MF .deps/check_mysql-check_mysql.Tpo -c -o 
check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \
then mv -f .deps/check_mysql-check_mysql.Tpo 
.deps/check_mysql-check_mysql.Po; else rm -f 
.deps/check_mysql-check_mysql.Tpo; exit 1; fi
gcc: unrecognized option `-Xa'
gcc: language arch=v8 not recognized
gcc: check_mysql.c: linker input file unused because linking not done
mv: cannot access .deps/check_mysql-check_mysql.Tpo
*** Error code 2
make: Fatal error: Command failed for target `check_mysql-check_mysql.o'
Current working directory /tmp/plugins/nagios-plugins-1.4.5/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp/plugins/nagios-plugins-1.4.5
*** Error code 1
make: Fatal error: Command failed for target `all'
==
Thanks
Ravi


 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios Notifications

2006-12-14 Thread Danilo Perdomo

Patrick Morris escribió:
 On Thu, 14 Dec 2006, Danilo Perdomo wrote:

   
 Hi People, i have a litte problem with the notifications of my Nagios 2.5.
 For example :
 # 'check_nt_cpu' command definition
 define command{
 command_namecheck_nt_cpu
 command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v 
 CPULOAD -l 15,90,98
 }
 When the notification arrives, in the additional info field i get 
 information about the Ping instead of the CPU Load
 of the host, this happens when i'm checking disk, memory and others.
 I'd appreciate any help, thanks in advanced.
 

 What are your notification commands? Can't help much without those
   
Notification commands:

# 'notify-by-email' command definition
define command{
command_namenotify-by-email
command_line/usr/bin/printf %b * Nagios Nacional 
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n$HOSTOUTPUT$ | /bin/mail -s Alerta: $NOTIFICATIONTYPE$ - 
$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$
}

# 'host-notify-by-email' command definition
define command{
command_namehost-notify-by-email
command_line/usr/bin/printf %b * Nagios Nacional 
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: 
$LONGDATETIME$\n | /bin/mail -s Alerta: $HOSTSTATE$ $HOSTNAME$! 
$CONTACTEMAIL$
}

# 'process-host-perfdata' command definition
define command{
command_nameprocess-host-perfdata
command_line/usr/bin/printf %b 
$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$HOSTSTATETYPE$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$\n
 
  /usr/local/nagios/var/host-perfdata.out
}

# 'process-service-perfdata' command definition
define command{
command_nameprocess-service-perfdata
command_line/usr/bin/printf %b 
$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n
 
  /usr/local/nagios/var/service-perfdata.out
}

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios Notifications

2006-12-14 Thread Marcel Mitsuto Fucatu Sugano
On Thu, 2006-12-14 at 18:32 -0400, Danilo Perdomo wrote:
 # 'notify-by-email' command definition
 define command{
 command_namenotify-by-email
 command_line/usr/bin/printf %b * Nagios Nacional 
 *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: 
 $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
 $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
 Info:\n$HOSTOUTPUT$ | /bin/mail -s Alerta: $NOTIFICATIONTYPE$ - 
 $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ $CONTACTEMAIL$
 } 

You should $SERVICEOUTPUT$ instead of $HOSTOUTPUT$.

HTH,
Marcel


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Make error : nagios-plugins-1.4.5: check_ntp.c:invalid operands

2006-12-14 Thread nic gna
I get this make error with nagios-plugins-1.4.5  (sles8,ia64)
  ---
gcc -g -O2 -o check_mrtgtraf check_mrtgtraf.o utils.o  
-L/home/Software/Nagios/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a 
../lib/libcoreutils.a -lssl -lcrypto
if gcc -DLOCALEDIR=\/usr/local/packages/nagios-2.6/share/locale\ 
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap 
-I/usr/include/pgsql -I/usr/include-g -O2 -MT check_ntp.o -MD -MP -MF 
.deps/check_ntp.Tpo -c -o check_ntp.o check_ntp.c; \
then mv -f .deps/check_ntp.Tpo .deps/check_ntp.Po; else rm -f 
.deps/check_ntp.Tpo; exit 1; fi
check_ntp.c: In function `setup_request':
check_ntp.c:295: invalid operands to binary 
check_ntp.c:295: invalid operands to binary 
check_ntp.c:295: invalid operands to binary 
check_ntp.c:295: invalid operands to binary 
make[2]: *** [check_ntp.o] Error 1
make[2]: Leaving directory `/home/Software/Nagios/nagios-plugins-1.4.5/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Software/Nagios/nagios-plugins-1.4.5'
make: *** [all] Error 2

 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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.phpp=sourceforgeCID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Nagios installation

2006-12-14 Thread tyrus
Hi i downloaded and installed nagios as per the documentation and i even
configured apache correctly. I got up to the point where i viewed the
welcome page but i cant go beyond that.
I get the following error message:
The requested URL /nagios/cgi-bin/tac.cgi was not found on this server.
Then when i restart nagios with the -v option i receive the following error:
Nagios 2.6 starting... (PID=4464)
Error: Unexpected token or statement in file
'/usr/local/nagios/etc/hosts.cfg' o n line 2.
Bailing out due to one or more errors encountered in the configuration
files.  R un Nagios from the command line with the -v option to verify
your config before restarting. (PID=4464)
I wasnt able to see what the problem was since i didnt see in the manual
anywhere it states about editing the hosts.cfg file.

Kindly help me out.


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios installation

2006-12-14 Thread Matthew Joyce
You will need to do at least some configuring before nagios will run.

http://nagios.sourceforge.net/docs/2_0/config.html 


Matthew Joyce 
02 9382 0051 | IT Manager | Children's Cancer Institute Australia for
Medical Research 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, 15 December 2006 3:12 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios installation

Hi i downloaded and installed nagios as per the documentation and i even
configured apache correctly. I got up to the point where i viewed the
welcome page but i cant go beyond that.
I get the following error message:
The requested URL /nagios/cgi-bin/tac.cgi was not found on this server.
Then when i restart nagios with the -v option i receive the following
error:
Nagios 2.6 starting... (PID=4464)
Error: Unexpected token or statement in file
'/usr/local/nagios/etc/hosts.cfg' o n line 2.
Bailing out due to one or more errors encountered in the configuration
files.  R un Nagios from the command line with the -v option to verify
your config before restarting. (PID=4464) I wasnt able to see what the
problem was since i didnt see in the manual anywhere it states about
editing the hosts.cfg file.

Kindly help me out.



-
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.phpp=sourceforgeCID=DEVDE
V
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null