Re: [Nagios-users-br] Atrasar notificação

2009-03-03 Thread Cleiton Souza
Muito obrigado Flavio e Sauer!
Valeu!

Cleiton

2009/3/2 Alexandre Sauer Paes Leme alesa...@gmail.com

 Altere a opção do nagios: max_check_attempts para 2 ou 3. Ele so enviará
 notificações depois das 2/3 tentativas de checagem.

  Abraços.

  Sauer.

 2009/3/2 Cleiton Souza cleiton.bra...@gmail.com

  Olá pessoal, boa tarde!
 
  Dentre varios equipamentos que o nagios monitora no meu ambiente, ele
 esta
  monitorando um servidor na Internet.
  Meu problema é que as vezes o servidor demora de responder o ping e o
  nagios
  já me envia uma notificação dizendo que o servidor esta fora, mas na
  realidade só foi um aumento momentaneo de latencia devido a este servidor
  esta conectado via DSL na Internet.
 
  Gostaria de atrasar o envio da notificação para que o nagios só me envie
 a
  notificação quando depois de uns 2 ou 3 check, a latencia realmente
 estiver
  alta.
 
  Procurei sobre isso, mas nao consegui achar aonde configuro, alguem pode
 me
  ajudar?
 
  Desde já, agradeço muito!
 
  Cleiton Souza
 
 
 --
  Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
  CA
  -OSBC tackles the biggest issue in open source: Open Sourcing the
  Enterprise
  -Strategies to boost innovation and cut costs with open source
  participation
  -Receive a $600 discount off the registration fee with the source code:
  SFAD
  http://p.sf.net/sfu/XcvMzF8H
  --
  Nagios-users-br@lists.sourceforge.net mailing list
  https://lists.sourceforge.net/lists/listinfo/nagios-users-br
  Wiki: http://nagios-br.sf.net/wiki
 



 --
 Alexandre Sauer Paes Leme
 8409-6593

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 --
 Nagios-users-br@lists.sourceforge.net mailing list
 https://lists.sourceforge.net/lists/listinfo/nagios-users-br
 Wiki: http://nagios-br.sf.net/wiki

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-- 
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-br] Testar serviço telnet e instal ar plugins novos????

2009-03-03 Thread Fabio Lima
Perguntas básicas

Como faço para testar o serviço de telnet?

Como istalar um plugin novo e fazê-lo funcionar?

Thanks



  Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


Re: [Nagios-users] Connection refused question

2009-03-03 Thread Assaf Flatto
Mark , 

first - please always post your questions to the list , you'll get faster 
answers and will share the 
knowledge earned with other members .

