Re: [Nagios-users-br] Usando NSCA

2010-03-22 Thread Jose Oliveira
Colega

O NSCA é diferente do NRPE. Poriso temos os dois. O NSCA não executa
plugin, como o NRPE.

Vou tentar explicar:
O NRPE é utilziado para que o Nagios faça execuções remotas de plugins
e receba, de maneira síncrona, os resultados dos plugins executados.

O NSCA é utilizado para uma monitoração assíncrona, tal como seria um
trap snmp. Mais ou menos assim: Voce escreve uma rotina qualquer de
monitoração e, quando esta rotina detectar um problema, ela informa ao
Nagios via NSCA e problema. O serviço deve ser criado no Nagios para
nunca executar (modo passivo).

[]s


Em 19 de março de 2010 15:49, Elton Soares el...@linconet.com.br escreveu:
 Boa noite para todos,

 Esse é o meu primeiro post na lista, por isso me perdoem por qualquer erro.

 Bom, já faz algum tempo que uso monitoramento ativo usando NRPE em
 máquinas Windows, mas agora surgiu a necessidade da empresa onde
 trabalho de monitorar filiais que não tem IP real, então utilizam IP
 NAT, por isso não há como estabelecer uma conexão com o NRPE. Pelo que
 pesquisei, a única solução seria utilizar o monitoramento passivo com
 NSCA, mas tentei usá-lo e estou tendo algumas dificuldades como:

 1 - Um agente NSCA para Windows que trabalhe de forma simples, como por
 exemplo o próprio NSclient++, mas não estou conseguindo configurar
 corretamente ele só para trabalhar com NSCA. Se alguém puder me dar uma
 dica, ou documentação que possa me ajudar, será de grande ajuda.

 2 - Eu estava utilizando um plugin usando o NRPE no Windows, feito em
 python, que executava um ping para 3 hosts distintos, e me retornava o
 valor da latência dos 3, então na configuração do NRPE eu só precisava
 configurar os valores de warning e critical com base nesses valores, mas
 com NSCA gostaria de saber se é possível usar esse plugin, pois a
 configuração dele no NRPE era muito simples:
 command[pinglatency]=/caminho_do_plugin host1 host2 host3 -w valor1 -c
 valor2

 3 - Gostaria de saber se é possível utilizar os plugins que são
 desenvolvidos para serem utilizados no Windows com NRPE, usando agora NSCA.

 Desde já agradeço qualquer ajuda,

 Elton Soares.

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki




-- 
Abraços
JGeraldo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] ndomod: Error writing to data sink! Some output may get lost.

2010-03-22 Thread Witchaphon S.

Dear Sirs,

I have problem with NDOUtils that got below error after restart Nagios service
 ndomod: Error writing to data sink!  Some output may get lost.


###
##Background Information###
###

I installed

OS :  FreeBSD 8.0
App : nagios-3.2.0_1  (by Port)
  ndoutils-1.4b9 (by source)
  mysql-server-5.0.89 (by Port)

###
##ndo2db.cfg##
###
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/var/spool/nagios/ndo.sock
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=
db_pass=
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
debug_level=-1
debug_verbosity=2
debug_file=/var/spool/nagios/ndo2db.debug
max_debug_file_size=100

###
##ndomod.cfg##
###

instance_name=default
output_type=unixsocket
output=/var/spool/nagios/ndo.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/var/spool/nagios/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=2

###
##nagios.cfg###
###
Compiled Nagios with support for the event broker

event_broker_options=-1
broker_module=/usr/local/bin/ndomod.o 
config_file=/usr/local/etc/nagios/ndomod.cfg


##Permissions##


#ls -alh /usr/local/bin | grep ndo
-r-xr-xr-x   1 root  wheel99K Feb 12 15:13 ndo2db
-r-xr-xr-x   1 root  wheel99K Feb 12 15:13 ndo2db-3x
-r-xr-xr-x   1 root  wheel63K Feb 12 15:13 ndomod-3x.o
-r-xr-xr-x   1 root  wheel63K Feb 12 15:13 ndomod.o

