Re: [Nagios-users-br] Monotorar temperatura e tensão e corrente

2006-08-11 Thread Alessandro Fernandes Martins
On 8/9/06, Heitor Souza [EMAIL PROTECTED] wrote:
 Preciso monitorar temperatura de determinado ambiente, como tensão DC
 até 60V e corrente até 120A.

 Alguém conhece algum equipamento externo com plugin para NAGIOS.

Heitor,

Se o equipamento em questão suportar IPMI [1], utilize o script
disponível em: http://www.qwirx.com/check_ipmi

Abraços,

References:

  1 - http://openipmi.sourceforge.net/ e
http://www.intel.com/design/servers/ipmi/index.htm

-- 
Alessandro Martins

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
-- 
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

2006-08-11 Thread Alessandro Fernandes Martins
On 8/8/06, ilmara monteverde martins [EMAIL PROTECTED] wrote:
 ola meu nome é ilmara e gostaria de saber mais sobre o nagios!!!
 pois achei mui interresante.E gostaria q você me ajudasse pois estou
 querendo falar sobre
 o nagios pra meu trabalho de conclusão de curso ,por isso queria me
 aprofundar ao máximo,desde instalção
 e outras outras aplicações .!!!
 se vc puder me indicar alguma referencia bibliografia.
 grata pela atenção.

Ilmara,

Sugiro a leitura do Guia de Instalação do Nagios Passo-a-Passo do
Regis Machado em:

http://nagios-br.sourceforge.net/wiki/index.php/Instalação

Atenciosamente,

-- 
Alessandro Martins

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
-- 
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] Monotorar temperatura e tensão e corrente

2006-08-11 Thread Pedro Ferreira
Plugin para Nagios para isso nao conheco mas existe é software de monitorizacao.para linux o sensors.Se for preciso de desenvolver um plugin NAGIOS para esse efeito é facil se necessitar de ajuda avisa.
On 8/9/06, 
Heitor Souza [EMAIL PROTECTED] wrote:
Preciso monitorar temperatura de determinado ambiente, como tensão DCaté 60V e corrente até 120A.
Alguém conhece algum equipamento externo com plugin para NAGIOS.Grato.--Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo.-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
Nagios-users-br@lists.sourceforge.net mailing listhttps://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-- A Fonte da Praça do Geraldo tem uma CoroaA Fonte das Portas de Moura não temA Fonte da Praça do Geraldo deita água
A Fonte das Portas de Moura tambémSem Mais AssuntoPedro Miguel Nunes FerreiraTelf: +351 917427847

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642-- 
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] EVENT HANDLER

2006-08-11 Thread Santaro, Paulo










Alguém sabe como faço para o nagios tomar
certas ações dependendo do status do serviço?



Por exemplo se o APACHE de umas das
maquinas que estou monitorando cair, o nagios vai lá e tenta subir o serviço
novamente?



Obrigado.



Paulo Santaro








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642-- 
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] RES: RES: RES: latency

2006-08-11 Thread Edgar Shine
Nao muda em nada, pq o tempo de notificação nada tem a ver com o tempo 
de resposta do plugin.
O tempo de latência não muda, sempre vai ser o mesmo. O q se altera na 
escala é o scheduler de polling e o tempo de notificação, o q pode ser 
bem minimizado com o uso de checagem passiva.

sd,
Edgar

Tiago Canoas A Silva escreveu:
 Edgar,
  
 Entendi.
  
 Eu tive tmb que aumentar o tempo de timeout de notificação, pois 60s era 
 pouco. Esse aumento pode afetar o tempo de latencia tmb, ou somente os 
 serviços configurados vai afetar?
  
 Atenciosamente,
 Tiago Canoas A Silva
  

 

 De: [EMAIL PROTECTED] em nome de Edgar Shine
 Enviada: seg 7/8/2006 12:41
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br] RES: RES: latency



 Depende do tempo q demora para o servidor responder normalmente. Veja q
 timeout é o tempo q se espera, e não o tempo q demora para a medida de
 latência.

 sd,
 Edgar

 Tiago Canoas A Silva escreveu:
   
 Srs,

 Uma duvida que estava pesquisando sobre essa demora do tempo de latencia.

 Hoje eu tenho para cada servidor, o servico de ping que verifica se o 
 servidor esta respondendo. Se eu mudar o valor de ms (tanto de warning como 
 de critical) para um valor muito alto, isso pode afetar o tempo de latencia 
 ou nao?

 Atenciosamente,
 Tiago Canoas A Silva


 

 De: [EMAIL PROTECTED] em nome de Jose Oliveira
 Enviada: ter 1/8/2006 21:46
 Para: Unofficial Brazilian (Portuguese) Nagios Users List
 Assunto: Re: [Nagios-users-br] RES: latency


 Oi

 Talvez quando voce não configura, o valor default é baixo... Tente aumentar 
 bem o número e monitore o consumo do servidor com o SAR.

 Um teste legal é enviar comando passivo ou reconhecerum estado de alarme. 
 Se demorar a processar é porque a fila tá grande e é preciso paralelizar...



 2006/7/28, Tiago Canoas A Silva [EMAIL PROTECTED]:

   Jose,
  
   Atualmente não configurei uma quantidade fixa de serviços que ele pode 
 fazer em paralelo, em tese, ele pode fazer quantos ele quiser.
  
   Mas a duvida agora eh a seguinte, se eu mudar pra um valor fixo, vai 
 ajudar, ou deixar da forma como esta eh melhor?
  
   Valeu pela ajuda.
  
   Atenciosamente,
   Tiago Canoas A Silva
  
  
   
  
   De: [EMAIL PROTECTED] em nome de Jose Oliveira
   Enviada: qui 27/7/2006 15:17
   Para: Unofficial Brazilian (Portuguese) Nagios Users List
   Assunto: Re: [Nagios-users-br] latency
  
  
   Fala Tiago
  
   Já tive problemas de latência aqui exatamente como voce mencionou. Eu 
 a resolvi aumentando a quantidade de processos que o Nagios pode lançar ao 
 mesmo tempo. Assim, ele não precisa ficar esperando muito para checar o 
 proximo. E como o tempo da checagem é relativametne variável, pois depende 
 da velocidade de resposta do servidor remoto e/ou da conexão ao mesmo...
  
   Voce precisa ter cuidado com o consumo de CPU ao amuentar a quantidade 
 de checagens em paralelo, pois pode beber' sua CPU...
  
  
  
  
   2006/7/25, Tiago Canoas A Silva  [EMAIL PROTECTED]:
  
   Srs,
  
   Qual a melhor forma de configurar o nagios quando se trabalha 
 com muitos hosts e serviços?
  
   Estamos tendo a seguinte situação, quando o serviço, ou 
 servidor cai, ele avisa no mesmo instante, mas após o serviço voltar, ele 
 demora 30 min para dar um refresh na tela, tem como diminui esse tempo?
  
   Segue abaixo o tempo que ele me mostra nas Informações de 
 Performance do nagios.
  
   Check Execution Time:   0.03 sec 14.07 sec 1.528 sec
   Check Latency:  0.01 sec 5846.23 sec 1283.522 sec
   Percent State Change:0.00%20.26%0.32%
  
   Caso precisem de mas informação me avisem.
  
   Atenciosamente,
   Tiago Canoas A Silva
  
  
  
   
 -
   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 
 mailto: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 
 http://news.gmane.org/gmane.network.nagios.user.brazil
   Wiki:

Re: [Nagios-users] Scalable Configuration Strategies?

2006-08-11 Thread rob . moss
Good question, good thinking.