As for your issue ,  see below :


 Background info:
 SSH Service: Reconfigure to non-standard port. 22 = 2270
 HTTPD Service: Reconfigure to non-standard port. 80 = 8080 (I've got
 multiple web servers on the LAN serving different purposes. Apache on
 the Nagios server, (this server is my sandbox) listens on port 8080.

 In the localhost.cfg file:
 =
 define host{
 use linux-server; Name of host
 template to use
 ; This host
 definition will inherit all variables that are defined
 ; in (or
 inherited by) the linux-server host template definition.
 host_name   localhost
 alias   localhost
 address 127.0.0.1
 }

 define service{
 use local-service ; Name of
 service template to use
 host_name   localhost
 service_description HTTP
 check_command   check_http
 notifications_enabled   1
 }

 ==

 in the services.cfg file
 ===
 # 'check_http' command definition
 define command{
 command_namecheck_http
 command_line$USER1$/check_http -I $HOSTADDRESS$ $ARG1$
 }

since you define a command to wait a argument , you need to supply that in the 
command call in the 
check execution - meaning in the declaration of the service .
so your service definition should be something like this :

define service{
use local-service ; Name of service 
template to use
 host_name   localhost
 service_description HTTP
 check_command   check_http!$ARG1$  
 notifications_enabled   1
 }

where  $ARG!$ is the -p 8080  string you with to direct the HTTP request to .

Assaf
-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Monitoring Logs under Windows 2003 server

2009-03-03 Thread Joerg Linge
Michael Medin schrieb:
 Hello,
 
 I would suggest someone to port check_logfiles to windows (ie 
 working with for instance pure Perl or some such).
 That is the point of the NRPE support in NSClient++ (and others)

Hi Michael,
check_logfiles is already availably for windows.

http://www.consol.de/opensource/nagios/check-logfiles/

Joerg

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 do not send hosts notifications

2009-03-03 Thread Shimon Weinreich
Hello,

I run Nagios version 3.0.3 on Linux. I have a strange problem. I don’t get any 
notifications
When hosts went down but notifications is working OK for services.

Any hint ??

Tnx, in advance


---
בברכה,

  שמעון ויינרייך
  האוניברסיטה הפתוחה


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios do not send hosts notifications

2009-03-03 Thread Jim Avery
2009/3/3 Shimon Weinreich shi...@openu.ac.il:
 Hello,

 I run Nagios version 3.0.3 on Linux. I have a strange problem. I don’t get
 any notifications

 When hosts went down but notifications is working OK for services.

 Any hint ??

There are various options in the host definition which determine
whether Nagios will send a notification for a host.  For example
max_check_attempts, check_interval, retry_interval, contact_groups,
first_notification_delay, notification_period, notification_options
and notifications_enabled.  You can read all about them in the
documentation at:

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host

It's possible too that you might have disabled notifications for the
host.  Check the host in the web front-end to make sure.  In the host
detail screen it should say (amongst other things) Notifications:
ENABLED.

Also note that host and service notification options are specified
separately in the contact definition.  For example, the template I use
for contacts looks like this:

define contact{
  namegeneric-contact
  service_notification_period 24x7
  host_notification_period24x7
  service_notification_optionsw,c,r
  host_notification_options   d,r
  service_notification_commands   notify-service-by-email
  host_notification_commands  notify-host-by-email
  register0
  }


The host notification command is usually different to the service
notification command.  Check your command definitions and make sure
there isn't some problem with your host notification command.

hth,

Jim

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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 only_from

2009-03-03 Thread Martyn
Hi all, I want to test connectivity from the outside world to my Linux box
inside my network, I'm wanting to test before I try and monitor an external
box.

On the inside of my network I have a Linux box on 192.168.3.245 running NRPE
and my Nagios Server on 192.168.3.247
Both of these are connected to a 3560 Cisco Switch which in turn is
connected to my Linksys Router then onto my Cable modem.

On my Linux box I have in my nrpe only_from = 192.168.3.247 which allows
Nagios to gather its stats, however if I change it to the public IP address
that is given I get the following errors Check_NRPE: Error Could not
complete SSL handshake.

In my .cfg file on my Nagios server (the cfg of the box I want to monitor) I
have pointed it to my public IP address and restarted Nagios.
On my Linksys Router I'm port forwarding to the Linux box port 5666 but it
makes no difference, I have even put my Linux box in the DMZ but still no
joy.

Does anybody know how I can test my Linux box so it looks like its from the
external network, failing that does anybody have a test box I can try and
monitor for 10 minutes or so.

Also, NRPE the line only_from, am I allowed to put the domain name or is it
just IP address only.

Thanks

Martyn


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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 only_from

2009-03-03 Thread Marc Powell

On Mar 3, 2009, at 8:02 AM, Martyn wrote:

 Hi all, I want to test connectivity from the outside world to my  
 Linux box inside my network, I'm wanting to test before I try and  
 monitor an external box.

 On the inside of my network I have a Linux box on 192.168.3.245  
 running NRPE and my Nagios Server on 192.168.3.247
 Both of these are connected to a 3560 Cisco Switch which in turn is  
 connected to my Linksys Router then onto my Cable modem.

 On my Linux box I have in my nrpe only_from = 192.168.3.247 which  
 allows Nagios to gather its stats, however if I change it to the  
 public IP address that is given I get the following errors  
 Check_NRPE: Error Could not complete SSL handshake.

NRPE will never see the public IP of your Linksys Router/Cable modem.  
The requests do not originate from that device. It may pass them, but  
it does not originate them. You need to permit the (public) IP of the  
machine you are testing from.
 In my .cfg file on my Nagios server (the cfg of the box I want to  
 monitor) I have pointed it to my public IP address and restarted  
 Nagios.

 On my Linksys Router I'm port forwarding to the Linux box port 5666  
 but it makes no difference, I have even put my Linux box in the DMZ  
 but still no joy.

I would be very surprised if the Linksys router supported NAT  
reflection. The key is that the requests must come in from the WAN  
interface for the port forwarding to work. If you're testing the port  
forwarding from your nagios machine (on private IP), the Linksys box  
isn't going to use the Forward rule for that connection.
 Does anybody know how I can test my Linux box so it looks like its  
 from the external network, failing that does anybody have a test box  
 I can try and monitor for 10 minutes or so.

Test from a machine that is off your network, on the public Internet;  
a friends computer or one at work. Unless you have multiple public  
IP's given to you by your provider, an architecture to simulate that  
locally is complicated.
 Also, NRPE the line only_from, am I allowed to put the domain name  
 or is it just IP address only

Do you mean 'allowed_hosts'?

# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Need to monitor Solaris 10 and am new to Nagios

2009-03-03 Thread Lee Azzarello
Open the web panel of Nagios and click on the documentation link.
It's the second entry in the general category in the left frame.

-lee

On Fri, Feb 27, 2009 at 12:08 AM, syed jafar syed_ja...@hotmail.com wrote:


 I am new to Nagios and would like to monitor Solaris 10 systems (CPU, Disk,
 ...etc). Nagios server/host is running Redhat LINUX. Could someone let me
 know step by step process what to do. I have been told that it's kinda
 dfficult to monitor Solaris 10 system. If this is not possible is there a
 PERL or Shell script available to monitor the disk and CPU utilization.



 Thanks,

 Syed Jafar

 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Ndoutils MySQL performance problem?

2009-03-03 Thread Livio Zanol Puppim
Hello everyone!

I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I
don't know when this problem starts and I don't know the reason, but when it
happends I kill nagios, ndoutils and Mysql, and try to restart Mysql,
ndoutils and Nagios at this order. When I start Nagios, the CPU usage of
Mysql goes to 100% and everything just freezes with the initials
INSERT/UPDATES made by ndoutils.

Has anyone had the same problem? I've changed my.cnf to hold slow-queries
logging, an have seen at intervals of 1 minute a query runned by ndo that
tries to delete service_checks results. It takes about 4 seconds too run. Is
this expected? Can anyone help me?

Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql  Ver 14.12 Distrib
5.0.45.


Slow-Queries log:
# Time: 090303 14:29:25
# u...@host: ndoutils[ndoutils] @ localhost []
# Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
start_timeFROM_UNIXTIME(1235496561);
# Time: 090303 14:30:26
# u...@host: ndoutils[ndoutils] @ localhost []
# Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
start_timeFROM_UNIXTIME(1235496622);

Thank you.
-- 
[]'s

Lívio Zanol Puppim
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Request for a list users.

2009-03-03 Thread Roberson, John
Hello Nagios Users,

I am hoping someone can help. This is not a technical problem as such but just 
a general request. I am introducing Nagios to my University as a monitoring 
solution, and I would like be able to list a few companies/academic 
establishments who are using Nagios to monitor their networks in a forthcoming 
presentation. Does such a list exist, and if so please point me to the URL.

Kind Regards,

John Roberson

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Monitoring Logs under Windows 2003 server

2009-03-03 Thread Masoud Tabrizi
Hello Michael,
I came to the same conclusion as well.
Thanks for all the responses.

M


email: masoud.tabr...@gmail.com 
  P Please consider the environment before printing this email 


-Original Message-
From: Michael Medin [mailto:mich...@medin.name] 
Sent: Tuesday, March 03, 2009 1:36 AM
To: Masoud Tabrizi
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server

Hello,

I would suggest someone to port check_logfiles to windows (ie 
working with for instance pure Perl or some such).
That is the point of the NRPE support in NSClient++ (and others)

// Michael Medin

Masoud Tabrizi skrev:
 I looked that the event log but does no good for me as I am trying to monitor 
 application logs and not events logs. looking for something similar to 
 check_logfiles on Unix.
 Thanks


 
 -Original Message-
 From: Curtis LaMasters [mailto:curtislamast...@gmail.com] 
 Sent: Monday, March 02, 2009 3:10 PM
 To: Masoud Tabrizi
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server

 You could use NSClient++ with the event log plugin.  I'm not sure what
 you need exactly from the eventlog but it'll alert you when something
 happens.

 Curtis LaMasters
 http://www.curtis-lamasters.com
 http://www.builtnetworks.com



 On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi
 masoud.tabr...@gmail.com wrote:
   
 Hello Everyone,

 I have a requirement to monitor a large number of application log files
 under Win2003.

 Is there anything out there that can accomplish this?

 Using Nagios 2.9 and Nrpe_nt_0.8



 Thanks in advance

 M







 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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

 


 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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

   


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Service linked to hostgroup / notifications

2009-03-03 Thread Lee Azzarello
On Fri, Feb 27, 2009 at 3:20 PM, Neu, Timothy t...@sjm.com wrote:
 As I understand it, running NTP on a VM is a complete waste of
 resources, as there is no real per-VM clock to keep in sync. (i.e.,
 you're updating ether)  VMWare fakes a clock whenever a process tries
 to access one.

 I know there are some kernel boot parameters that can be added to
 improve time accuracy inside a VM.  Not sure if I found them on Redhat's
 site or VMWare's...   That and VMWare tools time synchronization is the
 best I've been able to come up with.

I'm running 40 hosts in Amazon EC2. They are Xen virtual machines and
all of their clocks are synced via NTP. I have never had a problem
with time shift nor CPU performance.

-lee

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Request for a list users.

2009-03-03 Thread Seth Simmons
http://www.nagios.org/userprofiles/search.php?search=1

 

 

 

From: Roberson, John [mailto:j.rober...@tees.ac.uk] 
Sent: Tuesday, March 3, 2009 12:36 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] Request for a list users.

 

Hello Nagios Users,

 

I am hoping someone can help. This is not a technical problem as such
but just a general request. I am introducing Nagios to my University as
a monitoring solution, and I would like be able to list a few
companies/academic establishments who are using Nagios to monitor their
networks in a forthcoming presentation. Does such a list exist, and if
so please point me to the URL.

 

Kind Regards,

 

John Roberson

 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Alert History seems empty

2009-03-03 Thread Rahul Nabar
On Mon, Mar 2, 2009 at 1:12 PM, Marc Powell m...@ena.com wrote:

 On Mar 2, 2009, at 11:25 AM, Rahul Nabar wrote:


 Alert history isn't performance data. An 'alert' is logged when the
 service changes state (i.e. OK-CRITICAL for example). Your service
 has not changed state in the current log file.

Thanks Marc. My bad. What I should have been looking for is View
Trends for this service. I got confused between those two.

-- 
Rahul

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Alert History seems empty

2009-03-03 Thread Rahul Nabar
On Mon, Mar 2, 2009 at 1:57 PM, Jim Avery j...@jimavery.me.uk wrote:
 The history will normally only record anything if the ping check has
 changed state (for example from OK to Warning).  If there's nothing in
 the log for a particular day, it simply means it''s been pinging fine
 all day (or if it's been critical all day long).

 Nagios itself doesn't do anything with the performance data, but can
 be configured to pass it on to flat files, a database or to a graph
 for example PNP or nagiosgrapher.  I use (and recommend) PNP as it's
 easy to install and use and seems to get better  better with every
 new release.  http://www.pnp4nagios.org/pnp/start

Thanks Jim. That makes sense now. I was misinterpreting the term
alert history. I already have PNP4nagios working.

-- 
Rahul

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Ndoutils MySQL performance problem?

2009-03-03 Thread Ciro Iriarte
2009/3/3 Livio Zanol Puppim livio.zanol.pup...@gmail.com:
 Hello everyone!

 I'm having huge troubles with Mysql using 100% of CPU at peculiar times. I
 don't know when this problem starts and I don't know the reason, but when it
 happends I kill nagios, ndoutils and Mysql, and try to restart Mysql,
 ndoutils and Nagios at this order. When I start Nagios, the CPU usage of
 Mysql goes to 100% and everything just freezes with the initials
 INSERT/UPDATES made by ndoutils.

 Has anyone had the same problem? I've changed my.cnf to hold slow-queries
 logging, an have seen at intervals of 1 minute a query runned by ndo that
 tries to delete service_checks results. It takes about 4 seconds too run. Is
 this expected? Can anyone help me?

 Running Nagios 3.0.3, Debian etch, NDO2DB 1.4b7 and mysql  Ver 14.12 Distrib
 5.0.45.


 Slow-Queries log:
 # Time: 090303 14:29:25
 # u...@host: ndoutils[ndoutils] @ localhost []
 # Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
 DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
 start_timeFROM_UNIXTIME(1235496561);
 # Time: 090303 14:30:26
 # u...@host: ndoutils[ndoutils] @ localhost []
 # Query_time: 4  Lock_time: 0  Rows_sent: 0  Rows_examined: 0
 DELETE FROM nagios_servicechecks WHERE instance_id='1' AND
 start_timeFROM_UNIXTIME(1235496622);

 Thank you.
 --
 []'s

 Lívio Zanol Puppim


Try creating a index for that table

-
create index   nagios_servicechecks_idx1 on nagios_servicechecks
(start_time, instance_id)
-

I'm not sure if the order would change the result though

(start_time, instance_id) OR (instance_id, start_time)

Regards,

-- 
Ciro Iriarte
http://cyruspy.wordpress.com
--

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Ndoutils MySQL performance problem?

2009-03-03 Thread Mathieu Gagné
Livio Zanol Puppim wrote:
 I'm having huge troubles with Mysql using 100% of CPU at peculiar times. 
 I don't know when this problem starts and I don't know the reason, but 
 when it happends I kill nagios, ndoutils and Mysql, and try to restart 
 Mysql, ndoutils and Nagios at this order. When I start Nagios, the CPU 
 usage of Mysql goes to 100% and everything just freezes with the 
 initials INSERT/UPDATES made by ndoutils.

You can read this thread too:
[Nagios-users] NDOutils and Nagios startup speed
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg23943.html

There's a list of indexes to create at the end.

--
Mathieu

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Notifications configuration

2009-03-03 Thread Burton Simonds
I am setting up my first nagios instance, and I am trying to figure
out how to set up the notifications.   I would like to have any
service that is a warning send an email, while any service that is
critical send a page.  I can not find in the configurations where I
can set that threshold.

Can someone please point me in the right direction?

Thanks,
B

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Notifications configuration

2009-03-03 Thread Marc Powell

On Mar 3, 2009, at 10:45 AM, Burton Simonds wrote:

 I am setting up my first nagios instance, and I am trying to figure
 out how to set up the notifications.   I would like to have any
 service that is a warning send an email, while any service that is
 critical send a page.  I can not find in the configurations where I
 can set that threshold.

 Can someone please point me in the right direction?

Nagios doesn't implement that type of logic. Some options that come to  
mind --

1) Create a contact per status. contact1 that sends e-mails only does  
so for critical services; contact2 that sends pages only does so for  
warning services.
2) Have one contact but multiple notification commands  
(service_notification_commands service-notify-by-email,service-notify- 
by-pager). -by-email and -by-pager contain simple logic to only work  
for critical or warning respectively.
3) Create one contact with one notification command. That notification  
command contains the simple logic to send an e-mail or send a page  
depending on the notification type.
4) ...
5) Profit!

