[Nagios-users-br] Check_by_ssh

2009-09-15 Thread Tiago Schievenin
Bom dia grupo,

 

Estou com um problemas para utilizar o check_by_ssh.

Fiz várias buscas no google porém sem sucesso.

Quando executo no terminal funciona perfeitamente, porém quando coloco no
nagios, para o nagios executar não funciona.

 

Alguém já passou por isso??

 

Att,

Tiago

 

 

 

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
-- 
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] Problemas com Nagios 3.0.6 (parte 2)

2009-09-15 Thread Bruno R. Cardoso
Olá
Estou tendo um problema parecido mas o detalhe que pelo console envio
e-mails tranquilamente no usuário nagios e no root. No log do nagios aparece
o service notification. Aumentei para 600segundos o timeout porque com 60
não ia e mesmo asism não recebo os e-mails. Tenho um servidor de e-mails
interno com sendmail e outras máquinas enviam também. Ou seja acredito que a
parte de configuração do e-mail está correta o comando aparece no log mas o
e-mail não vai estou achando que pode ser alguma coisa relacionada no nagios
na hora de passar os parâmetros para o mailx mas acontece que o comando vem
correto no log do nagios.

Alguém tem algum luz?
Bruno Rafael Cardoso .'.

2009/9/11 Cleiton Souza cleiton.bra...@gmail.com

 Cara, a algum tempo atrás, eu tive um problema parecido com esse, e o
 problema era o meu anti-spam que estava barrando os emails do nagios.
 Por isso recomendo você:
 1. checar o arquivo de log do email, para ver se o sendmail esta realmente
 enviando email com o comando: tail /var/log/maillog
 2. Caso as mensagens realmente estao aparecendo no maillog, verifique o
 antispam
 3. Reporte pra gente se resolveu

 Até mais!

 Cleiton Souza

 2009/9/11 Diego Morroni Pereira dm...@hotmail.com

 
  Ola a todos,
 
  Para exemplificar melhor a situação que ocorre é a seguinte:
 
  Vou retiro uma das máquina da rede e em questão de pouco tempo (entre 1 e
 2
  minutos) ele ja exibe o alarme na tela como crítico.
 
  Entretanto o e-mail não é enviado... recebo muitos e-mails de warning,
 mas
  com os críticos esta ocorrendo esse problema, ou o Nagios gera eles com
  muito atraso ou não gera...
 
  Os comandos de envio, creio eu que estão corretos, pois os demais e-mails
  são enviados normalmente.
 
  Criei uma máquina Virtual, e instalei a versão 3.2.0 com Debian 5.0 e
  joguei meus arquivos de contatos, estações e tudo mais lá. O mesmo
 problema
  ocorre.
 
  Alguém faz idéia do que possa ser?
 
  Grato pela atenção.
 
  Diego Morroni
 
  _
  Acesse seu Hotmail de onde quer que esteja através do celular. Clique
 aqui.
 
 
 http://www.windowslive.com.br/celular/home.asp?utm_source=MSN_Hotmailutm_medium=Taglineutm_campaign=MobileServices200908
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
  trial. Simplify your report design, integration and deployment - and
 focus
  on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

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

2009-09-15 Thread Jose Oliveira
Colega
Quando voce testa no terminal, está usando o mesmo usuário do Nagios
(nagios) ou o root?




2009/9/15 Tiago Schievenin tskiv...@gmail.com

 Bom dia grupo,



 Estou com um problemas para utilizar o check_by_ssh.

 Fiz várias buscas no google porém sem sucesso.

 Quando executo no terminal funciona perfeitamente, porém quando coloco no
 nagios, para o nagios executar não funciona.



 Alguém já passou por isso??



 Att,

 Tiago








 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




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