I think you are on the right track with the separate files/directories,
however if you have over 1,000 servers i think there may be other overheads
involved in parsing 1,000 or more individual files on startup, but that can
be checked later.

I would go for individual host definitions per host including all of the
services that it runs, that way you can easily script something to write
out config files per server from a data source such as CSV. For example:

host,servce1,service2,serviceN...
host1.example.com,ssh,ping,http,https,someservice,someotherservice

Which writes out a config like

-- start --
define host {
  use tmpl_host
  host_name host1.example.com
  alias Some Server
  address 1.1.1.1
  hostgroups foobar
  contact_groups admins
}
define service {
  use tmpl_check_ssh
  service_description SSH Checks
  check_command check_ssh
  host_name host1.example.com
  contact_groups admins
}
 rest of services ...
-- end --

Maybe that would work?

I'm looking at a similar solution to monitor 9,000 or so Blade servers..
fun times!

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 15:15


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:[Nagios-users] Scalable Configuration Strategies?

Hi,

My colleague and I are in the process of giving our bloated,
all-in-one-file Nagios configuration a re-haul. It was getting unwieldy
and error prone searching through the config file to add/modify hosts
and services. So I am emailing the list to get opinions and see what
other people do in their environments.

Initial Idea:
-

We have a multi-department Nagios server, eg. Network Admins, Windows
Admins and Unix Admins all use the same server. Currently every
department has their own file, eg. unix-hosts.cfg, network-elements.cfg,
etc. containing host definitions, hostgroups, service definitions all in
one file.

So we have decided to try out the cfg_dir statement in nagios.cfg as
the basis for our new configuration.  Our initial layout could be:

/etc/nagios - The main config files eg. nagios.cfg, resource.cfg,
contacts.cfg, timeperiods.cfg, template.cfg. These files would only be
editable by the system administrator of the Nagios box.

/etc/nagios/unix-admin - Within here would be the config files for each
department. The directory and the files/dirs therein would be writeable
by the unix-admin group. We are thinking of organising it like:

/etc/nagios/unix-admin/checkcommands.cfg
/etc/nagios/unix-admin/contactgroups.cfg
/etc/nagios/unix-admin/hostgroups.cfg
/etc/nagios/unix-admin/hosts/host1.example.com.cfg
/etc/nagios/unix-admin/hosts/host2.example.com.cfg
/etc/nagios/unix-admin/hosts/host3.example.com.cfg
.

The other departments would have a similar tree structure and
permissions allowing them to modify their configurations.

Potential Issues:
-

The main problem is what to do with common services; do we create
(Option 1) a, for example, ssh.cfg that lists all the hosts (or host
groups) that use SSH? Or (Option 2) do we add the SSH check into each
hosts config file seperately?

Option 1 pro - Easy to add new common service.
Option 1 cons - Must know in advance which services are common so as to
edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config.
Will not always be clear. There are always exceptions.

Option 2 pro - Simple to configure, consistent.
Option 2 cons - Mass adding a service to many hosts will require
scripting or much time.

I am inclined to go with option 2 for simplicity's sake.

Any comments or improvements or just what works for you will be
appreciated!

Thanks,

Fred.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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



This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 


[Nagios-users] Definition of downtime

2006-08-11 Thread Jim Cheetham
I've just installed Nagios (first time re-using it in a year or so) and
a real event occurred; I'm trying to work out the timings.

It looks like the availability report calculates downtime as the time
between the first hard failure and the first success, whereas I'd define
it as the time between the first soft failure that resulted in hard
failure, and first success ... indeed, as this was a router going down,
I'd say that downtime was the time between the first soft failure of the
child service, and the first success of the parent host.

Is this all explained or discussed somewhere?

In more detail; I have an unreliable router in front of a host, and a
number of services on the host. A host service check soft failed at time
t, and was then rechecked repeatedly until a hard failure was imminent
at time t+18. At t+19 the router was checked, and produced a soft
failure, and these repeated until t+38, where a hard failure was
declared for both; router DOWN and host UNREACHABLE. Eventually a check
succeeded at time t+n.

The availability report for these machines now shows outage of (t+38 to
t+n); but in this case I think it should be (t+1 to t+n); or at least
(t+19 to t+n). Can someone help me figure out why Nagios prefers the
more conservative definition?

Related to this, I'd like to know the times of the last successful
tests, but I can't find that for historical events, only for current
ones (I'm on Debian, using the nagios-text package, if that helps).
Where should I be looking; or should I be using a different backend?

-jim

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE check_disk giving incorrect info!

2006-08-11 Thread Jan van der Merwe
Hi!

I have tried with snapshot: nagios-plugins-HEAD-200608092352

What can I tell you, I get a different error instead :D

Here is nagios:

Status Indormation: DISK CRITICAL - free space: /mnt/storage/ftp-storage 0 
MB (0% inode=-9900%):

Performance Data: /mnt/storage/ftp-storage=0MB;;;

Here is the df:

/dev/hdd1241263968 136218652 105045316  57% 
/mnt/storage/ftp-storage

=

The inodes for this drive are also incorrect actually, but the MB amounts 
are correct:

Status Information: DISK OK - free space: / 3270 MB (70% inode=-1000%):
Performance Data: /=1397MB;;;

Any ideas?

Thanks!

Jan,

Can you try the snapshot at http://nagiosplug.sf.net/snapshot. There  have 
been fixes to check_disk so it should be the same output as df.

Ton

On 2 Aug 2006, at 08:58, Jan van der Merwe wrote:

Hi Guys,

I'm using NRPE on a Fedora Core 2 box.

I'm using the following line in /etc/nrpe.cfg to check the disk:

command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c  10 -p
/dev/hdd1

Here is what df -k gives me that disk:

/dev/hdd1241263968 136218652 105045316  57%
/mnt/storage/ftp-storage

But the Nagios Webpage gives me a crazy answer!!!

Status Information: DISK OK - free space: /mnt/storage/ftp-storage
-4126222888188510208 MB (20952869% inode=99%)
Performance Data:
/mnt/storage/ftp- storage=-865395347MB;-452984852;-452984842;98;-452984832

I have many other drives on the same machine and they all work  fine! So, 
I
can't understand what is the specific problem with this one.

Any ideas would be appreciated.

Thanks



-- ---
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


This message has been scanned for viruses by MailController -  
www.MailController.altohiway.com



http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Implementation Plan for Network monitoring project

2006-08-11 Thread Sébastien Barbereau
Hi list,I'm looking to gather some of your experience in implementing your network  system monitoring infrastructure. I'm not interrested in technical bits and parts (I know Nagios in and out now) but more in the general methodology you have been using, project preparation/plans and so on ...
Of course scope of this questions is not purely related to nagios but has a wider spectrum.Thanks for any info,Seb.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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 not populating database table

2006-08-11 Thread Werner Otto








Hi All,



I installed Nagios version 1.3 on my Debian system:




 It installed fine
 and is running fine
 It was installed
 with Nagios-pgsql support
 I made the required
 changes in the resource.cfg and cfi-cfg files to point to my database
 The database is
 being populated but some tables are not
 I granted the Nagios
 user all privileges on all tables
 The problem is that
 it is not writing data to the following tables
 
  Hostdowntime
  Servicedowntime
 
 I had a look in the
 apache error.log, postgresql.log and Nagios.log and cannot see any attempt
 to try and write to these specific tables
 The change log only
 mentions a bug fix in the postgreslq code, but it is not clear 




What is going on?



~Werner










-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] ocsp slows nagios a great deal

2006-08-11 Thread loren jan wilson
dear nagios users,

I'm in the process of trying to set up a distributed nagios
environment monitoring about 9,000 services on 2,500 hosts.
i'm using Sunfire V210 servers running Solaris 10.

