Re: [Nagios-users-br] MPLS

2008-04-08 Thread Marcel
Marcelo,

On Thu, Apr 3, 2008 at 10:15 AM, Marcelo Joy [EMAIL PROTECTED] wrote:

 Preciso monitorar o status de várias vpn's MPLS, e gostaria de saber se
 com
 o Nagios 3.x é possível realizar tal tarefa, se possível com referência ou
 exemplo.


O Nagios funciona como um agendador de checagens, vc pode usá-lo com os
plugins padrões ou pode criar o seu próprio plugin, desde que obedeça o
guideline para tal.
Portanto, tudo que for possível codificar para testar conexões TCP, pode ser
adequado para se tornar um plugin, basta saber como.
Ou, se deseja monitorar o status do processo que cuida dessas conexões,
pode-se utilizar o plugin check_proc.
Ou ainda, se apenas um telnet na porta é suficiente para determinar se o
processo está ok, utilize o plugin check_tcp.
Ou ainda, se precisar realizar um teste funcional, com autenticação e tudo
mais, pode criar um plugin que faça a tarefa completa.

Enfim, o Nagios é capaz de atender o requisito. Não tenho exemplos pra te
dar, porque não monitoro vpns mpls, mas monitoro processos, sockets,
conexões. Se precisar de exemplos para isso, sugiro que vc leia a
documentação antes.

Att,
Marcel
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-- 
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] Help : NDOUtils not able to find mysql

2008-04-08 Thread Pallav . S . Gupta
Hi All

I have installed mysql in /usr/bin/mysql now when i try to install ndo 
utils it gives me the error 

*** MySQL include file could not be located... **

You chose to compile NDBXT with MySQL support, but I was unable to
locate mysql/mysql.h on your system.  If the include file is
installed, use the --with-mysql-inc argument to specify the location
of the MySQL include file.


I have checked , mysql is installed and running succesfully 
when i type this command sudo netstat -tap | grep mysql
i get o/p tcp0  0 localhost.localdomain:mysql   *:* 
LISTEN -

Please help.

[EMAIL PROTECTED]:~/monitoring/ndoutils-1.4b7# ./configure 
--with-mysql-lib=/usr/bin/mysql
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for 

Re: [Nagios-users] Help : NDOUtils not able to find mysql

2008-04-08 Thread Marcus
[EMAIL PROTECTED] schrieb:

 *** MySQL include file could not be located... **
Install mysql-devel or mysql-dev. The files are needed to add 
mysql-Support when compiling other apps like ndo-utils.

Greetz, Marcus

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Configuring tricky escalations

2008-04-08 Thread Julien Dehee
Thank you ! I was stuck in the escalation oriented mindset, of course it
works with adding more specific contacts.

Julien.

On Mon, Apr 7, 2008 at 12:57 PM, Edgar Matzinger [EMAIL PROTECTED]
wrote:

 Hi Julien,

  This is working just fine. Now the tricky part : we would
  like to send notification for DF WARNINGS only during
  workhours, and the rest (u,c,r) in the 24x7 period.
  I tried to create more escalations, specific with
  timeperiod and escalation_options but I can't make it.
 
  Will you find the solution ? thanks in advance for your help.

   you have to specify in the contacts or contacts group the notification
 period, i.e. when *they* want to be notified.

 HTH, cu l8r, Edgar.
 --
|\  /| :: Addr: Valid Eindhoven B.V.
  /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R.
 Matzinger
 /   || ::   Paradijslaan 36
 \  /|  /\| ::   5611 KN Eindhoven
  \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
 Disclaimer: Any comments, opinions made are mine, etc ...

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 : NDOUtils not able to find mysql

2008-04-08 Thread Marcus
[EMAIL PROTECTED] schrieb:

 How to do that ?
 as i could not find any packages apt-cache search mysql-dev

Pallav, please keep it on the list.

The packet on my ubuntu-system is libmysqlclient15-dev

[EMAIL PROTECTED]:~# aptitude search mysql | grep dev
[ ... ]
v   libmysqlclient-dev  -
i   libmysqlclient15-dev- MySQL database development files