2009-09-15 Thread Bruno R. Cardoso

 Diego
 Você terá que fazer um template no services.cfg diferente caso queira que o
 tempo de verificação seja diferente do padrão. Por exemplo uma checagem a
 cada 15 minutos. E para fazer um comando com parâmetros diferentes terá que
 editar o commands.cfg(ou outro nome caso você alterou) e criar um comando
 diferente parecido por exemplo com o check-host-alive:

 define command{
 command_namecheck-host-alive
 command_line$USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80%
 -c 5000.0,100% -p 5
 }

 poderia ser algo assim:

 define command{
 command_name   ping-servidor-2
 command_line$USER1$/check_ping -H $HOSTADDRESS$ -w 5000.0,40%
 -c 8000.0,100% -p 5
 }

 e depois alterar o services.cfg para algo parecido com isso:

 define service{
 use basic-service
 service_description   Ping com alertas diferentes
 host_name   servidor2
 check_command  ping-servidor-2
 }


 2009/9/14 Diego Morroni Pereira dm...@hotmail.com




 Ola a todos,

 Consegui resolver o problema, na verdade o que houve foi que
 outra pessoa daqui fez uma alteração no tempo dos ping, para que eles
 fossem
 warning somente com 1000ms e 60% de perca e crítico com 3000ms e 80%.

 Quando verifiquei isso voltei ao padrão e o serviço voltou a
 alarmar em tempo satisfatório.

 Uma questão que me surgiu após o ocorrido foi: Teria como eu
 configurar o tipo de alarme para cada serviço?

 Por exemplo: Só quero receber e-mails de serviços críticos,
 exemplo: 100% do uso de memória não é crítico em determinadas situação,
 mas 50%
 do uso da swap é. Então para verificação de memória eu configuraria só
 alarme
 via e-mail e para swap outros tipos, por exemplo jabber, MSN, sms...

 Alguém já fez algo deste tipo?

 Grato pela atenção.


 _
 Acesse seu Hotmail de onde quer que esteja através do celular. Clique
 aqui.

 http://www.windowslive.com.br/celular/home.asp?utm_source=MSN_Hotmailutm_medium=Taglineutm_campaign=MobileServices200908

 --
 Come build with us! The BlackBerry® Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9-12, 2009. Register now!
 http://p.sf.net/sfu/devconf
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




 --
 Bruno Rafael Cardoso
 Tecnologia da Informação
 Centro Universitário de Jaraguá do Sul - UNERJ
 Telefone (47)3275-8200
 Site: http://www.unerj.br

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

2009-09-15 Thread Hendrik Baecker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Am 14.09.2009 12:56, schrieb nadia kheffache:
 Hi,

 i want to check local cpu for my Nagios server, but i have status
 null on my web interface, and when i execute the commande line, the
 status is ok.

 [nag...@server libexec]$ ./check_vmstat -m CPU -wcpu-usg 80
 -ccpu-usg 90 OK: Usage CPU: Total=2% [User=0%,
 System=1%]|cpu_usage_pct=2%;;;0;100 cpu_usr_pct=0%;;;0;100
 cpu_sys_pct=1%;;;0;100
Don't run plugin tests with relative paths - nagios won't do it either.

cd /tmp
/usr/local/nagios/libexec/check_vmstat -m CPU -wcpu-usg 80 -ccpu-usg 90

Post output here...

- -
Hendrik
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
 
iD8DBQFKr0hzlI0PwfxLQjkRAjxLAJ0fHyWDgYhrM4FKz8q/hFNjkGNnuACdHEI2
SgvE2UlwuSOzW2myRECoQEw=
=xN+z
-END PGP SIGNATURE-


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

2009-09-15 Thread Stage
Hi,

I'm trying to have a meaningful map like I have found on 
http://nagios.sourceforge.net/images/screens/big/statusmap.jpg
I thought it had something to do with dependency but that doesn't seem to work.

My question is how do I do this?

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

2009-09-15 Thread nadia kheffache
Hi,

thank you for your help, i have an error in my check_vmstat utils.pm.
i have create a log in my command to see wahat is the probleme like this:
./check_vmstat -m CPU -wcpu-usg 80 -ccpu-usg 90 
2/usr/local/nagios//var/check_by_vmstat.log

Nadia