i've found that the distributed servers which monitor the active
services can run about 1700 checks every 5 minutes if ocsp isn't
enabled, but once I enable ocsp, the number of active checks I can do
goes WAY down. here's a breakdown:

- ocsp disabled: 1700 checks / 5 min.

- ocsp command set to /bin/true: 1200 checks / 5 min.

- ocsp command set to a perl program that forks, then pipes output to
  send_nsca: 800 checks / 5 min. 

- ocsp command set to a shell program that pipes output to
  send_nsca: 500 checks / 5 min.

What's the deal? I've followed the instructions in the performance
tuning place in the manual, but nothing seems to help much, and I
don't know what else to check. Resources on the machines are not being
fully utilized there's about 30% free cpu at any given time, and
plenty of RAM (only 500 MB used of 2 GB). Any help would be much
appreciated!

Solaris 10 is fully patched with recommended updates from last week.
I'm running Nagios 2.5 and it's configured like this:

--with-perlcache \
--enable-embedded-perl \
--enable-nanosleep \
--with-gd-inc=$GD_INC_PATH \
--with-gd-lib=$GD_LIB_PATH



Thanks, 
Loren


-- 
loren jan wilson
network engineering, uchicago.edu
1155 rm. 327 ; 773/702-8189

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Does anyone on this list actually reply to problems

2006-08-11 Thread Travis Rabe
I have posted my problem in two forums and on this list and I have yet to get an answer. Is this what the Nagios community is always like? Is this poruct that unsupported?-- Regards,Travis Rabe
[EMAIL PROTECTED]
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Does anyone on this list actually reply to problems

2006-08-11 Thread Thomas Sluyter
On 11 Aug, 2006, at 16:41, Travis Rabe wrote:

 I have posted my problem in two forums and on this list and I have  
 yet to
 get an answer.  Is this what the Nagios community is always like?   
 Is this
 poruct that unsupported?

Dude, this is the first e-mail with your name on it that I see  
passing through this mailing list.

Also: it's an open source project with a small development team. Of  
course you can't expect great tech support! Naturally, no  
disrespect to the Dev Team. They're doing what they can :)

As with most open source projects most of the support is community- 
based. Users helping users... If you want real Nagios support, hire  
one of the Nagios consulting agencies.

Regards,


Thomas

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Scalable Configuration Strategies?

2006-08-11 Thread Friedrich Clausen
Hi,

[EMAIL PROTECTED] wrote:
 Good question, good thinking.
 
 I think you are on the right track with the separate files/directories,
 however if you have over 1,000 servers i think there may be other overheads
 involved in parsing 1,000 or more individual files on startup, but that can
 be checked later.

Yeah, that may become an issue but I will run some tests to see how it 
will go. I think when we have 1000 servers/network elements, we will 
have to get another Nagios server as the CPU usage from running all the 
checks is already around 40% (with ~200 hosts and ~650 checks).

 
 I would go for individual host definitions per host including all of the
 services that it runs, that way you can easily script something to write
 out config files per server from a data source such as CSV. For example:
 
 host,servce1,service2,serviceN...
 host1.example.com,ssh,ping,http,https,someservice,someotherservice
snip

We actually tried that idea but there are many exceptions (eg. community 
names, different proc count thresholds, etc) and we had to start putting 
parameters in the text file and it soon looked uglier and harder to edit 
than the current Nagios config. But having it as a CSV and editing it in 
a spreadsheet program might be better...

What I did do was make an add_nagios_host.pl script to quickly add a 
host with common services configured. Then you would edit the config to 
add non-standard checks.

I would like to make the whole config tree added to Subversion and then 
when someone has edited the config they would commit their changes. It 
would introduce an audit trail to figure out who broke what.

 I'm looking at a similar solution to monitor 9,000 or so Blade servers..
 fun times!

Indeed! Good luck!

Fred.

 
 Internet
 [EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 15:15
 
 
 Sent by:[EMAIL PROTECTED]
 
 
 
 To:nagios-users
 
 cc:
 
 
 Subject:[Nagios-users] Scalable Configuration Strategies?
 
 Hi,
 
 My colleague and I are in the process of giving our bloated,
 all-in-one-file Nagios configuration a re-haul. It was getting unwieldy
 and error prone searching through the config file to add/modify hosts
 and services. So I am emailing the list to get opinions and see what
 other people do in their environments.
 
 Initial Idea:
 -
 
 We have a multi-department Nagios server, eg. Network Admins, Windows
 Admins and Unix Admins all use the same server. Currently every
 department has their own file, eg. unix-hosts.cfg, network-elements.cfg,
 etc. containing host definitions, hostgroups, service definitions all in
 one file.
 
 So we have decided to try out the cfg_dir statement in nagios.cfg as
 the basis for our new configuration.  Our initial layout could be:
 
 /etc/nagios - The main config files eg. nagios.cfg, resource.cfg,
 contacts.cfg, timeperiods.cfg, template.cfg. These files would only be
 editable by the system administrator of the Nagios box.
 
 /etc/nagios/unix-admin - Within here would be the config files for each
 department. The directory and the files/dirs therein would be writeable
 by the unix-admin group. We are thinking of organising it like:
 
 /etc/nagios/unix-admin/checkcommands.cfg
 /etc/nagios/unix-admin/contactgroups.cfg
 /etc/nagios/unix-admin/hostgroups.cfg
 /etc/nagios/unix-admin/hosts/host1.example.com.cfg
 /etc/nagios/unix-admin/hosts/host2.example.com.cfg
 /etc/nagios/unix-admin/hosts/host3.example.com.cfg
 .
 
 The other departments would have a similar tree structure and
 permissions allowing them to modify their configurations.
 
 Potential Issues:
 -
 
 The main problem is what to do with common services; do we create
 (Option 1) a, for example, ssh.cfg that lists all the hosts (or host
 groups) that use SSH? Or (Option 2) do we add the SSH check into each
 hosts config file seperately?
 
 Option 1 pro - Easy to add new common service.
 Option 1 cons - Must know in advance which services are common so as to
 edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config.
 Will not always be clear. There are always exceptions.
 
 Option 2 pro - Simple to configure, consistent.
 Option 2 cons - Mass adding a service to many hosts will require
 scripting or much time.
 
 I am inclined to go with option 2 for simplicity's sake.
 
 Any comments or improvements or just what works for you will be
 appreciated!
 
 Thanks,
 
 Fred.
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios 

Re: [Nagios-users] Does anyone on this list actually reply to problems

2006-08-11 Thread rob . moss
I can't see any of your previous postings

Maybe you could re-post your message, and ensure that it details the
problem and maybe paste in relevant output messages and snippets of your
config file.

This is a free product, and to use it you are expected to be able to read
documentation and figure it out for yourself.  This list is here as a means
of community support, where support is given for free by people who also
have full time jobs to do also.




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:41


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] Does anyone on this list actually reply to
   problems

I have posted my problem in two forums and on this list and I have yet to
get an answer.  Is this what the Nagios community is always like?  Is this
poruct that unsupported?

--
Regards,
Travis Rabe
[EMAIL PROTECTED]
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI  AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Does anyone on this list actually reply to problems

2006-08-11 Thread Ben O'Hara
On 8/11/06, Thomas Sluyter [EMAIL PROTECTED] wrote:
 On 11 Aug, 2006, at 16:41, Travis Rabe wrote:

  I have posted my problem in two forums and on this list and I have
  yet
  get an answer.  Is this what the Nagios community is always like?
  Is this
  poruct that unsupported?

 Dude, this is the first e-mail with your name on it that I see
 passing through this mailing list.