This kind of configuration is discussed somewhat frequently on the  
list. The archives might provide more information.

--
Marc


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Email to Voice

2009-03-03 Thread Martyn
Although I'm new and still setting up how I want to monitor my Servers and
Routers, it got me thinking about texts that I receive whilst I'm in bed,
I'm so used to getting a text statement from my bank that I now sleep
through them, so text alerts are not sufficient enough for me to lift my
head of my pillow if there was a fault.

Does anybody know of a company that offers email to voice service, this way
I get Nagios to send an email to a server which in turn call my mobile and
will play me an alert of some kind.

Cheers

Martyn





--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Exchange 2003 MIBs

2009-03-03 Thread Eric Chatham
Greetings!

Does anyone know where I can find MIB sheets for Exchange 2003?  We would like 
to monitor things like inforomation store and such in Nagios.

Thank you.
Eric Chatham


CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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] Email to Voice

2009-03-03 Thread Mike Diehl
Shameless plug:
http://www.linuxjournal.com/content/custom-checks-and-notifications-nagios

This is an article I wrote some time ago that shows you how to get a
phone call from asterisk/nagios in the event of a fault.  You simply
record a voice message and there you go.

Mike Diehl.


On Tue, 2009-03-03 at 22:57 +, Martyn wrote:
 Although I'm new and still setting up how I want to monitor my Servers
 and Routers, it got me thinking about texts that I receive whilst I'm
 in bed, I'm so used to getting a text statement from my bank that I
 now sleep through them, so text alerts are not sufficient enough for
 me to lift my head of my pillow if there was a fault.
 
 Does anybody know of a company that offers email to voice service,
 this way I get Nagios to send an email to a server which in turn call
 my mobile and will play me an alert of some kind.
 
 Cheers
 
 Martyn
 
 
 
 
 
 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
 -Strategies to boost innovation and cut costs with open source participation
 -Receive a $600 discount off the registration fee with the source code: SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___ 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


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Exchange 2003 MIBs