Greetz, Marcus

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Heiko Schlittermann
Hello,

(using 3.0.1)

I've a list of hosts, these hosts are not available for ping, but normal
service checks (SSH, SMTP, ...) work. Nagios reports theses hosts beeing
down! Ugly!

If I remember well, older nagios versions knew that's enough to see
one service on a host to know this host has to be up.

The host check_command is the normale 'check-host-alive' (which is
pinging), the check_interval is 0 -- why does nagios want to check that
host?

The check_command is inherited from some template, if I try to override
it with no value, nagios complains: 

Error: Host check command '(null)' specified for host 'diwi/diw' is not defined 
anywhere


So - please, could anybody point to my stupidity?

Thanks.


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet  unix support -
 Heiko Schlittermann HS12-RIPE -
 gnupg encrypted messages are welcome - key ID: 48D0359B ---
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 : NDOUtils not able to find mysql

2008-04-08 Thread Pallav . S . Gupta
Thanks Marcus 

it worked !!!





Marcus [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
04/08/2008 03:33 PM

To
nagios nagios-users@lists.sourceforge.net
cc

Subject
Re: [Nagios-users] Help : NDOUtils not able to find mysql






[EMAIL PROTECTED] schrieb:

 How to do that ?
 as i could not find any packages apt-cache search mysql-dev

Pallav, please keep it on the list.

The packet on my ubuntu-system is libmysqlclient15-dev

[EMAIL PROTECTED]:~# aptitude search mysql | grep dev
[ ... ]
v   libmysqlclient-dev  -
i   libmysqlclient15-dev- MySQL database development files


Greetz, Marcus

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

___
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





The information contained in this e-mail message is intended only for the use 
of the individual or entity to which it is addressed. If you are not the 
intended recipient, you should return it to the sender immediately. Please note 
that while we scan all e-mails for viruses we cannot guarantee that any e-mail 
is virus-free and accept no liability for any damage caused by any virus 
transmitted by this email.image/gif-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Wojciech Kocjan
Dnia 08-04-2008 o 14:21:08 Heiko Schlittermann [EMAIL PROTECTED]  
napisał(a):

 Hello,

 Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] (Di 08 Apr 2008  
 13:58:36 CEST):
 Just rewrite the check-host-alive plugin for the unpingable hosts to  
 something bogus like check_null for some bogus output. Or use a  
 different check command other than a ping for the check-host alive.

 Thank you for your response.

 But - a bogus check returning OK would be wrong too, because the host
 *can* be down.

 The host should assumed to be UP if *any* service check on this host was
 successful. The host should assumed to be DOWN, if all service checks
 failed.

 Any suggestion anybody?

That one would be non-trivial, but perhaps the check command could read  
current status for the host and only do test if there are no services  
currently in OK state? Otherwise it would return the host is UP.

-- 
Wojciech Kocjan

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Heiko Schlittermann
Hello,

Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED] (Di 08 Apr 2008 13:58:36 
CEST):
 Just rewrite the check-host-alive plugin for the unpingable hosts to 
 something bogus like check_null for some bogus output. Or use a different 
 check command other than a ping for the check-host alive.

Thank you for your response.

But - a bogus check returning OK would be wrong too, because the host
*can* be down.

The host should assumed to be UP if *any* service check on this host was
successful. The host should assumed to be DOWN, if all service checks
failed.

Any suggestion anybody?

Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet  unix support -
 Heiko Schlittermann HS12-RIPE -
 gnupg encrypted messages are welcome - key ID: 48D0359B ---
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Heiko Schlittermann
Wojciech Kocjan [EMAIL PROTECTED] (Di 08 Apr 2008 14:34:38 CEST):
 Dnia 08-04-2008 o 14:21:08 Heiko Schlittermann [EMAIL PROTECTED]  
 napisał(a):
 
 That one would be non-trivial, but perhaps the check command could read  
 current status for the host and only do test if there are no services  
 currently in OK state? Otherwise it would return the host is UP.
 