--- En date de : Mar 15.9.09, Hendrik Baecker andu...@process-zero.de a 
écrit :

 De: Hendrik Baecker andu...@process-zero.de
 Objet: Re: [Nagios-users] status Null
 À: nagios-users@lists.sourceforge.net
 Date: Mardi 15 Septembre 2009, 9h55
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
  
 Am 14.09.2009 12:56, schrieb nadia kheffache:
  Hi,
 
  i want to check local cpu for my Nagios server, but i
 have status
  null on my web interface, and when i execute the
 commande line, the
  status is ok.
 
  [nag...@server libexec]$ ./check_vmstat -m CPU
 -wcpu-usg 80
  -ccpu-usg 90 OK: Usage CPU: Total=2% [User=0%,
  System=1%]|cpu_usage_pct=2%;;;0;100
 cpu_usr_pct=0%;;;0;100
  cpu_sys_pct=1%;;;0;100
 Don't run plugin tests with relative paths - nagios won't
 do it either.
 
 cd /tmp
 /usr/local/nagios/libexec/check_vmstat -m CPU -wcpu-usg 80
 -ccpu-usg 90
 
 Post output here...
 
 - -
 Hendrik
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
  
 iD8DBQFKr0hzlI0PwfxLQjkRAjxLAJ0fHyWDgYhrM4FKz8q/hFNjkGNnuACdHEI2
 SgvE2UlwuSOzW2myRECoQEw=
 =xN+z
 -END PGP SIGNATURE-
 
 
 --
 Come build with us! The BlackBerryreg; Developer
 Conference in SF, CA
 is the only developer event you need to attend this year.
 Jumpstart your
 developing skills, take BlackBerry mobile applications to
 market and stay 
 ahead of the curve. Join us from November 9-12, 2009.
 Register now!
 http://p.sf.net/sfu/devconf
 ___
 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
 


  

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

2009-09-15 Thread Paul Weaver
 I'm trying to have a meaningful map like I have found on
http://nagios.sourceforge.net/images/screens/big/statusmap.jpg 
 I thought it had something to do with dependency but that doesn't seem
to work.
 My question is how do I do this?

The statusmap is only really of use if you have a small number of hosts.
The layout in that example is covered by the parent part of the config
-- http://nagios.sourceforge.net/docs/3_0/networkreachability.html

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

2009-09-15 Thread Menard, Chris
parents

From: Stage [st...@microcomputing.be]
Sent: Tuesday, September 15, 2009 5:24 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] meaningful map?

Hi,

I’m trying to have a meaningful map like I have found on 
http://nagios.sourceforge.net/images/screens/big/statusmap.jpg
I thought it had something to do with dependency but that doesn’t seem to work.

My question is how do I do this?

Thanks,
Dominic

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

2009-09-15 Thread Matt White
Have you considered setting up Nagvis

Im running this and it gives me much nicer maps and customised layouts for what 
I need to display

From: Stage [mailto:st...@microcomputing.be]
Sent: 15 September 2009 10:25
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] meaningful map?

Hi,

I'm trying to have a meaningful map like I have found on 
http://nagios.sourceforge.net/images/screens/big/statusmap.jpg
I thought it had something to do with dependency but that doesn't seem to work.

My question is how do I do this?

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

2009-09-15 Thread Grant Sewell
On Tue, 15 Sep 2009 11:24:35 +0200
Stage wrote:

 Hi,
 
 I'm trying to have a meaningful map like I have found on
 http://nagios.sourceforge.net/images/screens/big/statusmap.jpg I
 thought it had something to do with dependency but that doesn't seem
 to work.
 
 My question is how do I do this?
 
 Thanks,
 Dominic

As has been mentioned, the parents part of the host specification can
be used to generate maps like that.  Personally I prefer using NagVis
from the Nagios Exchange.

Grant.

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

2009-09-15 Thread Jelle Smet


Hi List, 

Using the disk check we can see the usage and set thresholds.
The performance info is stored into a RRD and viewed through pnp. 

This all works as expected. 

Now that the RRD contains historical data, I was wondering if there are
any checks or systems available which can detect and and alert on
suspicious trends. 

For example in the case of a disk check.
If the disk usage increased with 50% over the last 15 minutes, that
indicates a problem... while this doesn't necessarely mean a threshold is
exceeded.
Or if the disk usage is growing steady, we will run out of space in 2
days, ... but the coninuous gentle growth indicates a problem (log file
appends for example) 

Thanks for the info.

Jelle Smet
http://www.smetj.net
 --
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] A way to alert suspicous trends?

2009-09-15 Thread Martin Melin
I haven't implemented this myself but have thought about it:

You should be able to monitor the derivative (rate of change) of most checks
that return performance data.

In your disk example, it would catch that the disk usage has started to
increase substantially faster than historical levels. You'd catch the user
trying to fill his home dir with his MP3 player's contents as well as more
sinister things.

It should be pretty straightforward to hack a proof of concept of this.

I don't see how your second example isn't served by the graphs you get with
pnp4nagios: if your disk usage is increasing slowly but surely and you're
not expecting it to, you'll see it in the graph and can investigate
accordingly when time allows. If your disk usage starts to run critically
low Nagios will let you know as always.

Thoughts?

Regards
Martin Melin