Agreed, i cant see any previous mails before this, and the support you
get is actually pretty damn good for an opensource/free product!

Perhaps actually asking a question would of been a good start!


Ben

-- 
A Scientist will earn a living by taking a really difficult problem
and spends many years solving it, an engineer earns a living by
finding really difficult problems and side stepping them

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE Error

2006-08-11 Thread Antonio Pereira








Hello,



I have been trying to get a resolution to this problem for
several days.



I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0
installed. I installed the NSClient++ on the windows 2003 server and changed
the settings in the nsc.ini file. I run the command check_nrpe command from the
command line on the nagios server and I immediately get the error
connection refused by host. 



I tried the following. 

I used my computer as a test. And I was able to run the
command and get a response from my workstation, with the pnsclient and the
check_nt command



I think that it is either a password issue or port issue
that the windows 2003 is refusing the connection.



I also tried the following

I installed the pnsclient on the windows 2003 server and ran
the check_nt and it worked. 



The next question is which one is best to use the NSClient++
or the pNSclient?



Thanks for any insight






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] NRPE Error

2006-08-11 Thread rob . moss
What port have you configured the NSClient++ to work on? Port 5666 or some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from the
command line on the nagios server and I immediately get the error
“connection refused by host”.

I tried the following.
I used my computer as a test. And I was able to run the command and get a
response from my workstation, with the pnsclient and the check_nt command

I think that it is either a password issue or port issue that the windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI  AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE Error

2006-08-11 Thread Antonio Pereira
I have used the default port 5666.

When I try to telnet to that server I get connection refused as well. 

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 


**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI  AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE check_disk giving incorrect info!

2006-08-11 Thread Mike Emigh
The snapshot check_disk plugin has a few functions that remained after the rewrite. I submitted a patch recently to resolve this issue; however, I'm not sure if it has been taken in to consideration or not.If you check the patches portion of sourceforge, you can find the changes which fix this problem.
MikeOn 8/11/06, Jan van der Merwe [EMAIL PROTECTED] wrote:
Hi!I have tried with snapshot: nagios-plugins-HEAD-200608092352What can I tell you, I get a different error instead :DHere is nagios:Status Indormation: DISK CRITICAL - free space: /mnt/storage/ftp-storage 0
MB (0% inode=-9900%):Performance Data: /mnt/storage/ftp-storage=0MB;;;Here is the df:/dev/hdd1241263968 136218652 10504531657%/mnt/storage/ftp-storage=
The inodes for this drive are also incorrect actually, but the MB amountsare correct:Status Information: DISK OK - free space: / 3270 MB (70% inode=-1000%):Performance Data: /=1397MB;;;Any ideas?
Thanks!Jan,Can you try the snapshot at http://nagiosplug.sf.net/snapshot. Therehavebeen fixes to check_disk so it should be the same output as df.
TonOn 2 Aug 2006, at 08:58, Jan van der Merwe wrote:Hi Guys,I'm using NRPE on a Fedora Core 2 box.I'm using the following line in /etc/nrpe.cfg to check the disk:
command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c10 -p/dev/hdd1Here is what df -k gives me that disk:/dev/hdd1241263968 136218652 10504531657%
/mnt/storage/ftp-storageBut the Nagios Webpage gives me a crazy answer!!!Status Information: DISK OK - free space: /mnt/storage/ftp-storage-4126222888188510208 MB (20952869% inode=99%)
Performance Data:/mnt/storage/ftp- storage=-865395347MB;-452984852;-452984842;98;-452984832I have many other drives on the same machine and they all workfine! So,I
can't understand what is the specific problem with this one.Any ideas would be appreciated.Thanks-- ---
Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance toshareyouropinions on IT  business topics through brief surveys -- and earncash
http://www.techsay.com/default.php? page=join.phpp=sourceforgeCID=DEVDEV___Nagios-users mailing list
Nagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS whenreporting any issue.::: Messages without supporting info will risk being sent to /dev/null
This message has been scanned for viruses by MailController -www.MailController.altohiway.com
http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing list
Nagios-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
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] NRPE Error

2006-08-11 Thread rob . moss
Have you checked the config file to make sure it's listening on the right
interface, and port?

You need to restart the service after changes to the config file are made

Also, try this at the cmd prompt to show all open ports

netstat -an





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I have used the default port 5666.

When I try to telnet to that server I get connection refused as well.

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.


**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier

Re: [Nagios-users] Does anyone on this list actually reply to problems

2006-08-11 Thread Morris, Patrick
 I have posted my problem in two forums and on this list and I 
 have yet to get an answer.  Is this what the Nagios community 
 is always like?  Is this poruct that unsupported?

What's the problem?  I've gone through the list archives and don't see
anything from your address, at least this month. 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE Error

2006-08-11 Thread Antonio Pereira
I tried the netstat -an and I do not see any ports open 5666.

I changed the config and set it to the IP address of the NIC card it is
using.

When I try to telnet to that server from my workstation which is a WINXP
Pro station, it still says connection refused.

Any ideas?

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 11, 2006 11:04 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

Have you checked the config file to make sure it's listening on the
right
interface, and port?

You need to restart the service after changes to the config file are
made

Also, try this at the cmd prompt to show all open ports

netstat -an





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I have used the default port 5666.

When I try to telnet to that server I get connection refused as well.

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.


**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority



-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___

[Nagios-users] SNMP?

2006-08-11 Thread Michael Radzicki








Good day all,



 I have been asked to integrate SNMP monitoring into the
Nagios application here at work. I have never worked with SNMP before and was
wondering if anyone can point me to a resource where I can learn about SNMP and
how best to integrate it with Nagios. Thanks.



Mike R






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] NRPE Error

2006-08-11 Thread rob . moss
So there you go.. The problem is that the service isn't listening on the
port! That's why you're getting connection refused.

I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem
with the service.

Check your event log and be a windows admin for a while.. You need that
service started, so it listens on the port (5666 or whatever its configured
to) and then do the netstat -an again and make sure the port is listening




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:22


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I tried the netstat -an and I do not see any ports open 5666.

I changed the config and set it to the IP address of the NIC card it is
using.

When I try to telnet to that server from my workstation which is a WINXP
Pro station, it still says connection refused.

Any ideas?

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 11:04 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

Have you checked the config file to make sure it's listening on the
right
interface, and port?

You need to restart the service after changes to the config file are
made

Also, try this at the cmd prompt to show all open ports

netstat -an





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I have used the default port 5666.

When I try to telnet to that server I get connection refused as well.

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.


**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised
by CECEI  AMF and is regulated by the Financial 

[Nagios-users] How do I set the notification period?

2006-08-11 Thread Ben Rosenberg
I'm interested in setting hosts.cfg notification_period so that it will not check a certain host during a specified period ..such as 3:00AM - 3:30AM. I have a backup running on a certain machine and so Nagios times out and pages me. The machine is just super busy at this time and is not actually down.
I've looked around for the parameters to do this but as of yet have had no luck in find it. I find that it's possible.. just not having luck finding the settings/syntax for doing so.- Ben Rosenberg
-- Faith is the truth of passion. Since no passion is more true than another, faith is the truth of nothing.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] SNMP?

2006-08-11 Thread Friedrich Clausen
Hi,

Michael Radzicki wrote:

   I have been asked to integrate SNMP monitoring into the Nagios 
 application here at work. I have never worked with SNMP before and was 
 wondering if anyone can point me to a resource where I can learn about 
 SNMP and how best to integrate it with Nagios. Thanks.

I would recommend this book:

http://www.oreilly.com/catalog/esnmp2/index.html