That's it. Is there any easy to access interface where I can read the
status of service checks of the host in question?


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
-- 
 SCHLITTERMANN.de  internet  unix support -
 Heiko Schlittermann HS12-RIPE -
 gnupg encrypted messages are welcome - key ID: 48D0359B ---
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Heiko Schlittermann


  That one would be non-trivial, but perhaps the check command could
read
  current status for the host and only do test if there are no
services
  currently in OK state? Otherwise it would return the host is UP.
 
 
 That's it. Is there any easy to access interface where I can read the
 status of service checks of the host in question?

Using the check_cluster(2) plugin for your host check perhaps? I don't
use the plugin myself but the concepts are the same...

--
Marc

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 Windows Servers - [New domain name for nsclient++]

2008-04-08 Thread Frater, Greg J
 

-Original Message-
From: Michael Medin [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 07, 2008 9:59 PM
To: Frater, Greg J
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring Windows Servers - [New domain
name for nsclient++]


 (found here: http://trac.nakednuns.org/nscp - don't ask me about the 
 URL I don't know why it is what it is - it seems safe though)
   
LOL, everyone seems to mention this lately, well, here is my official
apology to anyone who has taken offense for the domain name *SORRY*
Anyways, try: http://NSCLIENT.ORG, http://nsclient.com or
http://nsclient.net hopefully these are better (if anyone want to know
the reason for using the old one there is a post on the forum about it
http://nsclient.org/nscp/discussion/2/120 )

All I know is I got a visit from our security guy asking for an
explanation of my visits to that site.

The preferable domain is nsclient.ORG but since go-daddy was so damn
cheep (anyone know why? I pay 10 times as much for my previous
domains) I got the others when I was at it...

Excellent, I will use the new domain (though I must admit nakednuns is
pretty memorable).

And if any apache2 configure gurus knows how to combine location (I use
a location with mod python inside it to call trac) and mod_rewrite let
me know cause I would have preferred to drop the trailing /nscp but
alas apache was giving me attitude...

I would not be of much help here, I'm not an Apache guy.

-greg

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 3.01 and NDOUtils

2008-04-08 Thread Rusty Hall
I have nagios 3.01 and the latest version of ndoutils,
nagvis and pnp4nagios installed on redhat 5.1.  Everything runs on the
same  server including  mysql . After a restart of nagios  everything
runs  fine  for about  5  minutes then I get the dreaded message NDO
claims that nagios did no status Update for more than 180 seconds. Make
sure that nagios and ndo2db are running.  The only way to get it back
and running  is do rm   /usr/local/nagios/var/ndo.sock and then restart
and  again it works for about 5 minutes. I have double and triple  check
the config files in ndoutils, but I fear the issue is actually in nagios
itself, because if I tail /usr/local/nagios/var/nagios.log I see a bunch
stale service checks being  queued up.

 

Any help would be greatly appreciated

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 3.01 and NDOUtils

2008-04-08 Thread Marcel
There is a thread about creating some indexes, search on.

On Tue, Apr 8, 2008 at 12:49 PM, Rusty Hall [EMAIL PROTECTED]
wrote:

  I have nagios 3.01 and the latest version of ndoutils,
 nagvis and pnp4nagios installed on redhat 5.1.  Everything runs on the same
 server including  mysql . After a restart of nagios  everything runs  fine
 for about  5  minutes then I get the dreaded message *NDO claims that
 nagios did no status Update for more than 180 seconds. Make sure that nagios
 and ndo2db are running*.  The only way to get it back and running  is do
 rm   /usr/local/nagios/var/ndo.sock and then restart and  again it works for
 about 5 minutes. I have double and triple  check the config files in
 ndoutils, but I fear the issue is actually in nagios  itself, because if I
 tail /usr/local/nagios/var/nagios.log I see a bunch stale service checks
 being  queued up.



 Any help would be greatly appreciated

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Register now and save $200. Hurry, offer ends at 11:59 p.m.,
 Monday, April 7! Use priority code J8TLD2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 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 SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Israel Brewster
On Apr 8, 2008, at 2:50 AM, Heiko Schlittermann wrote:
 Hello,

 (using 3.0.1)

 I've a list of hosts, these hosts are not available for ping, but  
 normal
 service checks (SSH, SMTP, ...) work. Nagios reports theses hosts  
 beeing
 down! Ugly!

 If I remember well, older nagios versions knew that's enough to see
 one service on a host to know this host has to be up.

To a degree, yes- if you aren't actively checking the host (as would  
appear to be the case from your next paragraph), then as long as all  
services  on the host are listed as ok, nagios assumes the host is  
still ok (at least once running, I don't know how it behaves on the  
initial check). However, should any of the services go into a non-ok  
state, nagios will immediately check the host (using the host  
check_command), wherupon, in your case, it would determine the host to  
be down since it can't ping. The state of the other services does not  
affect this process, so any other services do not change state.

 The host check_command is the normale 'check-host-alive' (which is
 pinging), the check_interval is 0 -- why does nagios want to check  
 that
 host?

Because at some point one or more of the services went into a non-ok  
state.

 The check_command is inherited from some template, if I try to  
 override
 it with no value, nagios complains:

 Error: Host check command '(null)' specified for host 'diwi/diw' is  
 not defined anywhere

Yep- you can't have no value in the check_command directive. If you  
just want to assume the host is up all the time, you can use the  
check_dummy plugin (after defining a check_dummy command in your  
checkcommands.cfg, naturally). Otherwise you'll need to figure out  
some check Nagios can perform to determine if the host is running,  
even if that check is just checking one of the services again or  
something.

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



 So - please, could anybody point to my stupidity?

 Thanks.


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
 -- 
 SCHLITTERMANN.de  internet  unix  
 support -
 Heiko Schlittermann HS12-RIPE  
 -
 gnupg encrypted messages are welcome - key ID: 48D0359B  
 ---
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0  
 359B -
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Register now and save $200. Hurry, offer ends at 11:59 p.m.,
 Monday, April 7! Use priority code J8TLD2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
 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 SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 to monitor several switch ports

2008-04-08 Thread Kevin Manuel
I would like to have Nagios alert on the status of individual switch ports -
link up/down, traffic, etc. Is there a way to do this other than creating a
separate host or service for each port. There are 1000's of ports on our
network and this doesn't seem practical.

 

What I would like is for a host switch to show as warning (or critical)
if one or more switch port is down / exceeding a traffic limit and showing
ok only if ALL ports are up, etc.

 

 

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 to monitor several switch ports

2008-04-08 Thread Christian Schneemann
Am Dienstag 08 April 2008 schrieb Kevin Manuel:
 I would like to have Nagios alert on the status of individual switch ports
 - link up/down, traffic, etc. Is there a way to do this other than creating
 a separate host or service for each port. There are 1000's of ports on our
 network and this doesn't seem practical.
What kind of switches do you have?
I don't know if there is a plugin for such a test, but I think it can easily 
be written using SNMP and a scriptinglanguage of your choice.





 What I would like is for a host switch to show as warning (or critical)
 if one or more switch port is down / exceeding a traffic limit and showing
 ok only if ALL ports are up, etc.
Even if I don't understand why you want to monitor that, SNMP is your friend 
here. You just need the according MIB according to your switch.

Greetings,
-- 
Christian Schneemann
-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: [EMAIL PROTECTED]
-
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Heiko Schlittermann
Hello Israel,

Israel Brewster [EMAIL PROTECTED] (Di 08 Apr 2008 19:32:25 CEST):
 On Apr 8, 2008, at 2:50 AM, Heiko Schlittermann wrote:
 Hello,
 
 (using 3.0.1)
 
 I've a list of hosts, these hosts are not available for ping, but  
 normal
 service checks (SSH, SMTP, ...) work. Nagios reports theses hosts  
 beeing
 down! Ugly!
 
 If I remember well, older nagios versions knew that's enough to see
 one service on a host to know this host has to be up.
 
 To a degree, yes- if you aren't actively checking the host (as would  
 appear to be the case from your next paragraph), then as long as all  
 services  on the host are listed as ok, nagios assumes the host is  
 still ok (at least once running, I don't know how it behaves on the  
 initial check). However, should any of the services go into a non-ok  
 state, nagios will immediately check the host (using the host  
 check_command), wherupon, in your case, it would determine the host to  
 be down since it can't ping. The state of the other services does not  
 affect this process, so any other services do not change state.