#
##Start ndo2db##
#

#/usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg
# ps -aux | grep ndo2db
nagios 26488  0.0  0.1  3940  1596  ??  Ss   11:49AM   0:00.03 
/usr/local/bin/ndo2db -c /usr/local/etc/nagios/ndo2db.cfg
root   26988  0.0  0.1  3492  1076   0  S+   12:06PM   0:00.00 grep ndo2db

#
##After restart Nagios##
#

# /usr/local/etc/rc.d/nagios restart  tail -f /var/spool/nagios/nagios.log
Performing sanity check of nagios configuration: OK
nagios not running? (check /var/spool/nagios/nagios.lock).
Performing sanity check of nagios configuration: OK
Starting nagios.
[1269234211] LOG VERSION: 2.0
[1269234211] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core 
Development Team and Community Contributors
[1269234211] ndomod: Successfully connected to data sink.  177 queued items to 
flush.
[1269234214] Nagios 3.2.0 starting... (PID=26958)
[1269234214] Local time is Mon Mar 22 12:03:34 ICT 2010
[1269234214] LOG VERSION: 2.0
[1269234214] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright (c) 2009 Nagios Core 
Development Team and Community Contributors
[1269234214] ndomod: Successfully connected to data sink.  0 queued items to 
flush.
[1269234214] Event broker module '/usr/local/bin/ndomod.o' initialized 
successfully.
[1269234214] Finished daemonizing... (New PID=26960)
[1269234214] ndomod: Error writing to data sink!  Some output may get lost...
[1269234214] ndomod: Please check remote ndo2db log, database connection or SSL 
Parameters


Any more configuration else??

Thks your for you big help.


Regards,

Witchaphon S.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Blocking outage

2010-03-22 Thread Jelle Smet


Hi List, 

I have a parent child relationship of network components
defined within Nagios.
nagios connects to 2 routers those two routers
connect to 1 switch on which more servers are connected.
When one of the 2
routers goes down, Nagios reports this as a network outage Which I
think isn't true as the second router is still up and running and the site
is still perfectly available... 

I though a network outage occurs when the
complete networkpath is broken towards X amount of nodes
Is this normal
behaviour? 

Thanks  
-- 
Jelle Smet
http://www.smetj.net
 --
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] How to set parent for Nagios process?

2010-03-22 Thread Jan Johansson


Hello!

Running 3.2.0 and I think I have been through the relevant information/docs.
But, I cannot figure out how to tell Nagios on which host the Nagios Process is 
running. It shows up in the wrong place on my Map.

Thanks.



-- 
Meddelandet har kontrollerats mot virus samt skadligt 
innehåll av MailScanner och förmodas vara säkert.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] NSCA Client

2010-03-22 Thread Richard Gliebe
Hi all,

I'm looking for the nsca_client package for 'SunOS 5.9 Generic_112233-07 
sun4u sparc SUNW,UltraAX-i2' which I can install with pkgadd.

thanks in advance
Richard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Problem with check_openmanage 3.5.6

2010-03-22 Thread Trond Hasle Amundsen
Nicole Hähnel m...@nicole-haehnel.de writes:

 CRITICAL: [xxx] Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 
 needs
 attention:
 -- SYSTEM:  PowerEdge 830, SN: xxx
 INTERNAL ERROR: Use of uninitialized value in string eq at 
 /usr/lib64/nagios/
 plugins/grontmij/check_openmanage line 1432.
 INTERNAL ERROR: Use of uninitialized value in sprintf at /usr/lib64/nagios/
 plugins/grontmij/check_openmanage line 1445.

Mostly for the list archive:

We took this off the list to do some back-and-forth debugging and
testing, and the issue is now resolved. A new version of
check_openmanage is released, which will print the above correctly as:

  CRITICAL: Physical Disk 0:0 [Wdc WD1600JS-55MHB0, 160GB] on ctrl 0 needs 
attention: Undefined value 4096

This relates to SNMP returning values which are not defined in the
MIBs. Such values are now reported as Undefined value number.