2009-03-03 Thread Kevin Keane
Look into using NSClient++ and use it to access the Windows performance 
counters to get this type of information. Microsoft's support of SNMP is 
not all that great.

If you don't want to install anything on the Exchange server, you could 
also look into using WMI to get the same information remotely. I'm not 
sure about how to integrate that with Nagios, though.

Eric Chatham wrote:

 Greetings!

  

 Does anyone know where I can find MIB sheets for Exchange 2003?  We 
 would like to monitor things like inforomation store and such in Nagios.

  

 Thank you.

 Eric Chatham


-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Exchange 2003 MIBs

2009-03-03 Thread Anthony Montibello
hi,

NC_Net has a WMI query Check built into it,
http://sourceforge.net/projects/nc-net/

As well as ability to run scripts/executables, NSCA Support, Performance
Counters, and EventLogs.

There are also some VB Scrpts under Windows NRPE on nagios exchang that
process through checking WMI


Tony (author of NC_NEt)
On Tue, Mar 3, 2009 at 8:12 PM, Kevin Keane subscript...@kkeane.com wrote:

 Look into using NSClient++ and use it to access the Windows performance
 counters to get this type of information. Microsoft's support of SNMP is
 not all that great.

 If you don't want to install anything on the Exchange server, you could
 also look into using WMI to get the same information remotely. I'm not
 sure about how to integrate that with Nagios, though.

 Eric Chatham wrote:
 
  Greetings!
 
 
 
  Does anyone know where I can find MIB sheets for Exchange 2003?  We
  would like to monitor things like inforomation store and such in
 Nagios.
 
 
 
  Thank you.
 
  Eric Chatham
 

 --
 Kevin Keane
 Owner
 The NetTech
 Find the Uncommon: Expert Solutions for a Network You Never Have to Think
 About

 Office: 866-642-7116
 http://www.4nettech.com

 This e-mail and attachments, if any, may contain confidential and/or
 proprietary information. Please be advised that the unauthorized use or
 disclosure of the information is strictly prohibited. The information herein
 is intended only for use by the intended recipient(s) named above. If you
 have received this transmission in error, please notify the sender
 immediately and permanently delete the e-mail and any copies, printouts or
 attachments thereof.



 --
 Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
 CA
 -OSBC tackles the biggest issue in open source: Open Sourcing the
 Enterprise
 -Strategies to boost innovation and cut costs with open source
 participation
 -Receive a $600 discount off the registration fee with the source code:
 SFAD
 http://p.sf.net/sfu/XcvMzF8H
 ___
 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

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
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