That's an interesting detail: if ANY of the service checks fails, a host
scheck is scheduled.

This would explain why the host check takes place and fails (if it's
using ping).

But - my question here, why is *any* failing service a trigger of a host
check? Shouldn't be the failure of *all* services this trigger?

-- 
Heiko


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] stability of ndoutils-1.4b7 (ndomod and ndo2db)?

2008-04-08 Thread Frank J. Gómez
Hi, I've just started using ndomod and ndo2db on a development server to
have status checks logged to a MySQL database instead of flat files.  I am
using Nagios v. 2.10 on the development server, v. 2.7 on the production
server.  The one on production can probably be upgraded to 2.10…

Anyway, the readme file in the ndoutils-1.4b7 says:

This code is still an alpha/beta quality, so expect problems if you intend
 to use
 it.  Make sure that you aren't using it with your only production
 installation of
 Nagios, or it could take down the Nagios process if the NDOMOD module
 segfaults.
 Nagios could segfault silently and you might never know that Nagios
 crashed...


However, I see from the SourceForge site that this code hasn't been changed
since 10/31/2007.  Is this add-on relatively stable?  Are other folks using
it in production?  Is there anything in particular I should be aware of?

Thanks!
-Frank
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] stability of ndoutils-1.4b7 (ndomod and ndo2db)?