Regards,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] NSCA Client - SOLUTION

2010-03-22 Thread Richard Gliebe
On 3/22/10 10:55 AM Richard Gliebe wrote:
 Hi all,

found it on http://www.monitoringexchange.org

Richard

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 have event log monitors that *work*?

2010-03-22 Thread C. Bensend

 I just read your thread on the NSClient++ forum too.  I have found
 that whenever I try to combine too many matches in one check it simply
 doesn't work right (can't remember the precise details).  So I
 normally try to match on as few things as possible for each check even
 if that means I'm casting the net maybe a little wider than I'd really
 like.

I just posted a new thread over there...  I did some more testing
this morning trying to reduce the number of parameters, but I can't
really do so to get a single event ID.  It is still not working
like I expect; I explained each option I was giving it in my post
if you have a moment to take a look.

If indeed it's the number of filters I'm adding, I'm totally at a
loss.  Simply looking for an event ID within a time interval seems
like it's such a basic need that I'd just be flabbergasted...

Thanks for all your help, everyone!

Benny


-- 
Show me on the doll where the marketing touched you.
   -- Mally on Fazed.net



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 to set parent for Nagios process?

2010-03-22 Thread Assaf Flatto
Jan Johansson wrote:


 Hello!

 Running 3.2.0 and I think I have been through the relevant 
 information/docs.
 But, I cannot figure out how to tell Nagios on which host the Nagios 
 Process is running. It shows up in the wrong place on my Map.

 Thanks.



Please elaborate  ...

The nagios process is associated with the localhost by default , as it 
is the server running the nagios process and hence has not parent .

What are you trying to achieve  ? maybe that will give us more  
understanding to the issue you are trying to resolve ?

Assaf

-- 
Never,Ever Cut A Deal With a Dragon 


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 to set parent for Nagios process?

2010-03-22 Thread Jan Johansson


Please elaborate  ...

The nagios process is associated with the localhost by default , as it 
is the server running the nagios process and hence has not parent .

What are you trying to achieve  ? maybe that will give us more  
understanding to the issue you are trying to resolve ?

Well, that is what i WANT, but not what I am getting. 

If you take a look at this screen shot http://i43.tinypic.com/23kyir7.png

You will see that for some reason, I have inadvertently managed to change that. 

-- 
Meddelandet har kontrollerats mot virus samt skadligt 
innehåll av MailScanner och förmodas vara säkert.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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 to set parent for Nagios process?

2010-03-22 Thread Assaf Flatto
Jan Johansson wrote:

 
 Please elaborate  ...
 
 The nagios process is associated with the localhost by default , as it
 is the server running the nagios process and hence has not parent .
 
 What are you trying to achieve  ? maybe that will give us more 
 understanding to the issue you are trying to resolve ?

 Well, that is what i WANT, but not what I am getting.

 If you take a look at this screen shot http://i43.tinypic.com/23kyir7.png

 You will see that for some reason, I have inadvertently managed to 
 change that.

Odd , i had to modify the statusmap.c in order to get something similar 
, you haven't done that , Right ?

is it possible that you have some configuration issue where localhost 
is not 127.0.0.1 ?
and a host for the nagios server has a different ip ?

from what i can see your nagios process is communicating over the 
internet to all the servers (i might be wrong - but that is the 
picture i get from the map .) so it might be an IP issue .

-- 
Never,Ever Cut A Deal With a Dragon 


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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 to set parent for Nagios process?

2010-03-22 Thread Jan Johansson

Odd , i had to modify the statusmap.c in order to get something similar 
, you haven't done that , Right ?

Nope.

is it possible that you have some configuration issue where localhost 
is not 127.0.0.1 ?
and a host for the nagios server has a different ip ?

define host{
use linux-server; Name of host template 
to use
; This host definition 
will inherit all variables that are defin  ed
; in (or inherited by) 
the linux-server host template definition  .
host_name   localhost
alias   localhost
address 127.0.0.1
parents gotlogswitch01
}