This book helped me get started, with SNMP it is important to know how 
everything fits together. It can seem a bit complex at first but I find 
its flexibility very useful. You can then also use only one agent per 
machine for monitoring and statistics gathering, for example.

Fred.

 
  
 
 Mike R
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] How do I set the notification period?

2006-08-11 Thread Jim Richardson
On 8/11/06, Ben Rosenberg [EMAIL PROTECTED] wrote:
I'm interested in setting hosts.cfg notification_period so that it will not check a certain host during a specified period ..such as 3:00AM - 3:30AM. I have a backup running on a certain machine and so Nagios times out and pages me. The machine is just super busy at this time and is not actually down.
I've looked around for the parameters to do this but as of yet have had no luck in find it. I find that it's possible.. just not having luck finding the settings/syntax for doing so.- Ben Rosenberg
Create a custome timeperiod entry, and use that. Egdefine timeperiod{ timeperiod_name off-hours alias Odd hours monday 00:00-06:59
 monday 17:01-24:00 tuesday 00:00-06:59 tuesday 17:01-24:00 }Then use the timeperiod in the host and service checks for that machine, another possibliity would be to put the box into downtime, but I don't know how to do that on a recurring basis. 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] stange symbols in notifications

2006-08-11 Thread Hari Sekhon
Here is an example

CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2


Why does it seem to be mangled? Is this a character set issue or a local issue 
or something?

Hari



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] stange symbols in notifications

2006-08-11 Thread Hari Sekhon
Hari Sekhon wrote:
 Here is an example

 CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2


 Why does it seem to be mangled? Is this a character set issue or a local 
 issue or something?

 Hari



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 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

   
also, the web interface shows this normally:

CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2

but the email alerts always come out as

CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2


I have got quite a lot of these notifications (which is good) but they 
are always mangled in the same way (which is bad).

It's not that terrible cos I still know what's going on but this 
shouldn't happen, and I'd like to resolve it.

Hari

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] SNMP?

2006-08-11 Thread Colby Williams
OK, the Cisco devices will be easy.1. Figure out if they allow SNMP monitoring (READ ONLY). That should be easy, I am sure they allow SNMP monitoring. I would set them up so that they only can recieve SNMP read request from your Nagios Box. 
EXAMPLE, in our devices, I had to activate SNMP, add the IP of the Nagios box and the comminuty string. With that said you will have to come up with a community string that the devices and the Nagios box will share. Default is 'Public', CHANGE THAT!!! easy to get compromised, everyone knows that.
2. Download SNMPing http://www.sans.org/alerts/snmp/. it's on the SANS website, it's safe.3. With SNMPing you have to use the device IP and the community string. Click Scan and hopefully your device will respond. If no response, there are a few things that might be stopping the check: Network routes, firewall rules, or the device is not setup properly.
Once you over come that we can can move on.Hit me back. If you want to continue.ColbyOn 8/11/06, Michael Radzicki 
[EMAIL PROTECTED] wrote:















Hi. Thanks for the reply. I have been
asked to monitor some CISCO routers and switches, in addition to monitoring disk
space, CPU, processes, etc. on remote systems. Currently I am using nrpe to do
the resource monitoring on the remote servers, but I have been asked to switch
to SNMP.









From: Colby Williams
[mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 11, 2006
11:28 AM
To: Michael Radzicki
Cc:
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] SNMP?





To start you should
research comminuty strings and MIBs. I actually enjoy using SNMP for
monitoring. what type of devices are trying to monitor?

Colby



On 8/11/06, Michael
Radzicki [EMAIL PROTECTED]
wrote:







Good
day all,




I have been asked to integrate SNMP monitoring into the Nagios application here
at work. I have never worked with SNMP before and was wondering if anyone can
point me to a resource where I can learn about SNMP and how best to integrate
it with Nagios. Thanks.



Mike
R








-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier 
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642


___
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












-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Does anyone on this list actually reply toproblems

2006-08-11 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Morris, Patrick
 Sent: Friday, August 11, 2006 10:07 AM
 To: Travis Rabe; Nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Does anyone on this list actually reply
 toproblems
 
  I have posted my problem in two forums and on this list and I
  have yet to get an answer.  Is this what the Nagios community
  is always like?  Is this poruct that unsupported?

My criteria --

- Enough useful information is provided to answer the question
or make a good guess
- The poster appears to have done _some_ research on their own.
- Succinct answers are possible. I don't have time to write
novelistic answers.
- I'm familiar with the problem or can make educated guesses
about it.
- I have the time (in short supply lately). I almost always
verify the solution before responding.
- Problems that are interesting to me may override the above. 

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] NRPE Error

2006-08-11 Thread Antonio Pereira
Well I have gone in as a windows admin... and determined the following

I see no errors in the event log. The service starts properly. I have
even tried several different types of ports and still getting
connection refused by host It seems like it is not reading the port
number. 

I installed the pnsclient and it works using port 1248. I uninstalled
the pnsclient and even tried to get nrpe to use the same port still no
lick.

Any ideas?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 11, 2006 11:32 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

So there you go.. The problem is that the service isn't listening on the
port! That's why you're getting connection refused.

I'm not sure if NSClient+++ uses port 5666, but either way, it's a
problem
with the service.

Check your event log and be a windows admin for a while.. You need that
service started, so it listens on the port (5666 or whatever its
configured
to) and then do the netstat -an again and make sure the port is
listening




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:22


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I tried the netstat -an and I do not see any ports open 5666.

I changed the config and set it to the IP address of the NIC card it is
using.

When I try to telnet to that server from my workstation which is a WINXP
Pro station, it still says connection refused.

Any ideas?

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 11:04 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

Have you checked the config file to make sure it's listening on the
right
interface, and port?

You need to restart the service after changes to the config file are
made

Also, try this at the cmd prompt to show all open ports

netstat -an





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I have used the default port 5666.

When I try to telnet to that server I get connection refused as well.

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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


This message and any attachments (the message) is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its 

Re: [Nagios-users] NRPE Error

2006-08-11 Thread Antonio Pereira
Well I have found the problem.

The version of NRPE NSClient++-0.2.5i2 does not seem to work on the
system. 

I tried the version NSClient++-0.2.5h2 and this one worked. 

Odd no error messages nothing but it just would not bind to the port
5666. Now I look in the ports and I see the 5666 being used by
NSClient++


Thanks for all your help

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antonio
Pereira
Sent: Friday, August 11, 2006 1:08 PM
To: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

Well I have gone in as a windows admin... and determined the following

I see no errors in the event log. The service starts properly. I have
even tried several different types of ports and still getting
connection refused by host It seems like it is not reading the port
number. 

I installed the pnsclient and it works using port 1248. I uninstalled
the pnsclient and even tried to get nrpe to use the same port still no
lick.

Any ideas?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 11, 2006 11:32 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

So there you go.. The problem is that the service isn't listening on the
port! That's why you're getting connection refused.

I'm not sure if NSClient+++ uses port 5666, but either way, it's a
problem
with the service.

Check your event log and be a windows admin for a while.. You need that
service started, so it listens on the port (5666 or whatever its
configured
to) and then do the netstat -an again and make sure the port is
listening




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:22


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I tried the netstat -an and I do not see any ports open 5666.

I changed the config and set it to the IP address of the NIC card it is
using.

When I try to telnet to that server from my workstation which is a WINXP
Pro station, it still says connection refused.

Any ideas?

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 11:04 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

Have you checked the config file to make sure it's listening on the
right
interface, and port?

You need to restart the service after changes to the config file are
made

Also, try this at the cmd prompt to show all open ports

netstat -an





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 16:01


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:Re: [Nagios-users] NRPE Error

I have used the default port 5666.

When I try to telnet to that server I get connection refused as well.