2008-04-08 Thread Folkert van Heusden
For logging nagios status to mysql, one could also use the import-script
fom NagiosDigger: http://www.vanheusden.com/nagiosdigger/ (yes I wrote
that).

On Tue, Apr 08, 2008 at 03:48:42PM -0400, Frank J. Gómez wrote:
 Hi, I've just started using ndomod and ndo2db on a development server to
 have status checks logged to a MySQL database instead of flat files.  I am
 using Nagios v. 2.10 on the development server, v. 2.7 on the production
 server.  The one on production can probably be upgraded to 2.10?
 
 Anyway, the readme file in the ndoutils-1.4b7 says:
 
 This code is still an alpha/beta quality, so expect problems if you intend
  to use
  it.  Make sure that you aren't using it with your only production
  installation of
  Nagios, or it could take down the Nagios process if the NDOMOD module
  segfaults.
  Nagios could segfault silently and you might never know that Nagios
  crashed...
 
 
 However, I see from the SourceForge site that this code hasn't been changed
 since 10/31/2007.  Is this add-on relatively stable?  Are other folks using
 it in production?  Is there anything in particular I should be aware of?
 
 Thanks!
 -Frank

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Register now and save $200. Hurry, offer ends at 11:59 p.m., 
 Monday, April 7! Use priority code J8TLD2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 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


Folkert van Heusden

-- 
www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg
ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of
HP/UX en win een vlaai naar keuze
--
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Patrick Morris
Moin Heiko!

Heiko Schlittermann schrieb am Tuesday, den 08. April 2008:

 But - my question here, why is *any* failing service a trigger of a host
 check? Shouldn't be the failure of *all* services this trigger?

This is so that if the outage of a service is caused by the host being
down, you are notified that the host is down, and not the service.

If Nagios waited for every service to fail first, you'd get a lot of
alerts you probably don't want.

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Heiko Schlittermann
 Sent: Tuesday, April 08, 2008 2:44 PM
 To: Israel Brewster
 

 But - my question here, why is *any* failing service a trigger of a
host
 check? Shouldn't be the failure of *all* services this trigger?

Service A gets checked every 5 minutes.
Service B gets checked once a day.

Do you _really_ want to wait to know if the host is down until Service B
is checked and fails?