On Tue, Sep 15, 2009 at 1:35 PM, Jelle Smet nag...@smetj.net wrote:

 Hi List,

 Using the disk check we can see the usage and set thresholds.
 The performance info is stored into a RRD and viewed through pnp.

 This all works as expected.

 Now that the RRD contains historical data, I was wondering if there are any
 checks or systems available which can detect and and alert on suspicious
 trends.

 For example in the case of a disk check.
 If the disk usage increased with 50% over the last 15 minutes, that
 indicates a problem... while this doesn't necessarely mean a threshold is
 exceeded.
 Or if the disk usage is growing steady, we will run out of space in 2 days,
 ... but the coninuous gentle growth indicates a problem (log file appends
 for example)



 Thanks for the info.

 Jelle Smethttp://www.smetj.net



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

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

2009-09-15 Thread shadih rahman
Eduardo,
 you should check Performance Info  tab on the left pane.  I am
guessing your check latency is very high.  Anyhow,  I have ran into this
situation in the past.  Here are some things to check.


1)  Increase debug information in your log and check nagios debug log.
2)  Are you using NSCA, if you are make sure this is configured properly
3)  Are you using Ndoutils, make sure the connection for ndoutils are
correct and database is not experiencing any performance issue.
4)  play around with the following parameters in your nagios.cfg

check_result_reaper_frequency=10
max_check_result_reaper_time=20


5) make sure you read this document.

http://nagios.sourceforge.net/docs/3_0/tuning.html




On Mon, Sep 14, 2009 at 6:25 PM, Eduardo Barreto lec...@gmail.com wrote:

 Hi All,

 Nagios may seems to be working fine, but o nagios.log I'm getting this
 message initerrupted, does anyone can help me on this? Nagios 3.0.6 running
 on Slackware 12.2 kernel 2.6.27.7-smp

 Warning: The check of service 'xxx' on host 'xxx' looks like it was
 orphaned (results never came back).  I'm scheduling an immediate check of
 the service...



 Thanks in advance.

 Eduardo Barreto


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




-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] Contact options on a hostgroup?

2009-09-15 Thread Israel Brewster

On Sep 14, 2009, at 12:01 PM, Terry wrote:


On Mon, Sep 14, 2009 at 1:04 PM, Israel Brewster
isr...@frontierflying.com wrote:
Is there any way to apply contact options to a hostgroup? What I'm  
looking

for is a way to make different hostgroups with different contacts and
contact options, such as Emergency, high-priority, low- 
priority etc.
At the moment I am putting these things into the host template, and  
then for
any hosts that need to vary (such as a lower-priority file server  
as opposed
to our high-priority database server), I override the  
contact_groups and/or
notification_options directive. This works, but makes maintenance a  
little
difficult as there is no easy way to look at just my high-priority  
servers
or the like and see what I have where. Is there a better way of  
handling

this? Thanks.
---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---


I am not sure I understand 100%.  If you just want a way to logically
see all of your high priority servers, just create another hostgroup
called high-priority and join the respective hosts to that hostgroup.
You can then see only hosts in that hostgroup in the CGIs and apply
commands to them.


The point isn't so much to see all the high-priority servers grouped,  
but rather to have an easy way of applying high-priority contacts to  
the hosts that need it. The grouping that would occur with a hostgroup  
would just be an added bonus. I could, of course, use host templating  
for this, but the problem with that is that I already heavily use  
templating to simplify my configs. Trying to add high-priority/low- 
priority to the host templates would double the number of host  
templates I would need, creating an annoyingly large number of host  
templates. If I could apply contact groups/notification options to a  
hostgroup, however, then all I would need to do is add one hostgroup,  
and one config line to each host that is high-priority.


---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---

BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] Contact options on a hostgroup?

2009-09-15 Thread Marc Powell

On Sep 15, 2009, at 11:01 AM, Israel Brewster wrote:

  If I could apply contact groups/notification options to a  
 hostgroup, however, then all I would need to do is add one  
 hostgroup, and one config line to each host that is high-priority.

You cannot apply contactgroups to a hostgroup. You used to be able to  
do so long ago but that was abandoned in favor of the greater  
flexibility of applying contacts per host{} and templates.

--
Marc

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

2009-09-15 Thread Israel Brewster


On Sep 15, 2009, at 8:28 AM, Marc Powell wrote:



On Sep 15, 2009, at 11:01 AM, Israel Brewster wrote:


If I could apply contact groups/notification options to a
hostgroup, however, then all I would need to do is add one
hostgroup, and one config line to each host that is high-priority.


You cannot apply contactgroups to a hostgroup. You used to be able to
do so long ago but that was abandoned in favor of the greater
flexibility of applying contacts per host{} and templates.


That's pretty much what I thought (at least about not being able to do  
it), but it's always nice to have confirmation. I guess if I work it  
right though, it should still only be a single line added, that being  
the contact group. Thanks.

---
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
---


--
Marc

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart  
your
developing skills, take BlackBerry mobile applications to market and  
stay
ahead of the curve. Join us from November 9#45;12, 2009. Register  
now#33;

http://p.sf.net/sfu/devconf
___
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




BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD



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

2009-09-15 Thread Israel Brewster
Is there anything special (say, in the nagios config) that I need to do in order to use environment variables in my notification scripts? From the documentation, it looks like the various macros should be made available as enviroment variables, such asNAGIOS_HOSTNAME. However, when I do the following in my shell script:ADDRESS=$NAGIOS_HOSTADDRESSNAME=$NAGIOS_HOSTNAMESTATE=$NAGIOS_SERVICESTATETYPE=$NAGIOS_NOTIFICATIONTYPETIME=$NAGIOS_LONGDATETIMEDESC=$NAGIOS_SERVICEDESCINFO=$NAGIOS_SERVICEOUTPUTI get nothing in the notification email that uses the above set variables. Additionally, if I dump the output of the env command into the e-mail, it doesn't show any NAGIOS_ variables. What am I missing here? The goal is for the script to be able to query the appropriate environment variables directly, rather than having to have a huge long (hard to read) command string that passes in everything from the macros as arguments. Thanks. ---Israel BrewsterComputer SupportTechnician IIFrontier Flying Service Inc.5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7250 x293---BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
 --
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] Environment variables

2009-09-15 Thread Israel Brewster
Never Mind, I found the configuration directive in the nagios .conf.On Sep 15, 2009, at 12:24 PM, Israel Brewster wrote:Is there anything special (say, in the nagios config) that I need to do in order to use environment variables in my notification scripts? From the documentation, it looks like the various macros should be made available as enviroment variables, such asNAGIOS_HOSTNAME. However, when I do the following in my shell script:ADDRESS=$NAGIOS_HOSTADDRESSNAME=$NAGIOS_HOSTNAMESTATE=$NAGIOS_SERVICESTATETYPE=$NAGIOS_NOTIFICATIONTYPETIME=$NAGIOS_LONGDATETIMEDESC=$NAGIOS_SERVICEDESCINFO=$NAGIOS_SERVICEOUTPUTI get nothing in the notification email that uses the above set variables. Additionally, if I dump the output of the env command into the e-mail, it doesn't show any NAGIOS_ variables. What am I missing here? The goal is for the script to be able to query the appropriate environment variables directly, rather than having to have a huge long (hard to read) command string that passes in everything from the macros as arguments. Thanks. ---Israel BrewsterComputer SupportTechnician IIFrontier Flying Service Inc.5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7250 x293---Israel Brewster.vcf --Come build with us! The BlackBerryreg; Developer Conference in SF, CAis the only developer event you need to attend this year. Jumpstart yourdeveloping skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;http://p.sf.net/sfu/devconf___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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 ---Israel BrewsterComputer SupportTechnician IIFrontier Flying Service Inc.5245 Airport Industrial RdFairbanks, AK 99709(907) 450-7250 x293---BEGIN:VCARD
VERSION:3.0
N:Brewster;Israel;;;
FN:Israel Brewster
ORG:Frontier Flying Service;MIS
TITLE:PC Support Tech II
EMAIL;type=INTERNET;type=WORK;type=pref:isr...@frontierflying.com
TEL;type=WORK;type=pref:907-450-7293
item1.ADR;type=WORK;type=pref:;;5245 Airport Industrial Wy;Fairbanks;AK;99701;
item1.X-ABADR:us
CATEGORIES:General
X-ABUID:36305438-95EA-4410-91AB-45D16CABCDDC\:ABPerson
END:VCARD
 --
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] nsca binary for tru64 unix

2009-09-15 Thread Anthony Gonzales
Hello,

I am inplementing Nagios on a Linux server and would like to get the NSCA_SEND 
for Tru64 UNIX 5.1b.  Is there such a beast?

Thank you,
Anthony Gonzales



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