I have checked the service and it is running.

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 11, 2006 10:54 AM
To: Antonio Pereira
Cc: Nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] NRPE Error

What port have you configured the NSClient++ to work on? Port 5666 or
some
other port?

I use nrpe_nt for windows

What happens when you telnet to that port on that server? connection
refused?

Have you checked the service has started on the windows server?

There are no passwords with the NRPE protocol, and if there were, you
wouldn't be getting a Connection Refused message, you would have had a
user/password prompt

Cheers




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 11/08/2006 15:54


Sent by:[EMAIL PROTECTED]



To:Nagios-users

cc:


Subject:[Nagios-users] NRPE Error

Hello,

I have been trying to get a resolution to this problem for several days.

I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I
installed the NSClient++ on the windows 2003 server and changed the
settings in the nsc.ini file. I run the command check_nrpe command from
the
command line on the nagios server and I immediately get the error
connection refused by host.

I tried the following.
I used my computer as a test. And I was able to run the command and get
a
response from my workstation, with the pnsclient and the check_nt
command

I think that it is either a password issue or port issue that the
windows
2003 is refusing the connection.

I also tried the following
I installed the pnsclient on the windows 2003 server and ran the
check_nt
and it worked.

The next question is which one is best to use the NSClient++ or the
pNSclient?

Thanks for any insight

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo

[Nagios-users] Nagios process not running? It is running!

2006-08-11 Thread Hari Sekhon




I have been operating Nagios and most of it's features to monitor 70
services for quite some time successfully but something that I want to
fix now is a tiny thing in the top of the screen which says:

Current Network Status
Last Updated: Fri Aug 11 18:42:22 BST 2006
Updated every 90 seconds
Nagios - www.nagios.org
Logged in as nagiosadmin
Warning: Monitoring process may not
be running!
Click here
for more info.

The Nagios process is running and it's showing the following details
when clicking the link "here"


  

  
  Process Information
  

  


  

  Program Start Time:
  11-08-2006 18:40:29


  Total Running Time:
  0d 0h 3m 11s


  Last External Command Check:
  11-08-2006 18:43:30


  Last Log File Rotation:
  N/A


  Nagios PID
  5396


  Notifications Enabled?
  
  YES
  


  Service Checks Being Executed?
  
  YES
  


  Passive Service Checks Being
Accepted?
  
  YES
  


  Event Handlers Enabled?
  Yes


  Obsessing Over Services?
  No


  Flap Detection Enabled?
  No


  Performance Data Being Processed?
  No

  


  

  
  
  
  Process Commands
  

  

It appears as
though Nagios is not running, so commands are temporarily
unavailable...


  

  
  

  

Process Status Information

  

  Process Status:
  
  UNKNOWN
  


  Check Command Output:
  Nagios check command did not return any
output

  




The nagios check command is definitely running and the check_command is
defined as follows in the cgi.cfg:

nagios_check_command=/usr/nagios/libexec/check_nagios
/var/nagios/status.log 5 /usr/nagios/bin/nagios


I've run this from the command line as both root and the nagios user
which the process runs under. The result is positive as follows:

Nagios ok: located 1 process, status log updated 11 seconds ago


So why doesn't Nagios think it works? Using I/O redirection I've
isolated that it is indeed printed to stdout so this should just work.
It shouldn't be complaining about "Nagios check command did not return
any output".

ll /var/nagios/
total 72
drwxrwxr-x 2 nagios apache 4096 Aug 11 00:00 archives/
-rw-rw-r-- 1 nagios nagios 0 Aug 11 18:40 comment.log
-rw-rw-r-- 1 nagios nagios 0 Aug 11 18:40 downtime.log
-rw-r--r-- 1 root root 5 Aug 11 18:40 nagios.lock
-rw-rw-r-- 1 nagios nagios 24430 Aug 11 18:53 nagios.log
drwxrws--- 2 nagios apache 4096 Aug 11 18:40 rw/
-rw-rw-r-- 1 nagios nagios 18044 Aug 11 18:54 status.log
-rw-r--r-- 1 nagios nagios 13602 Aug 11 18:40 status.sav



Although this is in the FAQ, it simply says make sure the check_command
is done is cgi.cfg which isn't helpful to me in this situation since I
know the command is in there and it's paths are correct.


Anybody got any ideas on this?





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
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] Help rephrasing my question

2006-08-11 Thread Brian McKee
Hi All

  I posted a query on this list a week ago which no-one responded to.
https://sourceforge.net/mailarchive/forum.php?thread_id=29500609forum_id=1873

  That was  a rephrased form of a question I asked a few weeks earlier than that
https://sourceforge.net/mailarchive/forum.php?thread_id=25535673forum_id=1873

I'd appreciate if anyone has a minute to review those questions and
suggest how I might
either determine a resolution on my own, or rephase the issue such
that someone here can contribute a solution.

I did think at the time that I provided enough information, and I have
attempted to resolve the issue on my own.I have read (among other
documents) 
http://www.nagios.org/faqs/viewfaq.php?faq_id=14expand=falseshowdesc=false
and believe I understand it.

Responses off list or on as you feel appropriate.

Thank you
Brian

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Solved! (Re: No e-mail notifications with new 2.5 install on Debian Etch)

2006-08-11 Thread Samuel P Howard
OK, I've gotten no response, but I have done some more digging in the 
meantime ... here's what I've found:

I changed the notify-by-email to this:

/usr/bin/mutt -s test [EMAIL PROTECTED] /dev/null 21 | tee 
-a /tmp/notice.log

And checked /tmp/notice.log:

/root/sent: Permission denied (errno = 13)
/root/sent: Permission denied (errno = 13)
Could not send the message.

AH HA!

So, digging more ...

# ps -ef e | grep nagios

nagios   20979 1  0 12:14 ?Ssl0:00
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
SHELL=/bin/bash TERM=xterm SSH_CLIENT=x 2139 22
SSH_TTY=/dev/pts/0 USER=root
SSH_AUTH_SOCK=/tmp/ssh-WGnUfb1218/agent.1218

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
MAIL=/var/mail/root PWD=/usr/local/nagios/etc HOME=/root SHLVL=2
LOGNAME=root SSH_CONNECTION= 2139 xxx 22
_=/usr/local/nagios/bin/nagios

Ummm...wait ... if this is running as user nagios, why the heck is the 
HOME=/root, LOGNAME=root, etc?  And we dig deeper.

I see in /etc/init.d/nagios (created by the installer) that it does a 
su - nagios to touch (create) a log file and another file it needs, 
but then it calls the nagios binary directly as root.  I see in 
.../base/utils.c, the binary does a setuid(), but doesn't do anything to 
reset the environment, so it is just inheriting it from the calling user 
(in this case root).

So, why are other people not having problems with notifications if their 
nagios daemon is running with root's environment?  I am guessing it is 
because I am using mutt and not mail/mailx to do the notifications, and 
mutt is trying to save the outgoing e-mail (which would be bad anyway).

There are three obvious solutions for this:

1 - switch to mailx (in my case, apt-get install mailx, replace mutt 
with 'mailx in the notify-by-email commands).
2 - add set copy=no to /etc/Muttrc to disable the e-mail copy 
feature.  I couldn't find a way to do it via the command line, and I 
*could* have put it in /root/.muttrc, except the nagios user won't be 
able to read the file, and therefore won't pick up the configuration.  
WARNING: This option affects all users systemwide, unless they 
re-override it in *their* ~/.muttrc.  In my case, there are really no 
users on this box, just apps and services, so it's OK for me.
3 - create a muttrc somewhere that nagios can reach (i.e. 
/usr/local/nagios/etc/muttrc) and add -F /usr/local/nagios/etc/muttrc 
to the mutt command in the notify-by-email command

I have done 1 and 3, actually.  I installed mail/mailx just because 
other apps might just assume it's there (why it wasn't originally, I'm 
not sure), and I created the /usr/local/nagios/etc/Muttrc, too.