The problem you're experiencing is an artifact of your configuration
methodology. If you don't want hosts checked, ever, do not specify a
host check_command (i.e. leave the entire line out). The fact that you
have it included in a template applied to the host is why it's being
checked. Use a template that doesn't specify a host check_command.

--
Marc

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 to monitor several switch ports

2008-04-08 Thread Ford, Andy


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Christian Schneemann
 Sent: Tuesday, April 08, 2008 2:14 PM
 To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
 Subject: Re: [Nagios-users] nagios to monitor several switch ports
 
 Am Dienstag 08 April 2008 schrieb Kevin Manuel:
  I would like to have Nagios alert on the status of 
 individual switch ports
  - link up/down, traffic, etc. Is there a way to do this 
 other than creating
  a separate host or service for each port. There are 1000's 
 of ports on our
  network and this doesn't seem practical.
  What I would like is for a host switch to show as warning 
 (or critical)
  if one or more switch port is down / exceeding a traffic 
 limit and showing
  ok only if ALL ports are up, etc.

I think that the reason this kind of thing doesn't exist is that it's
more practical to do it on the server.
I.E. monitor the network status and traffic from your server's point of
view.
It's more practical because it's easier to maintain a list of your
servers than to keep Nagios configured to know which switch ports should
be active.
Also set up the switch (should be the default) to send link up/down
traps and have Nagios watch for them so you can quickly correlate your
server network status and know if the switch is the problem when the
server alarms.

Andy Ford
Wachovia Securities Information Security
314-955-6647


Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.

A.G. Edwards, a division of Wachovia Securities, LLC




-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 display multiple line check results forNSCA?

2008-04-08 Thread Frost, Mark {PBG}
I was hoping for an answer on this one myself.  I am also running
distributed servers, but would like to start taking advantage of long
host/service output.  I had heard from somewhere a few months back that
while Nagios and NRPE support long host output, NSCA still does not.
 
Is this still correct?  Are there plans to get this fixed?
 
Thanks
 
Mark




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of #ANG
CHIN TECK#
Sent: Monday, April 07, 2008 5:39 AM
To: nagios-users
Subject: [Nagios-users] How do I display multiple line check
results forNSCA?



Hi all,

I am using NSCA to do passive checks. Nagios web interface only
displays the first line of the multiple-line results sent back to
Nagios.

But when i use nrpe to do active checks, all the lines are
displayed.

Is it possible to configure the external commands or NSCA to
allow displaying of multiple line output?
  

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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 to monitor several switch ports

2008-04-08 Thread Kevin Manuel
We have Nortel switches. Just to complicate things further, I am using RMON 
snmp traps to alert Nagios when an event occurs on one of the switches (i.e. 
broadcast packets exceed a certain threshold). 

A summary of my setup:

- when a certain threshold is exceeded, the port will trigger an alarm and send 
an snmp trap to our management server 

- snmptrapd (a net-snmp daemon) is running on the management server and 
receives the trap and passes it to my Perl trap-handler script

- the trap-handler script translates the snmp trap and updates Nagios 
according (through a passive check)

The problem is, for example, say 3 ports go down on a single switch and only 
one comes back up, this clears the service alert in Nagios even though 2 
ports are still down. One was around this would be to have a service for each 
port but as I mentioned previously, I'm hoping to figure out another way to do 
it.