from what i can see your nagios process is communicating over the 
internet to all the servers (i might be wrong - but that is the 
picture i get from the map .) so it might be an IP issue .

No, everything is local, and the internet is really just an abstract check to 
a major web site to test our internet connectivity. 

So i would want Nagios process to be linked to Localhost in the map.

-- 
Meddelandet har kontrollerats mot virus samt skadligt 
innehåll av MailScanner och förmodas vara säkert.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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 to set parent for Nagios process?

2010-03-22 Thread Giorgio Zarrelli

Nagios has no parents, delete IT.

Ciao,

Giorgio

Il giorno 22/mar/2010, alle ore 16.19, Jan Johansson j...@mupp.net  
ha scritto:




Odd , i had to modify the statusmap.c in order to get something  
similar

, you haven't done that , Right ?

Nope.

is it possible that you have some configuration issue where  
localhost

is not 127.0.0.1 ?
and a host for the nagios server has a different ip ?

define host{
use linux-server; Name of  
host template to use
; This host  
definition will inherit all variables that are  
defin  ed
; in (or  
inherited by) the linux-server host template  
definition  .

host_name   localhost
alias   localhost
address 127.0.0.1
parents gotlogswitch01
}



from what i can see your nagios process is communicating over the
internet to all the servers (i might be wrong - but that is the
picture i get from the map .) so it might be an IP issue .

No, everything is local, and the internet is really just an  
abstract check to a major web site to test our internet connectivity.


So i would want Nagios process to be linked to Localhost in the  
map.



--
Meddelandet har kontrollerats mot virus
samt skadligt innehåll av MailScanner
och förmodas vara säkert.
--- 
--- 
--- 
-

Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Changing the emails alerts interval????

2010-03-22 Thread ravishankar.gundlapali
Hi,

 

I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora

10.1.

 

I want nagios to send the notification email every 4 hours.

 

Currently it is sending the emails every 30 minutes.

 

I tried to edit the Templates.cfg file by changing notification_interval
to 240.But still I am receiving the emails every 30 minutes.

 

 

 

define host{

namestw_app_server  ; The name of this host
template

#use generic-host; Inherit default
values from the generic-host template

check_period24x7; By default, Windows
servers are monitored round the clock

check_interval  5   ; Actively check the
server every 5 minutes

retry_interval  1   ; Schedule host check
retries at 1 minute intervals

max_check_attempts  2  ; Check each server 10
times (max)

check_command   check-host-alive; Default
command to check if servers are alive

notification_period 24x7; Send notification out
at any time - day or night

notification_interval   240  ; Resend notifications
every 30 minutes

notification_optionsd,r ; Only send
notifications for specific host states

#contact_groups  stw_app_server ; Notifications
get sent to the admins by default

hostgroups  stw_app_server ; Host groups that
Windows servers should be a member of

register0   ; DONT REGISTER THIS -
ITS JUST A TEMPLATE

}

 

Please someone help me to resolve this.

 

Thanks a lot in advance.

 

 

 

Thanks  Regards,

Ravi G

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Changing the emails alerts interval????

2010-03-22 Thread ravishankar.gundlapali
Hi,

 

If I change the time in service definition will this get affected to all
the devices in Nagios?

 

Please let me know if I want to change for a particular host group??

 

Thanks  Regards,

Ravi G

 

From: Jorge Gil [mailto:georgy...@gmail.com] 
Sent: Tuesday, March 23, 2010 4:06 AM
To: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
Subject: Re: [Nagios-users] Changing the emails alerts interval

 

Hi,

just a quick idea.. did you try to set that time on the service
definition? till tomorrow in the office i can't have a look at my cfg
files..

jorge

On 3/22/10, ravishankar.gundlap...@wipro.com
ravishankar.gundlap...@wipro.com wrote:

Hi,

 

I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora

10.1.

 

I want nagios to send the notification email every 4 hours.

 

Currently it is sending the emails every 30 minutes.

 

I tried to edit the Templates.cfg file by changing notification_interval
to 240.But still I am receiving the emails every 30 minutes.

 

 

 