So, why do I prefer mutt over mailx for sending mail?  Basically, just 
because I like mutt's ability to easily attach files as attachments 
without having to manually deal with uuencode and friends.

OK, with this data dump, I am back on the air and back to working on a 
strategy to configure my nagios server to monitor everything else in the 
world.  I've very interested in watching the thread by Fred Clausen develop!

Thanks,
Sam

Samuel P Howard wrote:
 Hi.

 I noticed a recent thread by Marcos Marinho having what sounds like a 
 similar problem, but no solution yet ...

 I have just built from source and installed Nagios 2.5 on a Debian Etch 
 (testing) server, and when I cause a fault, the nagios.log shows it 
 triggers the notification-by-email, but yet the /var/log/mail.info does 
 not show postfix firing up to send the mail out.

 I did notice that the command setup in minimal.cfg (what I am playing 
 with now, the other command files are disabled) did not put in a mail 
 client, as I did not have one installed.  I installed mutt, and added it 
 to the command line after the | and before the -s, and also redirected 
 the output of the command to a text file and (spacing aside), it looked 
 OK.  I'm not sure if the spacing should have been compressed or not, so 
 that is a good question.

 Running the command manually as root or as nagios, I do get an e-mail 
 (as long as I manually replace the $CONTACTEMAIL$ to a real email 
 address ... obviously, none of the other variables get expanded, but the 
 mail does flow.

 Is there some way to turn on additional debugging to see if the nagios 
 daemon is failing on the command somewhere???

 Notificiations are enabled, etc, etc.

 I have some experience with Nagios as far back as the NetSaint days, but 
 haven't been able to play with it for a few years, and now have the 
 opportunity again.  It looks like it's progressed nicely!

 Now, if I could get my may email notifications going, I could dig back 
 in and try to figure out the best way to build configuration files and 
 all of that good stuff!

 Thanks!
 Sam

 -
 Using Tomcat but need to do more? Need to 

Re: [Nagios-users] stange symbols in notifications

2006-08-11 Thread Hugo van der Kooij
On Fri, 11 Aug 2006, Hari Sekhon wrote:

 Hari Sekhon wrote:
  Here is an example
 
  CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2
 
 
  Why does it seem to be mangled? Is this a character set issue or a local 
  issue or something?

 also, the web interface shows this normally:

 CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2

 but the email alerts always come out as

 CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2

Which makes sense if you read the printf() documentation. You are using a
character which has a special meaning in string handling environments.
Just get rid of those backslashes or escape them properly.

 It's not that terrible cos I still know what's going on but this
 shouldn't happen, and I'd like to resolve it.

You got exactly what you ordered.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 rephrasing my question

2006-08-11 Thread Hugo van der Kooij
On Fri, 11 Aug 2006, Brian McKee wrote:

   I posted a query on this list a week ago which no-one responded to.
 https://sourceforge.net/mailarchive/forum.php?thread_id=29500609forum_id=1873

   That was  a rephrased form of a question I asked a few weeks earlier than 
 that
 https://sourceforge.net/mailarchive/forum.php?thread_id=25535673forum_id=1873

 I'd appreciate if anyone has a minute to review those questions and
 suggest how I might
 either determine a resolution on my own, or rephase the issue such
 that someone here can contribute a solution.

The issue might be that no one else has seen it or no one else has a real
clue what to tell or no one wants to spend time on it or .

I think Marc's rules of thumb about answering applies here as pretty well.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 rephrasing my question

2006-08-11 Thread Morris, Patrick
   I posted a query on this list a week ago which no-one responded to.
 https://sourceforge.net/mailarchive/forum.php?thread_id=295006
 09forum_id=1873
 
   That was  a rephrased form of a question I asked a few 
 weeks earlier than that
 https://sourceforge.net/mailarchive/forum.php?thread_id=255356
 73forum_id=1873
 
 I'd appreciate if anyone has a minute to review those 
 questions and suggest how I might either determine a 
 resolution on my own, or rephase the issue such that someone 
 here can contribute a solution.
 
 I did think at the time that I provided enough information, and I have
 attempted to resolve the issue on my own.I have read (among other
 documents) 
 http://www.nagios.org/faqs/viewfaq.php?faq_id=14expand=false;
 showdesc=false
 and believe I understand it.
 
 Responses off list or on as you feel appropriate.

So, just to keep anyone reading this on the same page, the question
seems to be something like why does a host state not change from down
to unreachable when a parent node later goes down?

I'm not sure I can anwer it, other than to give reasons why I think it
works the way it does.  When a host goes down, its parent nodes are
checked.  If they're OK, the host is marked down until it comes back up.
If not, it's marked unreachable until the parent node comes back up.

I would guess the behavior you're seeing is because Nagios is waiting
for the host to come up, and it's not taking *every* state change into
account.  This may be a bug, and it may be a feature, but it's
apparently the way it works based on your observations (which I haven't
attempted to verify).

If that's the case, and nobody here has been able to give you a helpful
response, maybe it's something to bring up on the nagios-devel list as a
bug or feature request.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 rephrasing my question

2006-08-11 Thread Tedman Eng
I would guess that it's possibly related to state changes.  I think the
classification of down vs. unreachable only happens upon state changes.
States can be OK (up) or non-OK (down or unreachable)

The child host (down) is in a non-OK state.  When its parent goes into
non-OK (down) , the child was already non-OK (down), therefore doesn't
reclassify to a different non-OK (unreachable).

I would agreee that it seems more logical to that only the topmost branch
during an outage should be considered Down, and all child nodes to be
considered Unreachable.


 -Original Message-
 From: Morris, Patrick [mailto:[EMAIL PROTECTED]
 Sent: Friday, August 11, 2006 4:33 PM
 To: Brian McKee; Nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Help rephrasing my question
 
 
I posted a query on this list a week ago which no-one 
 responded to.
  https://sourceforge.net/mailarchive/forum.php?thread_id=295006
  09forum_id=1873
  
That was  a rephrased form of a question I asked a few 
  weeks earlier than that
  https://sourceforge.net/mailarchive/forum.php?thread_id=255356
  73forum_id=1873
  
  I'd appreciate if anyone has a minute to review those 
  questions and suggest how I might either determine a 
  resolution on my own, or rephase the issue such that someone 
  here can contribute a solution.
  
  I did think at the time that I provided enough information, 
 and I have
  attempted to resolve the issue on my own.I have read 
 (among other
  documents) 
  http://www.nagios.org/faqs/viewfaq.php?faq_id=14expand=false;
  showdesc=false
  and believe I understand it.
  
  Responses off list or on as you feel appropriate.
 
 So, just to keep anyone reading this on the same page, the question
 seems to be something like why does a host state not change from down
 to unreachable when a parent node later goes down?
 
 I'm not sure I can anwer it, other than to give reasons why I think it
 works the way it does.  When a host goes down, its parent nodes are
 checked.  If they're OK, the host is marked down until it 
 comes back up.
 If not, it's marked unreachable until the parent node comes back up.
 
 I would guess the behavior you're seeing is because Nagios is waiting
 for the host to come up, and it's not taking *every* state change into
 account.  This may be a bug, and it may be a feature, but it's
 apparently the way it works based on your observations (which 
 I haven't
 attempted to verify).
 
 If that's the case, and nobody here has been able to give you 
 a helpful
 response, maybe it's something to bring up on the 
 nagios-devel list as a
 bug or feature request.
 
 
 --
 ---
 Using Tomcat but need to do more? Need to support web 
 services, security?
 Get stuff done quickly with pre-integrated technology to make 
 your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on 
 Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057;
dat=121642
___
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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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] Scalable Configuration Strategies?

2006-08-11 Thread Russell Adams
Check out NACE, you can keep your host data in whatever you want, and
have it generate your configurations.

Russell

On Fri, Aug 11, 2006 at 04:48:12PM +0200, Friedrich Clausen wrote:
 Hi,
 
 [EMAIL PROTECTED] wrote:
  Good question, good thinking.
  
  I think you are on the right track with the separate files/directories,
  however if you have over 1,000 servers i think there may be other overheads
  involved in parsing 1,000 or more individual files on startup, but that can
  be checked later.
 
 Yeah, that may become an issue but I will run some tests to see how it 
 will go. I think when we have 1000 servers/network elements, we will 
 have to get another Nagios server as the CPU usage from running all the 
 checks is already around 40% (with ~200 hosts and ~650 checks).
 
  
  I would go for individual host definitions per host including all of the
  services that it runs, that way you can easily script something to write
  out config files per server from a data source such as CSV. For example:
  
  host,servce1,service2,serviceN...
  host1.example.com,ssh,ping,http,https,someservice,someotherservice
 snip
 
 We actually tried that idea but there are many exceptions (eg. community 
 names, different proc count thresholds, etc) and we had to start putting 
 parameters in the text file and it soon looked uglier and harder to edit 
 than the current Nagios config. But having it as a CSV and editing it in 
 a spreadsheet program might be better...
 
 What I did do was make an add_nagios_host.pl script to quickly add a 
 host with common services configured. Then you would edit the config to 
 add non-standard checks.
 
 I would like to make the whole config tree added to Subversion and then 
 when someone has edited the config they would commit their changes. It 
 would introduce an audit trail to figure out who broke what.
 
  I'm looking at a similar solution to monitor 9,000 or so Blade servers..
  fun times!
 
 Indeed! Good luck!
 
 Fred.
 
  
  Internet
  [EMAIL PROTECTED]@lists.sourceforge.net - 10/08/2006 15:15
  
  
  Sent by:[EMAIL PROTECTED]
  
  
  
  To:nagios-users
  
  cc:
  
  
  Subject:[Nagios-users] Scalable Configuration Strategies?
  
  Hi,
  
  My colleague and I are in the process of giving our bloated,
  all-in-one-file Nagios configuration a re-haul. It was getting unwieldy
  and error prone searching through the config file to add/modify hosts
  and services. So I am emailing the list to get opinions and see what
  other people do in their environments.
  
  Initial Idea:
  -
  
  We have a multi-department Nagios server, eg. Network Admins, Windows
  Admins and Unix Admins all use the same server. Currently every
  department has their own file, eg. unix-hosts.cfg, network-elements.cfg,
  etc. containing host definitions, hostgroups, service definitions all in
  one file.
  
  So we have decided to try out the cfg_dir statement in nagios.cfg as
  the basis for our new configuration.  Our initial layout could be:
  
  /etc/nagios - The main config files eg. nagios.cfg, resource.cfg,
  contacts.cfg, timeperiods.cfg, template.cfg. These files would only be
  editable by the system administrator of the Nagios box.
  
  /etc/nagios/unix-admin - Within here would be the config files for each
  department. The directory and the files/dirs therein would be writeable
  by the unix-admin group. We are thinking of organising it like:
  
  /etc/nagios/unix-admin/checkcommands.cfg
  /etc/nagios/unix-admin/contactgroups.cfg
  /etc/nagios/unix-admin/hostgroups.cfg
  /etc/nagios/unix-admin/hosts/host1.example.com.cfg
  /etc/nagios/unix-admin/hosts/host2.example.com.cfg
  /etc/nagios/unix-admin/hosts/host3.example.com.cfg
  .
  
  The other departments would have a similar tree structure and
  permissions allowing them to modify their configurations.
  
  Potential Issues:
  -
  
  The main problem is what to do with common services; do we create
  (Option 1) a, for example, ssh.cfg that lists all the hosts (or host
  groups) that use SSH? Or (Option 2) do we add the SSH check into each
  hosts config file seperately?
  
  Option 1 pro - Easy to add new common service.
  Option 1 cons - Must know in advance which services are common so as to
  edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config.
  Will not always be clear. There are always exceptions.
  
  Option 2 pro - Simple to configure, consistent.
  Option 2 cons - Mass adding a service to many hosts will require
  scripting or much time.
  
  I am inclined to go with option 2 for simplicity's sake.
  
  Any comments or improvements or just what works for you will be
  appreciated!
  
  Thanks,
  
  Fred.
  
  
  
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere 

[Nagios-users] Rob Ford is out of the office.

2006-08-11 Thread Rob Ford
I will be out of the office starting  10/08/2006 and will not return until
14/08/2006.

I will respond to your message when I return.



***
This e-mail and attachments are intended for the above name only and may be 
confidential. If they have come to you in error, you must take no action based 
on them, nor must copy or show them to anyone; please reply to this e-mail and 
report the error.
Security warning: Please note that this e-mail has been created in the 
knowledge that the internet is not a one hundred percent secure communication 
medium. We advise that you understand and observe this lack of security when 
e-mailing us.
Virus: Although we have taken steps to ensure that this e-mail and attachments 
are free from any virus, we advise that in keeping with good practice the 
recipient should ensure they are actually virus free.  If you have received 
this e-mail in error please notify:
[EMAIL PROTECTED]



This message has been scanned for viruses by MailControl - www.mailcontrol.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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 rephrasing my question

2006-08-11 Thread Marc Powell
I agree that the parent(s) are only checked when the child changes
state. This is scalable but it does leave open this edge case. Walking
the dependency tree of a host for every check to verify that nothing
above has changed isn't elegant and having a parent's state directly
affect all its children by propagating downward sounds good but could
lead to lots of extra checks in complex, multi-parent setups. Those
checks are not parallelized at this point so you're affecting normal
operation. I'm not sure I'd consider it a bug but you might want to run
it by nagios-devel to get Ethan's opinion. 

--
Marc

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Tedman Eng
 Sent: Friday, August 11, 2006 6:56 PM
 To: 'Morris, Patrick'; Brian McKee; Nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Help rephrasing my question
 
 I would guess that it's possibly related to state changes.  I think
the
 classification of down vs. unreachable only happens upon state
changes.
 States can be OK (up) or non-OK (down or unreachable)
 
 The child host (down) is in a non-OK state.  When its parent goes into
 non-OK (down) , the child was already non-OK (down), therefore doesn't
 reclassify to a different non-OK (unreachable).
 
 I would agreee that it seems more logical to that only the topmost
branch
 during an outage should be considered Down, and all child nodes to be
 considered Unreachable.
 
 
  -Original Message-
  From: Morris, Patrick [mailto:[EMAIL PROTECTED]
  Sent: Friday, August 11, 2006 4:33 PM
  To: Brian McKee; Nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] Help rephrasing my question
 
 
 I posted a query on this list a week ago which no-one
  responded to.
   https://sourceforge.net/mailarchive/forum.php?thread_id=295006
   09forum_id=1873
  
 That was  a rephrased form of a question I asked a few
   weeks earlier than that
   https://sourceforge.net/mailarchive/forum.php?thread_id=255356
   73forum_id=1873
  
   I'd appreciate if anyone has a minute to review those
   questions and suggest how I might either determine a
   resolution on my own, or rephase the issue such that someone
   here can contribute a solution.
  bug or feature request.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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