(I hope I explained that well enough but I'm sure I lost a lot of you )


-Original Message-
From: Christian Schneemann [mailto:[EMAIL PROTECTED] 
Sent: April-08-08 4:14 PM
To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [Nagios-users] nagios to monitor several switch ports

Am Dienstag 08 April 2008 schrieb Kevin Manuel:
 I would like to have Nagios alert on the status of individual switch ports
 - link up/down, traffic, etc. Is there a way to do this other than creating
 a separate host or service for each port. There are 1000's of ports on our
 network and this doesn't seem practical.
What kind of switches do you have?
I don't know if there is a plugin for such a test, but I think it can easily 
be written using SNMP and a scriptinglanguage of your choice.





 What I would like is for a host switch to show as warning (or critical)
 if one or more switch port is down / exceeding a traffic limit and showing
 ok only if ALL ports are up, etc.
Even if I don't understand why you want to monitor that, SNMP is your friend 
here. You just need the according MIB according to your switch.

Greetings,
-- 
Christian Schneemann
-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail: [EMAIL PROTECTED]
-
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heiko Schlittermann wrote:

| But - my question here, why is *any* failing service a trigger of a host
| check? Shouldn't be the failure of *all* services this trigger?

Well. If a service goes missing it might very well be an issue with the
host or even further up the line. So The first thing to do is see if the
host is still there. Then if the host is still there other service
checks will go on. But if the host is down there is little point in
sending out alerts on other missing services untill you got them all
only to report a down host there.

By doing an immediate host check you only have to send a host down
notification and be done with it if the host is down.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH++AIBvzDRVjxmYERAoSMAJ9aAfJzGwQ67xSUdtWS4NSolaqNWgCggmT/
dHTaLDuiRElOpkugiF0t0bY=
=bHTn
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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 to monitor several switch ports

2008-04-08 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Manuel wrote:
| I would like to have Nagios alert on the status of individual switch
| ports – link up/down, traffic, etc. Is there a way to do this other than
| creating a separate host or service for each port. There are 1000’s of
| ports on our network and this doesn’t seem practical.
|
| What I would like is for a host switch to show as “warning” (or
| “critical”) if one or more switch port is down / exceeding a traffic
| limit and showing “ok” only if ALL ports are up, etc.

Don't you think this could create a big overhead that will be in excess
of using a howitzer to hunt litlle flies?

I do not think you want to know too much about individual switch ports.
Why would nagios go ape everytime I reboot my laptop? I would monitor
the hosts behind the switch ports that you care about.

Perhaps trigger alerts on real odd errors on your switch. But trying to
monitor it all will outweight the little benefits you might gain in
effort and needless alerts.

Hugo.


- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFH++INBvzDRVjxmYERAoUuAKCJE7Fixdsq2BBJy+j2TmhRiba7hACgoWH9
Yow+ww5X05PWtldVUjGcUPE=
=I4we
-END PGP SIGNATURE-

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Heiko Schlittermann
Folkert van Heusden [EMAIL PROTECTED] (Di 08 Apr 2008 23:16:55 CEST):
  | But - my question here, why is *any* failing service a trigger of a host
  | check? Shouldn't be the failure of *all* services this trigger?
 
 Sorry to drop-in (and maybe saying something stupid) but as far as i
 know the host may be down if it stopped responding to ping but still
 responds to service-checks.

?? How. Or I'm stupid? How should the host respond to service checks
if it's down and doesn't respond to ping therefore?

-- 
Heiko


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
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] Too stupid? Services are available, but nagios reports host to be down!

2008-04-08 Thread Steve Shipway
 I've a list of hosts, these hosts are not available for ping, but
normal
 service checks (SSH, SMTP, ...) work. Nagios reports theses hosts
beeing
 down! Ugly!

On our system, we too have a small subset of hosts which cannot be
pinged.  However, they can be SSH'ed.  So, I defined a new test,
check-host-alive-ssh which used an SSH connection rather than a ping,
and define this as the host_check_command for the hosts in question.
This allows Nagios to continue to work as expected.

Steve

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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-users Digest, Vol 23, Issue 18

2008-04-08 Thread Greg King
Message: 6
Date: Sat, 5 Apr 2008 12:15:34 +0530
From: [EMAIL PROTECTED]
Subject: [Nagios-users] monitoring windows NT workstation.
To: nagios-users@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

Hi All

I have some servers in NT 4 , in which nsclient++ can't be installed , So 
how can i make nagios to monitor those NT sytems.

Pls help.

Have you tried the old nsclient from http://nsclient.ready2run.nl/  ?  It has 
WinNT binaries as well as Win2000 and XP, and provides a subset of the ++ 
version.  I use it a lot and its pretty reliable.

 
Regards,
Greg King
www.wgk-consulting.com


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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