define host{

namestw_app_server  ; The name of this host
template

#use generic-host; Inherit default
values from the generic-host template

check_period24x7; By default, Windows
servers are monitored round the clock

check_interval  5   ; Actively check the
server every 5 minutes

retry_interval  1   ; Schedule host check
retries at 1 minute intervals

max_check_attempts  2  ; Check each server 10
times (max)

check_command   check-host-alive; Default
command to check if servers are alive

notification_period 24x7; Send notification out
at any time - day or night

notification_interval   240  ; Resend notifications
every 30 minutes

notification_optionsd,r ; Only send
notifications for specific host states

#contact_groups  stw_app_server ; Notifications
get sent to the admins by default

hostgroups  stw_app_server ; Host groups that
Windows servers should be a member of

register0   ; DONT REGISTER THIS -
ITS JUST A TEMPLATE

}

 

Please someone help me to resolve this.

 

Thanks a lot in advance.

 

 

 

Thanks  Regards,

Ravi G



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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

 

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] op5 check_esx plugin and net usage

2010-03-22 Thread Joseph L. Casale
Seems this plugin wraps over ~10K and returns an invalid result.

Anyone seen this, is it fixable or a limit somewhere?

Thanks,
jlc

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Changing the emails alerts interval????

2010-03-22 Thread Jatin Davey
Notification interval is different for hosts and services. You need to 
set it for both so that you get the notifications as you want. If you 
want notifications for the host then modify only the host template. By 
doing so you will receive host related notifications once in 4 hours (or 
whatever you configured) , If you want your services to notify you every 
4 hours (or whatever you configured in the notification interval) then 
you must add this information in the services template for the 
notification interval parameter.


Thanks
Jatin

On 3/23/2010 4:10 AM, ravishankar.gundlap...@wipro.com wrote:


Hi,

If I change the time in service definition will this get affected to 
all the devices in Nagios?


Please let me know if I want to change for a particular host group??

Thanks  Regards,

*Ravi G*

*From:* Jorge Gil [mailto:georgy...@gmail.com]
*Sent:* Tuesday, March 23, 2010 4:06 AM
*To:* Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
*Subject:* Re: [Nagios-users] Changing the emails alerts interval

Hi,

just a quick idea.. did you try to set that time on the service 
definition? till tomorrow in the office i can't have a look at my cfg 
files..


jorge

On 3/22/10, *ravishankar.gundlap...@wipro.com 
mailto:ravishankar.gundlap...@wipro.com* 
ravishankar.gundlap...@wipro.com 
mailto:ravishankar.gundlap...@wipro.com wrote:


Hi,

I am using Nagios 3.2.4 with Nagios plugins 1.4.14 on Linux with Fedora

10.1.

I want nagios to send the notification email every 4 hours.

Currently it is sending the emails every 30 minutes.

I tried to edit the Templates.cfg file by changing 
notification_interval to 240.But still I am receiving the emails every 
30 minutes.


define host{

namestw_app_server  ; The name of this 
host template


#use generic-host; Inherit default 
values from the generic-host template


check_period24x7; By default, Windows 
servers are monitored round the clock


check_interval  5   ; Actively check the 
server every 5 minutes


retry_interval  1   ; Schedule host check 
retries at 1 minute intervals


max_check_attempts  2  ; Check each server 10 
times (max)


check_command   check-host-alive; Default 
command to check if servers are alive


notification_period 24x7; Send notification 
out at any time - day or night


*notification_interval   240*  ; Resend notifications 
every 30 minutes


notification_optionsd,r ; Only send 
notifications for specific host states


#contact_groups  stw_app_server ; 
Notifications get sent to the admins by default


hostgroups  stw_app_server ; Host groups that 
Windows servers should be a member of


register0   ; DONT REGISTER THIS - 
ITS JUST A TEMPLATE


}

Please someone help me to resolve this.

Thanks a lot in advance.

Thanks  Regards,

*Ravi G*


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net 
mailto: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


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev


___
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
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net