[Nagios-users-br] Plugins asm e alert log oracle

2009-05-08 Thread Fábio Amantes
Boa tarde, gostaria de saber se alguém tem algum plugin para monitorar o asm e 
o arquivo alert do oracle

Obrigado

Fábio Amantes 
Elite Concept Informática Ltda. 
11 - 3863-9404 
 www.elite-br.com 
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
-- 
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] Need To migrate Nagios Setup to a New Hardware

2009-05-08 Thread Gaurav Ghimire
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

chethan@wipro.com wrote:
 Hi All,
  
 
 I m need to migrate the existing Nagios setup to a new Hardware
 (server)… (i.e. from one server to another server)
 
  
 
 Since I am doing such kind of migration for the first time, I need some
 standard documents for reference.
 
 Please share some related documents that specifices the safe procedure
 for doing the migration keeping all the configurations, look and feel of
 the existing nagios same.  
 
 *Thanks  Regards,*
 
  
 
 *Chethan M N,*
 P Save a Tree - Please consider the environment before printing this email


Dear Chethan,

You actually don't need a particular document for the migration. Just a few 
steps to be followed.

~ Keep intact the /usr/local/nagios/share , /usr/local/nagios/etc/  and 
/usr/local/nagios/var folders. They all need to be the same.
~ Check with all the plugins that you have installed in the older nagios server.
~ Some plugins that are installed in the older server might not be installed in 
the newer one, because of some version differences and
dependencies. Search options for those.
~ Check if the version difference and the features implemented/deprecated in 
nagios effects your setup.
~ Install the nagios in the newer server and replace the above listed folders 
and plugins. You are good to go.


Regards
- --
Gaurav Ghimire
System Administrator
Subisu Cablenet (P.) Ltd.
148 Thirbum Sadak
Baluwatar, Kathmandu
Nepal

http://www.subisu.net.np

First and Only True Cable Internet Service Provider in Nepal

(An ISO 9001:2000 Certified Company)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoDyccACgkQnfv7imVnL2u6QACdFEmGU8xOQEigxhDshmWYbWBv
090AoJjskhC9FxVtquXf2P6xiZwy5jkH
=OaLE
-END PGP SIGNATURE-

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Connection refused

2009-05-08 Thread Andy Shellam
Surajit,

Is the service actually running on that server?  Can you telnet to the 
NSClient++ port manually?

Regards,
Andy

Surajit Mukherjee wrote:
 I am getting Connection refused status information on a Windows 2003
 Server that is using NSClient++.  Out of the 7 Windows server I have in

 Nagios 3.0.6, this is the only server giving me that error

 ** **

 **Cheers,**

 **Surajit**

  







 The information contained in this communication is intended solely for
 the use of the individual or entity to whom it is addressed and others 
 authorized to receive it.   It may contain confidential or legally 
 privileged information.   If you are not the intended recipient you are 
 hereby notified that any disclosure, copying, distribution or taking any 
 action in reliance on the contents of this information is strictly prohibited 
 and may be unlawful. If you have received this communication in error, 
 please notify us immediately by forwarding this email to 
 mailad...@ness.com and then delete it from your system.

 Ness technologies is neither liable for the proper and complete 
 transmission of the information contained in this communication nor for 
 any delay in its receipt.
   
 

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 

 ___
 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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Confusing Virtual memory utlilization on Windows

2009-05-08 Thread mohandas . k
Hi All, 

I have started windows resource monitoring using Windows NRPE, I don't 
want to use snmp and NSclients also. 
I want to check swap utilization rather than swap free, however I have got 
everywhere check_swap.exe which gives free swap.

I have got one exe which gives memory utilization/Virtual memory/page 
memory utilization, but not sure what should be consider as swap 
utilization ? I have downloaded this from below URL:

http://www.stic-online.de/stic/download/18/check_hugemem.zip

please refer above exe syntax 

-
check_hugemem.exe -h

check_hugemem - version 0.1 - csnp20070100.00/rie
Developed by STIC GmbH - nagios(at)stic-online.de - www.stic-online.de
see license.txt for license details.

-h help
-a about this plugin
-w=warn  warn
-c=crit  crit (e.g. -c=10)
-t=type  path (e.g. -t=physical, -t=virtual, -t=page)

check_hugemem -t=virtual -warn=80 -crit=90
 


Can you please let me know which should consider ( -t=virtual, -t=page) as 
swap utilization in above exe. 

Mohandas Kudva K
ASE
Tata Consultancy Services
Cell:- +91 9619144048
Mailto: mohanda...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Outsourcing

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NSCA - Network server bind failure

2009-05-08 Thread Kevin Keane
This means exactly what the error message says: that there is already 
another program using port 5667. Odds are that nsca is already running 
on your computer; maybe it got started as a daemon on system startup.

Joan Tugores wrote:
 Hi all,

 When I try to put up the daemon nsca with the command 
 /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg in 
 /var/log/messages appears Network server bind failure (98: Address 
 already in use) the port 5667 is configured and netstat -na show 
 tcp   0 00.0.0.0:56670.0.0.0:*  LISTEN.

 Please Help.

 Thanks.

 -- 
 

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 

 ___
 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


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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NSCA - Network server bind failure

2009-05-08 Thread Joan Tugores




Nsca not running "ps -ef | grep nsca" not show process nsca.

Kevin Keane escribi:

  This means exactly what the error message says: that there is already 
another program using port 5667. Odds are that nsca is already running 
on your computer; maybe it got started as a daemon on system startup.

Joan Tugores wrote:
  
  
Hi all,

When I try to put up the daemon nsca with the command 
"/usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg" in 
"/var/log/messages" appears "Network server bind failure (98: Address 
already in use)" the port 5667 is configured and netstat -na show 
"tcp   0 00.0.0.0:56670.0.0.0:*  LISTEN".

Please Help.

Thanks.

-- 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com


___
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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] Connection refused

2009-05-08 Thread Surajit Mukherjee
Hi Kevin,

The output netstat -anb looks like this.

TCP0.0.0.0:   0.0.0.0:**  ESTABLISHED 
 [putty.exe]


Where in left 0.0.0.0: is my windows server along with port and the
right is the Linux server along with port. Is it not correct?

Surajit 
 

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com] 
Sent: Friday, May 08, 2009 1:56 PM
Cc: Nagios User list
Subject: Re: [Nagios-users] Connection refused

What connection, exactly, do you show as established with netstat -an?

It can't really be the one you are talking about, because that never 
connected.

In any case, you would want to look for LISTENING rather than 
ESTABLISHED in the output for netstat -an. The local address on the left

should say something like 0.0.0.0: (where  is the port number). 
If it says 127.0.0.1 then NSClient++ is not listening on the Ethernet
port.

If you don't see an entry that listens on the correct port, then 
double-check that NSClient++ is running.

If you do see an entry to listen on the correct port, try running nestat

-anb . This will tell you which program is actually doing the listening.

If it isn't NSClient++, you found your culprit. That's not likely,
though.

If netstat -anb shows NSClient++ as listening correctly, you almost 
certainly have a firewall issue.

Surajit Mukherjee wrote:
 Andy,

 I am unable to telnet to the port from the Nagios server.

 I checked netstat -an and the connection is established. I am able to
 telnet from windows server to the Linux server.

 Surajit 
  
 -Original Message-
 From: Andy Shellam [mailto:andy-li...@networkmail.eu] 
 Sent: Friday, May 08, 2009 12:03 PM
 To: Surajit Mukherjee
 Cc: Nagios User list
 Subject: Re: [Nagios-users] Connection refused

 Surajit,

 Is the service actually running on that server?  Can you telnet to the

 NSClient++ port manually?

 Regards,
 Andy

 Surajit Mukherjee wrote:
   
 I am getting Connection refused status information on a Windows
2003
 Server that is using NSClient++.  Out of the 7 Windows server I have
 
 in
   
 Nagios 3.0.6, this is the only server giving me that error

 ** **

 **Cheers,**

 **Surajit**
 
-- 
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.



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks
to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 communication is intended solely for
the use of the individual or entity to whom it is addressed and others 
authorized to receive it.   It may contain confidential or legally 
privileged information.   If you are not the intended recipient you are 
hereby notified that any disclosure, copying, distribution or taking any 
action in reliance on the contents of this information is strictly prohibited 
and may be unlawful. If you have received this communication in error, 
please notify us immediately by forwarding this email to 
mailad...@ness.com and then delete it from your system.

Ness technologies is neither liable for the proper and complete 
transmission of the information contained in this communication nor for 
any delay in its receipt.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios 

Re: [Nagios-users] NSCA - Network server bind failure

2009-05-08 Thread Kevin Keane
Try

netstat -ltunp | grep 5667

And respond to the group, please.

Joan Tugores wrote:
 Nsca not running ps -ef | grep nsca not show process nsca.

 Kevin Keane escribió:
 This means exactly what the error message says: that there is already 
 another program using port 5667. Odds are that nsca is already running 
 on your computer; maybe it got started as a daemon on system startup.

 Joan Tugores wrote:
   
 Hi all,

 When I try to put up the daemon nsca with the command 
 /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg in 
 /var/log/messages appears Network server bind failure (98: Address 
 already in use) the port 5667 is configured and netstat -na show 
 tcp   0 00.0.0.0:56670.0.0.0:*  LISTEN.

 Please Help.

 Thanks.

 -- 
 

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image 
 processing features enabled. http://p.sf.net/sfu/kodak-com
 

 ___
 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
 


   


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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Connection refused

2009-05-08 Thread Kevin Keane
It may well be correct, but is a completely different setup! You have an 
SSH tunnel; that's a rather critical piece of information. You have an 
SSH tunnel from the Windows machine to somewhere else, instead of having 
an NSClient++.

Maybe you meant to do a remote port forwarding and instead set up local 
port forwarding.

Surajit Mukherjee wrote:
 Hi Kevin,

 The output netstat -anb looks like this.

 TCP0.0.0.0:   0.0.0.0:**  ESTABLISHED 
  [putty.exe]


 Where in left 0.0.0.0: is my windows server along with port and the
 right is the Linux server along with port. Is it not correct?

 Surajit 
  

 -Original Message-
 From: Kevin Keane [mailto:subscript...@kkeane.com] 
 Sent: Friday, May 08, 2009 1:56 PM
 Cc: Nagios User list
 Subject: Re: [Nagios-users] Connection refused

 What connection, exactly, do you show as established with netstat -an?

 It can't really be the one you are talking about, because that never 
 connected.

 In any case, you would want to look for LISTENING rather than 
 ESTABLISHED in the output for netstat -an. The local address on the left

 should say something like 0.0.0.0: (where  is the port number). 
 If it says 127.0.0.1 then NSClient++ is not listening on the Ethernet
 port.

 If you don't see an entry that listens on the correct port, then 
 double-check that NSClient++ is running.

 If you do see an entry to listen on the correct port, try running nestat

 -anb . This will tell you which program is actually doing the listening.

 If it isn't NSClient++, you found your culprit. That's not likely,
 though.

 If netstat -anb shows NSClient++ as listening correctly, you almost 
 certainly have a firewall issue.

 Surajit Mukherjee wrote:
   
 Andy,

 I am unable to telnet to the port from the Nagios server.

 I checked netstat -an and the connection is established. I am able to
 telnet from windows server to the Linux server.

 Surajit 
  
 -Original Message-
 From: Andy Shellam [mailto:andy-li...@networkmail.eu] 
 Sent: Friday, May 08, 2009 12:03 PM
 To: Surajit Mukherjee
 Cc: Nagios User list
 Subject: Re: [Nagios-users] Connection refused

 Surajit,

 Is the service actually running on that server?  Can you telnet to the
 

   
 NSClient++ port manually?

 Regards,
 Andy

 Surajit Mukherjee wrote:
   
 
 I am getting Connection refused status information on a Windows
   
 2003
   
 Server that is using NSClient++.  Out of the 7 Windows server I have
 
   
 in
   
 
 Nagios 3.0.6, this is the only server giving me that error

 ** **

 **Cheers,**

 **Surajit**
 
   


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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Gabriel - IP Guys
Dear All,

I'm trying to get my Nagios instance to behave properly! It seems to be
monitoring my servers just fine, but for some reason, all my servers,
which are different from each other show the same swap space, and the
same free disk space to within 10 megs.

Now the above tells me that there is a config error somewhere. In order
to test this, I log into my monitor server, and issue the following
command;

./Check_nrpe -H client_ip -c check_disk 50 80

My understanding tells me that the following happens

*   The check_nrpe plugin on the nagios monitor server runs, and
accesses the client at client_ip
*   It initiates its local check_disk plugin with the parameters of
50 and 80.
*   This causes the check_disk plugin on the client to run, as if
typed locally in this manner check_disk -w 50 -c 80

Running check_disk 50 80 on client_ip returns data on the disk state
Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios monitor
server returns unknown argument

I cannot figure out what is causing this discrepancy - check_nrpe -H
client_ip returns Nagios version so I know the communication works.

Any help will be appreciated


---
Kind Regards,
Mr Gabriel


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Do you use IPMI with nagios?

2009-05-08 Thread Jim Avery
2009/5/8 Marco Borsani m.bors...@it.net:
 Hi all !



 I am looking for a method to control many internal server entities like:

 -  Temperature

 -  Disks (how can we check them when are configured in Raid 1 or
 Raid 5 ??? )

 -  Fan

 -  Power supply

 -  Etc.



 I am performing some test with IPMI (on dell servers) and related
 applications like ipmitool and ipmiutil (very similar), but I am not able to
 check everything I’d like (for example…disk health)



 Do you use these tools/features ?



 How do you control disk health?

I configure the Dell OpenManage agent to send SNMP traps to the Nagios
server, then use NagTrap to process them.  I'm not 100% sure if this
will give you everything you are asking for though.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] The icinga on the cake ...

2009-05-08 Thread Andreas Ericsson
Hi all.

First of all, let me say I'm not writing this post for Ethan's sake,
but because I'm a member of the Nagios Community Advisory board and
I feel this is information the community should take part of.

Secondly, Ethan's under quite a bit of stress right now. If anybody
wants to cheer him up, send him a postcard or a picture of a screen
showing Nagios. He told me once it would be quite cool to get such
postcards but he never found an opportunity to ask for it. I can't
think of a better time than now ;-)

The address to Nagios Enterprises is
Nagios Enterprises, LLC
P.O. Box 8154
Saint Paul, MN 55108


Now read on and, in the words of The Hitchhikers Guide to the
Galaxy: Don't panic.


Jim Avery wrote:
 I'm surprised nobody's mentioned this yet...
 
 http://www.icinga.org/
 
 I only noticed it myself when I visited Nagios Exchange today.
 
 Not being a developer myself, I'm not quite sure what to say or think,

It's really the input from the community that matters the most. I *am*
a developer, and as a developer I applaud the effort to create a better
product, but as a human being I really don't like the way it's being
done.

It's been discussed quite a lot on the nagios-devel mailing list.
The facts so far seems to be thus:
* Netways registered Nagios as a trademark in Germany last year.
* The Icinga team is managed by Bernd Erk, who is also the chief
  programmer of Netways (to me, this makes it seem as if Netways
  instigated the fork).
* Ethan has been absent from the community for too long, stating legal
  issues against Netways for trademark violation as the reason for this.
* The primary reason stated for the fork is that the Icinga team feel
  that development isn't being done openly enough.
* Some german nagios-tribute sites claim to have received email from
  Nagios Enterprises requesting that they add a paragraph on their page
  stating that they're not affiliated with Nagios Enterprises in any
  way, and this has caused bad blood in the community (I have no details
  about this, and can therefore not give any).
* The icinga team has released no sources (ie, making a *worse* mistake
  than they feel Ethan is doing, who at least keeps his source repo
  publically available).
* The roadmap for Icinga focuses mainly on 3rd party addons that could
  easily have been created *without* forking.
* Some prominent developers and community members (no, I won't give
  names, but I'm one of them) think this is primarily an attempt from
  Netways to usurp the Nagios community.
* The german community developers that have responded on the nagios-devel
  list seem honest about their desire to create a better product.
* The development method of the Nagios core *will* change in some way.
  More on that later in this mail.

Later, it appears, is now.

So far, we (we being originally me and Ethan, and two emails later the
community advisory board, which presently consists of Ethan, myself, Ton
Voon, Alex Burger and Thomas Guyot-Sionnest) have discussed (nothing is
decided) increasing the number of people with commit access to the nagios
core repository.
I have been asked to join this team, and I've suggested two others whom
I feel can add value to the development process. I won't name any names
since neither have accepted or declined yet.

Me and Ton Voon argued that it would be a good idea to have all tecnical
and socio-technical (ie, patch-submission alternatives) on nagios-devel
instead of on a hidden list where a large part of the community have no
insight into the development process. Ethan hasn't responded to this yet,
but that's not so surprising as it was 2AM in Minnesota when me and Ton
wrote our emails, and it's currently 5AM (I think).

From what I've gathered from the discussions, it seems we agree on
incorporating Icinga patches into Nagios if they hold good quality and
add value to Nagios. Since many of the developers on the Icinga team are
quite good programmers, this should benefit Nagios rather quickly.
To make it easier to incorporate patches from the Icinga team, we have
also discussed moving the core Nagios repository to git from CVS. Read-
only users won't necessarily see any changes at all, as there already
exists a cvs-server capable of serving git repositories. For tarball
users and software distributions, it has zero impact.

Anything apart from the above that's been going on is either loose
speculation, bad research or misunderstanding on my behalf or relates
to information I haven't seen. I may also have missed something, in
which case I'm sure someone will point out my mistakes.

 except that I'm continuously deeply grateful to everyone who bring us
 Nagios itself, and the plugins and tools which make it greater than
 the sum of its parts.
 

Don't be. Well, be, but reserve some gratitude for yourself for using
it. Without a userbase, a project is just an academic exercise with as
much real value as a bucket of sand in a desert.

Oh, and send a postcard :)

-- 
Andreas Ericsson 

[Nagios-users] NSCA - Command file does not exist

2009-05-08 Thread Joan Tugores
Hi all,

When I send a packet to ncsa server this not processed.

In /var/log/messages:

Command file '/usr/local/nagios/var/rw/nagios.cmd' does not exist,attempting to 
use alternate dump file '/usr/local/nagios/var/rw/nsca.dump' for output

But nagios.cmd exists and the permissions are good.
prw-rw 1 nagios nagiosgrb0 may  5 09:59 nagios.cmd

Regards,
Joan


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Assaf Flatto
Gabriel 

I believe you may be confusing the two components .
Nagios is the core system submitting requests and gathering the answers from 
the clients and 
network.
NRPE is a client agent installed on the individual server being monitored from 
the nagios - and 
AFAIK there is no rpm for it , you can download it from the nagios site - 
addons   
http://www.nagios.org/download/addons/

Please read the documentation about the NRPE and see how to set it up to your 
needs .

Assaf



On Friday 08 May 2009 17:45:24 Gabriel - IP Guys wrote:
 I installed nagios from RPMs is there a way to check NRPE precompiled
 binary to check for support of arguments?

  -Original Message-
  From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com]
  Sent: 08 May 2009 10:38
  To: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE
  clients,giving funny results
 
  What is the configuration command of check_disk of the nrpe  in the
  clinet machine ?
 
  Did you setup the nrpe with the support-args when you complied it ?
 
  if not , the you will not be able to pass arguments to the nrpe
  executor , but will have to define
  the exect execution of each command in the nrpe client side.
 
  Assaf
 
  On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote:
   Dear All,
  
   I'm trying to get my Nagios instance to behave properly! It seems to
 
  be
 
   monitoring my servers just fine, but for some reason, all my

 servers,

   which are different from each other show the same swap space, and

 the

   same free disk space to within 10 megs.
  
   Now the above tells me that there is a config error somewhere. In
 
  order
 
   to test this, I log into my monitor server, and issue the following
   command;
  
   ./Check_nrpe -H client_ip -c check_disk 50 80
  
   My understanding tells me that the following happens
  
   * The check_nrpe plugin on the nagios monitor server runs, and
   accesses the client at client_ip
   * It initiates its local check_disk plugin with the parameters of
   50 and 80.
   * This causes the check_disk plugin on the client to run, as if
   typed locally in this manner check_disk -w 50 -c 80
  
   Running check_disk 50 80 on client_ip returns data on the disk state
   Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios
 
  monitor
 
   server returns unknown argument
  
   I cannot figure out what is causing this discrepancy - check_nrpe -H
   client_ip returns Nagios version so I know the communication works.
  
   Any help will be appreciated
  
  
   ---
   Kind Regards,
   Mr Gabriel

 -

  --
 
  --- The NEW KODAK i700 Series Scanners deliver under ANY
 
  circumstances! Your
 
   production scanning environment may not be a perfect world - but
 
  thanks to
 
   Kodak, there's a perfect scanner to get the job done! With the NEW
 
  KODAK
 
   i700 Series Scanner you'll get full speed at 300 dpi even with all
 
  image
 
   processing features enabled. http://p.sf.net/sfu/kodak-com
   ___
   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
 
  --
  Assaf Flatto
  SSP Ops Team
  Linux System Administrator
  169 Euston Road, London, NW1 2AE
 
  Along with a few colleagues I am doing The Three Peaks Challenge again
  this year to raise money for The Railway Children.
  Please sponsor me by making a donation online, simply click on the

 link

  below and give via your switch/credit card. Thank you.
  http://www.justgiving.com/londonnorththreepeaks
 
 
 
 
  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
  

Re: [Nagios-users] Do you use IPMI with nagios?

2009-05-08 Thread Ortner, Gerald
You can use check_openmanage to perform active checks
http://folk.uio.no/trondham/software/check_openmanage.html#performance-data

http://www.monitoringexchange.org/cgi-bin/search.cgi?d=1query=openmanage




-Ursprüngliche Nachricht-
Von: Jim Avery [mailto:j...@jimavery.me.uk] 
Gesendet: Freitag, 08. Mai 2009 11:33
An: Marco Borsani
Cc: nagios-users@lists.sourceforge.net
Betreff: Re: [Nagios-users] Do you use IPMI with nagios?

2009/5/8 Marco Borsani m.bors...@it.net:
 Hi all !



 I am looking for a method to control many internal server entities like:

 -  Temperature

 -  Disks (how can we check them when are configured in Raid 1 or
 Raid 5 ??? )

 -  Fan

 -  Power supply

 -  Etc.



 I am performing some test with IPMI (on dell servers) and related
 applications like ipmitool and ipmiutil (very similar), but I am not able to
 check everything I'd like (for example...disk health)



 Do you use these tools/features ?



 How do you control disk health?

I configure the Dell OpenManage agent to send SNMP traps to the Nagios
server, then use NagTrap to process them.  I'm not 100% sure if this
will give you everything you are asking for though.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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




OOe. Gesundheits- und Spitals-AG
Techcenter, Hafenstrasse 47-51, 4020 Linz
DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Gabriel - IP Guys
I get the concept, NRPE is installed on my client servers, and nagios
itself is installed on ate server designated the monitor server. This
server itself also has NRPE installed as it's monitored by a separate
nagios install, but that's above and beyond this issue. I've been told
that I cannot pass arguments to NRPE from the monitor server. For
example, check_nrpe -H client_IP check_disk - is the most that I can
issue on the monitor server. I guess this then means that in the *.cfg
files on nagios, everywhere it says check_nrpe!check_disk - there should
be no arguments after it?

If this is the case, then I think I found where the guy I replaced made
a mistake!

 -Original Message-
 From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com]
 Sent: 08 May 2009 11:00
 To: Nagios User list
 Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE
 clients,giving funny results
 
 Gabriel
 
 I believe you may be confusing the two components .
 Nagios is the core system submitting requests and gathering the
answers
 from the clients and
 network.
 NRPE is a client agent installed on the individual server being
 monitored from the nagios - and
 AFAIK there is no rpm for it , you can download it from the nagios
site
 - addons
 http://www.nagios.org/download/addons/
 
 Please read the documentation about the NRPE and see how to set it up
 to your needs .
 
 Assaf
 
 
 
 On Friday 08 May 2009 17:45:24 Gabriel - IP Guys wrote:
  I installed nagios from RPMs is there a way to check NRPE
precompiled
  binary to check for support of arguments?
 
   -Original Message-
   From: Assaf Flatto [mailto:assaf.fla...@ssp-intl.com]
   Sent: 08 May 2009 10:38
   To: nagios-users@lists.sourceforge.net
   Subject: Re: [Nagios-users] Nagios Monitor Server, and NRPE
   clients,giving funny results
  
   What is the configuration command of check_disk of the nrpe  in
the
   clinet machine ?
  
   Did you setup the nrpe with the support-args when you complied it
?
  
   if not , the you will not be able to pass arguments to the nrpe
   executor , but will have to define
   the exect execution of each command in the nrpe client side.
  
   Assaf
  
   On Friday 08 May 2009 17:26:57 Gabriel - IP Guys wrote:
Dear All,
   
I'm trying to get my Nagios instance to behave properly! It
seems
 to
  
   be
  
monitoring my servers just fine, but for some reason, all my
 
  servers,
 
which are different from each other show the same swap space,
and
 
  the
 
same free disk space to within 10 megs.
   
Now the above tells me that there is a config error somewhere.
In
  
   order
  
to test this, I log into my monitor server, and issue the
 following
command;
   
./Check_nrpe -H client_ip -c check_disk 50 80
   
My understanding tells me that the following happens
   
*   The check_nrpe plugin on the nagios monitor server runs,
 and
accesses the client at client_ip
*   It initiates its local check_disk plugin with the
 parameters of
50 and 80.
*   This causes the check_disk plugin on the client to run,
as
 if
typed locally in this manner check_disk -w 50 -c 80
   
Running check_disk 50 80 on client_ip returns data on the disk
 state
Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios
  
   monitor
  
server returns unknown argument
   
I cannot figure out what is causing this discrepancy -
check_nrpe
 -H
client_ip returns Nagios version so I know the communication
 works.
   
Any help will be appreciated
   
   
---
Kind Regards,
Mr Gabriel
 
 
-
 
   --
  
   --- The NEW KODAK i700 Series Scanners deliver under ANY
  
   circumstances! Your
  
production scanning environment may not be a perfect world - but
  
   thanks to
  
Kodak, there's a perfect scanner to get the job done! With the
 NEW
  
   KODAK
  
i700 Series Scanner you'll get full speed at 300 dpi even with
 all
  
   image
  
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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
  
   --
   Assaf Flatto
   SSP Ops Team
   Linux System Administrator
   169 Euston Road, London, NW1 2AE
  
   Along with a few colleagues I am doing The Three Peaks Challenge
 again
   this year to raise money for The Railway Children.
   Please sponsor me by making a donation online, simply click on the
 
  link
 
   below and give via your switch/credit card. Thank you.
   http://www.justgiving.com/londonnorththreepeaks
  
  
  
  
   IMPORTANT . this email and the information in it may be
 confidential,
   

Re: [Nagios-users] Nagios 3 ACK author

2009-05-08 Thread Andreas Ericsson
Sven Wiedeck wrote:
 Hi everybody,
 
 a few words before:
 - we're running a Nagios 3 installation
 - logins are disabled - everybody is nagiosadmin per default (only 
 internally reachable)
 
 Now I'm searching for a possibility to force the users to enter their 
 name when they acknowledge a problem.
 
 Currenty the author name is set to the default login per default 
 (nagiosadmin).
 Some people leave this name in there and we can't see who has ack'ed.
 
 Is there any way to leave the author name empty that Nagios rejects the 
 ack without entering a name?
 

The simple way is to create per-user accounts with admin rights and
then create contacts with the same names as the usernames you set.
The difficult way is to hack the CGI's and recompile.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 ACK author

2009-05-08 Thread Jim Avery
2009/5/8 Sven Wiedeck sven.wied...@wunderloop.com:
 Hi everybody,
 a few words before:
 - we're running a Nagios 3 installation
 - logins are disabled - everybody is nagiosadmin per default (only
 internally reachable)
 Now I'm searching for a possibility to force the users to enter their name
 when they acknowledge a problem.
 Currenty the author name is set to the default login per default
 (nagiosadmin).
 Some people leave this name in there and we can't see who has ack'ed.
 Is there any way to leave the author name empty that Nagios rejects the ack
 without entering a name?
 Thanks a lot,
 Sven


I guess you need to look in /usr/local/nagios/etc/cgi.cfg:

  # LOCK AUTHOR NAMES OPTION
  # This option determines whether users can change the author name
  # when submitting comments, scheduling downtime.  If disabled, the
  # author names will be locked into their contact name, as defined in Nagios.
  # Values: 0 = allow editing author names
  # 1 = lock author names (disallow editing)

  lock_author_names=1

And configure Nagios so that people will login using their own username.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Escalations Info

2009-05-08 Thread Martyn
That is how I have mine set up Craig and it is working as follows:

Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no emails are
sent.

However after that it reverts back to sending mails again.

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: 07 May 2009 19:13
To: nagios-user Mailinglist
Subject: Re: [Nagios-users] Escalations Info


On May 7, 2009, at 12:52 PM, cr...@hooters-uk.com wrote:

 First escalation: 3 because as I understand it this will occur after
 3 mails have been sent.
 Last Escalation: 3 because I want 3 SMS sent after my 3 mails.

 Is this the way to do it or have I not got the correct understanding 
 of it

I don't use escalations but my understanding is the numbering is sequential
--

Notification number 1 - email
2 - email
3 - email
4 - First Escalation - sms
5 - sms
6 - Last Escalation - sms

--
Marc




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700 Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Escalations Info

2009-05-08 Thread cr...@hooters-uk.com
Thanks I guess I will have to look into acks then, I will make a fresh post 
about this.

Thanks again all

Craig

--- Original Message ---
From: Martyn[mailto:mar...@chetnet.co.uk]
Sent: 08/05/2009 12:41:51
To  : m...@ena.com; nagios-users@lists.sourceforge.net
Cc  : 
Subject : RE: Re: [Nagios-users] Escalations Info

 That is how I have mine set up Craig and it is working as follows:

Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no emails are
sent.

However after that it reverts back to sending mails again.

-Original Message-



On May 7, 2009, at 12:52 PM, cr...@hooters-uk.com wrote:

 First escalation: 3 because as I understand it this will occur after
 3 mails have been sent.
 Last Escalation: 3 because I want 3 SMS sent after my 3 mails.

 Is this the way to do it or have I not got the correct understanding 
 of it

I don't use escalations but my understanding is the numbering is sequential
--

Notification number 1 - email
2 - email
3 - email
4 - First Escalation - sms
5 - sms
6 - Last Escalation - sms

--
Marc




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700 Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled.  http://p.sf.net/sfu/kodak-com 
___
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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled.  http://p.sf.net/sfu/kodak-com 
___
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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Sean McAfee
Gabriel - IP Guys wrote:
 I get the concept, NRPE is installed on my client servers, and nagios
 itself is installed on ate server designated the monitor server. This
 server itself also has NRPE installed as it's monitored by a separate
 nagios install, but that's above and beyond this issue. I've been told
 that I cannot pass arguments to NRPE from the monitor server. For
 example, check_nrpe -H client_IP check_disk - is the most that I can
 issue on the monitor server. I guess this then means that in the *.cfg
 files on nagios, everywhere it says check_nrpe!check_disk - there should
 be no arguments after it?
 
 If this is the case, then I think I found where the guy I replaced made
 a mistake!

I think you may not fully understand how NRPE works - check_nrpe just 
tells a client to run a predefined check.


In your scenario, with a typical NRPE setup, there would be a check on 
the Nagios server :

define command {
 command_namecheck_remote_disk
 command_line$USER1$/check_nrpe2 -H $HOSTADDRESS$ -c 
check_disk -a $ARG1$ $ARG2$
}


And a corresponding entry in the client nrpe.cfg:

command[check_disk]= /usr/local/libexec/nagios/check_disk -w $ARG1$ -c 
$ARG2$

Now to actually make it check:

define service{
 host_name   server.example.com
 service_description Disk Space Check
 use generic-service
 check_command  check_remote_disk!50!80
}


On the Nagios host, this check is expanded to `check_nrpe2 -H 
server.example.com -c check_disk -a 50 80`, which  is seen by the NRPE 
daemon, and exanded to `/usr/local/libexec/nagios/check_disk -w 50 -c 80`.

Even if you can't pass arguments to the client NRPE because of policy or 
security reasons, you can still pass arguments on to the client-local 
check scripts with a few minor changes.

On Nagios:

define command {
 command_namecheck_remote_disk
 command_line$USER1$/check_nrpe2 -H $HOSTADDRESS$ -c 
check_disk_default
}

define service{
 host_name   server.example.com
 service_description foo.txt file age
 use generic-service
 check_command  check_remote_disk
}


And finally on the client nrpe.cfg:
command[check_disk_default]= /usr/local/libexec/nagios/check_disk -w 50 
-c 80

The only real tradeoffs to doing it this way are relating to templating 
and configuration centralization, so the hit is restricted to management 
overhead.

-- 
Sean McAfee
System Engineer

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Remote Acknowledge

2009-05-08 Thread cr...@hooters-uk.com
Hi Group

I'm trying to find a way of letting our users acknowledge their own servers 
faults without the 
need to log in to Nagios, I have seen that there are remote commands you can 
issue which allow 
this to happen, but this is where I need a little instruction on how to use 
them.

http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=39

In the Nagios book I have been reading it mention's the use of Ticket Systems 
and making sure that 
Nagios can integrate with them and when I goggled the question the one of the 
results I got was 
OTRS.

I guess that means I can raise a ticket by injecting Nagios info into it, but 
would I be able to 
use ACK's from within too, if not do you know of a solution that could do this.

Thanks

Craig 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 switches via SNMP --

2009-05-08 Thread Andrew Davis
You're more likely to get a good response by emailing the entire list 
than you are by emailing me directly...


 A. Davis

Mike Saldivar wrote:

Hi there,

I have a new installation of Nagios, Version 3.0.6, running on Ubuntu 
8.10.  I followed the Quick Start guide for Ubuntu, and everything 
went swimmingly, installing Nagios, the Plug-ins, Apache, et al.  
Nagios started up and monitored itself, and following the quick-starts 
for Linux and Windows, I've been able to get it to monitor all my hosts.


So I'm now trying to get it to monitor a Cisco ASA 5510 VPN.  On the 
ASA, I enabled SNMP, and pointed it to the Nagios machine for reporting.


On the Nagios box, I copied up the switch.cfg, changed the IP address 
and hostname, etc, following the instructions:

http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html

Restarting, I see these errors such as this.  Posting the error, then 
the corresponding portion of the switch.cfg:


Inside Interface   CRITICAL 05-07-2009 16:54:07 0d 2h 53m 31s 
3/3 (Return code of 127 is out of bounds - plugin may be missing)


---
define service{
use generic-service ; Inherit values from 
a template

host_name   CCLogan-ASA5510-1
service_description Inside Interface
check_command   check_snmp!-C public -o 
ifOperStatus.INSIDE -r 1 -m RFC1213-MIB

}
---

I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk 
on the device said that's what this port name was, but I can change it 
back.  But googling the error (Return code of 127 ...) seems to 
indicate I'm missing net-snmp or net-snmp-util, but I'm not sure how 
to install them -- can't do a rpm -qa on Ubuntu, and I don't know what 
the corresponding command is with apt-get.  But searching the Ubuntu 
repositories, I can' find an equivalent to net-snmp-util, so I think 
that's the problem.  Snmpwalk works though, so I figure I have 
something half-working...



The other error I see is:

---
Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s 
3/3 check_mrtgtraf: Unable to open MRTG log file


---
define service{
use generic-service ; Inherit values from 
a template

host_name   CCLogan-ASA5510-1
service_description Port 1 Bandwidth
check_command   
check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!100,100!500,500!10

}
---

I looked, and /var/lib/mrtg/ didn't exist.  Googling, I saw a tip to 
change it to /var/www/mrtg/, but that directory didn't exist either.  
I created /var/lib/mrtg/ and chown'd it to nagios:nagios and restarted 
Nagios, but still nothing.  Is there a mrtg config file I need to edit?


Should I check into check_cisco.pl, or does that work better for the 
huge switches than the itty-bitty 4-porters?


Thanks a heap,
-Mike
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] R: Do you use IPMI with nagios?

2009-05-08 Thread Marco Borsani
--
I configure the Dell OpenManage agent to send SNMP traps to the Nagios
server, then use NagTrap to process them.  I'm not 100% sure if this
will give you everything you are asking for though.

Cheers,

Jim
--


Ok , but IPMI is a standard while OpenManage is just for Dell Servers 


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] R: Do you use IPMI with nagios?

2009-05-08 Thread Jim Avery
2009/5/8 Marco Borsani m.bors...@it.net:
 --
 I configure the Dell OpenManage agent to send SNMP traps to the Nagios
 server, then use NagTrap to process them.  I'm not 100% sure if this
 will give you everything you are asking for though.

 Cheers,

 Jim
 --


 Ok , but IPMI is a standard while OpenManage is just for Dell Servers 

That's true and in an ideal world I agree, but often you will find
that the tool provided specifically by the manufacturer to monitor the
hardware which they designed will give you more detail than the open
more general-purpose one.  That's not alway the case though of course,
sometimes the manufacturer's tools are a pile of junk!

Me, I use whatever will get the job done.  I inherited some servers
which already had OpenManage installed so I used it.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Sean McAfee
Proskurin Kirill wrote:
 Hello all.
 
 I try to add a check_http with expecting some word in a body.
 But:
 
 
 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR
 
 BUT it must be ERROR - not ok.
 What I do wrong?

The -s=ERROR is being POSTed because you're missing an argument for 
-P, making Nagios interpret the rest as the required string for -P.


-- 
Sean McAfee
System Engineer

Collaborative Fusion, Inc.
  smca...@collaborativefusion.com
  412-422-3463 x 4025

5849 Forbes Avenue
Pittsburgh, PA 15217


IMPORTANT: This message contains confidential information
and is intended only for the individual named. If the reader of
this message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Assaf Flatto
HTTP reply 200 means that the webserver found the page you requested .
if you want to get an ERROR you should either point to a non existing page , 
which will give you  
the  404 error , 

in the example you provide it seem you are trying to submit some string to the 
jsp and expecting it 
to return an error , but you are not submitting any string .

Assaf

On Friday 08 May 2009 22:44:31 Proskurin Kirill wrote:
 Hello all.

 I try to add a check_http with expecting some word in a body.
 But:


 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR

 POST /some.jsp HTTP/1.0
 User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
 Connection: close
 Host: example.com
 Content-Type: application/x-www-form-urlencoded
 Content-Length: 8

 -s=ERROR

 http://example.com:80/some.jsp is 386 characters
 STATUS: HTTP/1.1 200 OK
  HEADER 
 Server: Apache-Coyote/1.1
 Set-Cookie: JSESSIONID=72439B901515114D613218FF9FD8084D; Path=/
 Content-Type: text/html;charset=ISO-8859-1
 Content-Length: 154
 Date: Fri, 08 May 2009 14:07:29 GMT
 Connection: close
  CONTENT 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 html
 head
 titleSomeTitle/title

 /head
 body
 OKAY

 /body
 /html

 HTTP OK HTTP/1.1 200 OK - 386 bytes in 0.450 seconds

 |time=0.449973s;;;0.00 size=386B;;;0

 BUT it must be ERROR - not ok.
 What I do wrong?



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

Along with a few colleagues I am doing The Three Peaks Challenge again 
this year to raise money for The Railway Children.
Please sponsor me by making a donation online, simply click on the link 
below and give via your switch/credit card. Thank you.
http://www.justgiving.com/londonnorththreepeaks




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
 
 

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Holger Weiss
* Proskurin Kirill proskurin...@fxclub.org [2009-05-08 18:44]:
 I try to add a check_http with expecting some word in a body.
 But:
 
 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR

In this command line, -s=ERROR will be interpreted as an argument to
the -P option, see the --help output:

$ check_http -h | grep -A 1 -- ' -P'
 -P, --post=STRING
URL encoded http POST data

Without the -P option (or with an appropriate argument to the -P
option), things should work as expected:

$ check_http -H www.nagiosplugins.org -P -s=ERROR
HTTP OK HTTP/1.1 200 OK - 19113 bytes in 1.578 seconds 
|time=1.578360s;;;0.00 size=19113B;;;0
$ check_http -H www.nagiosplugins.org -s=ERROR
HTTP CRITICAL - string not found|time=0.861949s;;;0.00 size=19048B;;;0

Holger

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 ACK author

2009-05-08 Thread Sven Wiedeck

Hi,

thanks for the replies but we don't want to create user accounts for   
30 people if it's not absolutely neccesary.


So the auto-login is the only way so far...

Sven


Am 08.05.2009 um 13:11 schrieb Jim Avery:


2009/5/8 Sven Wiedeck sven.wied...@wunderloop.com:

Hi everybody,
a few words before:
- we're running a Nagios 3 installation
- logins are disabled - everybody is nagiosadmin per default (only
internally reachable)
Now I'm searching for a possibility to force the users to enter  
their name

when they acknowledge a problem.
Currenty the author name is set to the default login per default
(nagiosadmin).
Some people leave this name in there and we can't see who has ack'ed.
Is there any way to leave the author name empty that Nagios rejects  
the ack

without entering a name?
Thanks a lot,
Sven



I guess you need to look in /usr/local/nagios/etc/cgi.cfg:

 # LOCK AUTHOR NAMES OPTION
 # This option determines whether users can change the author name
 # when submitting comments, scheduling downtime.  If disabled, the
 # author names will be locked into their contact name, as defined  
in Nagios.

 # Values: 0 = allow editing author names
 # 1 = lock author names (disallow editing)

 lock_author_names=1

And configure Nagios so that people will login using their own  
username.


hth,

Jim


Sven
IT/Administrator

wunderloop media services GmbH
Holzdamm 18
20099 Hamburg

T +49 (0)40 - 432 07 826
F +49 (0)40 - 432 07 799
E sven.wied...@wunderloop.com

www.wunderloop.de

Sitz und Handelsregister: AG Hamburg, HRB 80 530
Geschäftsführung: Torsten Ahlers, Sven Bagemihl, Frank Conrad, Dr.  
Christoph Bauer


This e-mail is confidential and is intended for the addressee(s) only.  
If you are not the named addressee you may not use it, copy it or  
disclose it
to any other person. If you received this message in error please  
notify the

sender immediately.

P please consider the environment - do you really need to print this  
email?


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] check_http -s

2009-05-08 Thread Proskurin Kirill
Sean McAfee wrote:
 Proskurin Kirill wrote:
 Hello all.

 I try to add a check_http with expecting some word in a body.
 But:


 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR

 BUT it must be ERROR - not ok.
 What I do wrong?
 
 The -s=ERROR is being POSTed because you're missing an argument for 
 -P, making Nagios interpret the rest as the required string for -P.

I do not understand you right...
I try to explain more detail.

On some site works some jsp what check inner logic of site and return in 
body OKEY or ERROR.

I what to make a check_http and IF i got in page body word ERROR - 
then make check critical IF in page body i got OKEY - return OK.

As I understand -s= - it is what I expect in page body.

Or I not understand it right? :-)

-- 
Best regards,
Proskurin Kirill

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_by_ssh error: Remote command execution failed: You don't exist, go away!

2009-05-08 Thread Chris Pepper
I'm not finding much current documentation on check_by_ssh -- does it 
work?

I have set up the nagios account with /bin/sh as its shell on 2 Linux 
Nagios servers and several clients (RHEL/SuSE/Sol10). I installed 
nagios-plugins-1.4.13 on the clients, and set up public key trust for ssh.

Unfortunately, Nagios remote checks via check_by_ssh fail from both 
servers to all clients. Here's the debug transcript trying to 
check_disks on jean (Solaris 10):

 [1241794800.756298] [128.1] [pid=20907] External Command Type: 7
 [1241794800.756316] [128.1] [pid=20907] Command Entry Time: 1241794800
 [1241794800.756325] [128.1] [pid=20907] Command Arguments: 
 jean.cbio.mskcc.org;remote-disk-space;1241794797
 [1241794800.756343] [016.0] [pid=20907] Scheduling a non-forced, active check 
 of service 'remote-disk-space' on host 'jean.cbio.mskcc.org' @ Fri May  8 
 10:59:57 2009
 [1241794801.012178] [016.0] [pid=20907] Attempting to run scheduled check of 
 service 'remote-disk-space' on host 'jean.cbio.mskcc.org': check options=0, 
 latency=4.012000
 [1241794801.012227] [016.0] [pid=20907] Checking service 'remote-disk-space' 
 on host 'jean.cbio.mskcc.org'...
 [1241794801.012255] [2048.1] [pid=20907]  BEGIN MACRO PROCESSING 
 ***
 [1241794801.012265] [2048.1] [pid=20907] Processing: '$USER1$/check_by_ssh -H 
 $HOSTADDRESS$ -C '/usr/local/nagios/libexec/check_disk -l -uGB''
 [1241794801.012291] [2048.1] [pid=20907]   Done.  Final output: 
 '/usr/local/nagios/libexec/check_by_ssh -H jean.cbio.mskcc.org -C 
 '/usr/local/nagios/libexec/check_disk -l -uGB''
 [1241794801.012300] [2048.1] [pid=20907]  END MACRO PROCESSING 
 *
 [1241794801.012367] [016.1] [pid=20907] Check result output will be written 
 to '/usr/local/nagios/var/spool/checkresults/checkXfUAxl' (fd=7)
 [1241794806.141453] [016.1] [pid=20907] Handling check result for service 
 'remote-disk-space' on host 'jean.cbio.mskcc.org'...
 [1241794806.141465] [016.0] [pid=20907] ** Handling check result for service 
 'remote-disk-space' on host 'jean.cbio.mskcc.org'...
 [1241794806.141474] [016.1] [pid=20907] HOST: jean.cbio.mskcc.org, SERVICE: 
 remote-disk-space, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, 
 RESCHEDULE: Yes, EXITED OK: Yes, RETURN CODE: 3, OUTPUT: Re\nte command 
 execution failed: You don't exist, go away!
 [1241794806.141496] [016.1] [pid=20907] Service is in a non-OK state!
 [1241794806.141506] [016.1] [pid=20907] Host is currently UP, so we'll 
 recheck its state to make sure...
 [1241794806.141515] [016.1] [pid=20907] * Using last known host state: 0
 [1241794806.141525] [016.1] [pid=20907] Current/Max Attempt(s): 3/3
 [1241794806.141534] [016.1] [pid=20907] Service has reached max number of 
 rechecks, so we'll handle the error...
 [1241794806.141543] [016.1] [pid=20907] Checking service 'remote-disk-space' 
 on host 'jean.cbio.mskcc.org' for flapping...
 [1241794806.141553] [016.1] [pid=20907] Service is not flapping (0.00% state 
 change).
 [1241794806.141567] [016.1] [pid=20907] Checking host 'jean.cbio.mskcc.org' 
 for flapping...
 [1241794806.141577] [016.1] [pid=20907] Host is not flapping (0.00% state 
 change).
 [1241794806.141593] [032.0] [pid=20907] ** Service Notification Attempt ** 
 Host: 'jean.cbio.mskcc.org', Service: 'remote-disk-space', Type: 0, Options: 
 0, Current State: 3, Last Notification: Fri May  8 10:02:42 2009

But I can run the plugin manually -- nag...@jean trusts nag...@maguro:

 nag...@maguro:~ /usr/local/nagios/libexec/check_by_ssh -H 
 jean.cbio.mskcc.org -C '/usr/local/nagios/libexec/check_disk -l -uGB'
 DISK OK - free space: / 4 GB (55% inode=82%); /etc/svc/volatile 9 GB (99% 
 inode=99%); /lib/libc.so.1 4 GB (55% inode=82%); /var 2 GB (71% inode=95%); 
 /tmp 9 GB (99% inode=99%); /var/run 9 GB (99% inode=99%); /export/home 887 GB 
 (99% inode=99%); /jean 30542 GB (86% inode=99%);| /=3GB;;;0;7 
 /etc/svc/volatile=0GB;;;0;9 /lib/libc.so.1=3GB;;;0;7 /var=1GB;;;0;3 
 /tmp=0GB;;;0;9 /var/run=0GB;;;0;9 /export/home=0GB;;;0;897 
 /jean=4921GB;;;0;35464
 nag...@maguro:~ /usr/local/nagios/libexec/check_by_ssh -H 
 jean.cbio.mskcc.org -C 'id -a'
 uid=108(nagios) gid=108 groups=108

Any suggestions?

Thanks,

Chris
-- 
Chris Pepper:http://cbio.mskcc.org/
  http://www.extrapepperoni.com/

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios 

Re: [Nagios-users] check_http -s

2009-05-08 Thread Proskurin Kirill
Holger Weiss wrote:
 * Proskurin Kirill proskurin...@fxclub.org [2009-05-08 18:44]:
 I try to add a check_http with expecting some word in a body.
 But:

 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR
 
 In this command line, -s=ERROR will be interpreted as an argument to
 the -P option, see the --help output:

Ops! I missed what I post wrong command to list. Sorry.
I fix it but:

./check_http -v -H example.com -u /some.jsp -s=OKAY
GET /some.jsp HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: example.com


http://example.com:80/some.jsp is 386 characters
STATUS: HTTP/1.1 200 OK
 HEADER 
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=C75D8239CF3F0C0D4FEF29DCD9316EBD; Path=/
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 154
Date: Fri, 08 May 2009 15:51:01 GMT
Connection: close
 CONTENT 
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
titleCheck/title

/head
body
OKAY

/body
/html

HTTP CRITICAL - string not found|time=0.447721s;;;0.00 size=386B;;;0

-- 
Best regards,
Proskurin Kirill

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Sean McAfee
Proskurin Kirill wrote:
 Sean McAfee wrote:
 Proskurin Kirill wrote:
 Hello all.

 I try to add a check_http with expecting some word in a body.
 But:


 ./check_http -v -H example.com -u /some.jsp -P -s=ERROR

 BUT it must be ERROR - not ok.
 What I do wrong?
 The -s=ERROR is being POSTed because you're missing an argument for 
 -P, making Nagios interpret the rest as the required string for -P.
 
 I do not understand you right...
 I try to explain more detail.
 
 On some site works some jsp what check inner logic of site and return in 
 body OKEY or ERROR.
 
 I what to make a check_http and IF i got in page body word ERROR - 
 then make check critical IF in page body i got OKEY - return OK.
 
 As I understand -s= - it is what I expect in page body.
 
 Or I not understand it right? :-)

No, you're right about -s, but you command is being parsed as:

./check_http -v -H example.com -u /some.jsp -P -s=ERROR

because you're missing an argument for the -P flag.

Change it to:

./check_http -v -H example.com -u /some.jsp -s=ERROR

and it will work as you expect.

-- 
Sean McAfee
System Engineer

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 and NDO2DB daemon

2009-05-08 Thread Thierry Granier
Hi,
i am trying to install NDOutils to stock all events in a mysql database.
the event broker module ndomod-3x.o is starting correctly but i next get the 
message :

ndomod:unable to connect data sink

What can i do?
Many thanks

T Granier--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] check_snmp - warning numbers

2009-05-08 Thread Matias Blanco
Hello,

When i made an snmpwalk to a ip computer there is no response.
The snmpwalk to a switch,router or printer works ok.

Does any body know the reason?


Cristian...




-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: Jueves, 07 de Mayo de 2009 17:02
Para: 'Alejandro Sánchez Meroño'; Nagios-users@lists.sourceforge.net
Asunto: Re: [Nagios-users] check_snmp - warning numbers

Hello, 
How can i do an snmpwalk on my switch?

Thanks,

Cristian...




-Mensaje original-
De: Alejandro Sánchez Meroño [mailto:alejandro.sanc...@ite.es] 
Enviado el: Jueves, 07 de Mayo de 2009 05:44
Para: Matias Blanco; Nagios-users@lists.sourceforge.net
Asunto: RE: [Nagios-users] check_snmp - warning numbers

Hola de nuevo...

I'll answer you in English so that anybody in the list can understand
and participate in this subject.

I think that if you don't know exactly which parameter to monitor you
should browse the whole OID list that you receive when you do a snmpwalk
on your switch, and identify the ones that fit your needs, with the help
of the website I said yesterday, or any other OIDs reference.

My case: The only thing I want to detect is if there is any damaged port
in any of my switches. So what I did was to snmpwalk on a switch which I
positively knew that had its port #2 damaged, and discover which OID was
significantly different for this port. And the one I found is: 

iso.3.6.1.2.1.10.7.2.1.7

(maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7)

defined as: a count of frames for which the first transmission attempt
on a particular interface is delayed because the medium is busy.

The thing is that it's the only OID I found that gave a very high value
for port #2 (about 65,000 or so) and 0 for the rest of ports that work
properly.

The command I defined for this was like this: 

define command {
command_name check_port
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O
iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries
}

For sure there must be somebody else in the list who can give to you a
more detailed or a more formally correct answer...

Hasta la proxima, 

  Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es 
Valencia - Spain



-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: miércoles, 06 de mayo de 2009 19:27
Para: Alejandro Sánchez Meroño; Nagios-users@lists.sourceforge.net
Asunto: RE: [Nagios-users] check_snmp - warning numbers

Hola Alejandro,

Ahora otra cosa:

De que manera crees que pueda chequear los puertos de mi switch con
nagios para tener una idea más clara de lo que está sucediendo?
Porque esos paquetes entrantes con errores no se si son por causa de la
PC o de los puerto del switch...

Muchas Gracias...

Cristian






Hola Matías... :-) and hola everyone...

There exists a magical website where to identify every OID you can check
with SNMP, the link is: 

http://support.ipmonitor.com/mibs_byoidtree.aspx

For your particular issue, if you type RFC1213-MIB at the Search
for: form, click the result given (RFC1213-MIB), and then View:
Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown,
and clicking it you'll find its Description, which reads literally:

The number of inbound packets that contained errors preventing them
from being deliverable to a higher-layer protocol.

That's the answer to your question!!

Now some other questions appear...

Wouldn't it be nicer to know what exactly are you monitoring before you
monitor it, so you could properly interpret the results?

Is that parameter (number of inbound packets that contained errors and
blah blah blah...) significant enough to determine if a port is working
properly or not? 

Hope this helps...

Best regards, 

 Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain


 

-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles,
06 de mayo de 2009 17:49
Para: Nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] check_snmp - warning numbers

Hi, I am using the check_snmp nagios`s plugin. And when we check the
ports status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK - 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description

Re: [Nagios-users] Centreon

2009-05-08 Thread Michael Hocke


On May 4, 2009, at 2:55 PM, Eduardo Barreto wrote:

I'm looking for a solution to monitor Nagios with some resources  
just like Cacti, and I found Centreon, does anyone know about it,  
working with Nagios?


I've been running Centreon for quite a while now under Solaris 10. It  
was a beast to setup correctly at first but once that hurdle was taken  
it's been smooth riding. I am still running 1.4 and Nagios 2 but I am  
planning to go to Centreon 2 and Nagios 3 in the near future.


- Michael



PGP.sig
Description: PGP signature
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] check_by_ssh error: Remote command execution failed: You don't exist, go away!

2009-05-08 Thread Chris Pepper
Chris Pepper wrote:
   I'm not finding much current documentation on check_by_ssh -- does it 
 work?

Nevermind! I forgot that I had found a UID conflict on some of the 
monitored nodes, so I changed nagios' UID on the monitoring servers. 
service nagios stop; chown -R nagios /usr/local/nagios; service nagios 
start and it's working.

Sorry for the noise!

Chris

-- 
Chris Pepper:http://cbio.mskcc.org/
  http://www.extrapepperoni.com/

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Holger Weiss
* Proskurin Kirill proskurin...@fxclub.org [2009-05-08 19:52]:
 ./check_http -v -H example.com -u /some.jsp -s=OKAY

Try -s OKAY or --string=OKAY.

Holger

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_http -s

2009-05-08 Thread Proskurin Kirill
Holger Weiss пишет:
 * Proskurin Kirill proskurin...@fxclub.org [2009-05-08 19:52]:
 ./check_http -v -H example.com -u /some.jsp -s=OKAY
 
 Try -s OKAY or --string=OKAY.

Thank you - it is works.
But last strange thing - check returns OK if I expect ANY letter of 
OKAY word.

./check_http -v -H example.com -u /some.jsp -s K  -- returns OK and so 
on. Bug?

-- 
Best regards,
Proskurin Kirill

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_by_ssh problem

2009-05-08 Thread Anirudh Srinivasan
In order to monitor the remote linux server we are using check_by_ssh as
root. I know it is not advisable to use it as root , but we are in a
transition to NRPE slowly which uses nagios.

Here's what i did :

1) As root copied the id_rsa.pub to the remote server's  root user's .ssh
directory and pasted it to the authorized_keys .

2) Then did ssh remote server ip and was able to login without password.

3) Then excecuted the check command remotely:

check_by_ssh -t 30 -l root -H remote server ip -C
/usr/lib/nagios/plugins/check_load -w10,15,20 -c15,20,25
OK - load average: 0.00, 0.00,
0.00|load1=0.00;10.00;15.00;0.00
load5=0.00;15.00;20.00;0.00
load15=0.00;20.00;25.00;0.00

check_by_ssh -t 30 -l root -H remote server ip  -C
/usr/lib/nagios/plugins/check_uptime
UPTIME OK - System up for 6 HOUR(s) and 38 Minute(s)
 Looks perfectly fine!!!

But from the Web interface i see this :

Remote command execution failed: buffer_get_ret: trying to get more bytes
129 than in buffer 97

I am clue less . Please advice me on this .
-- 
Anirudh Srinivasan
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Marc Powell

On May 8, 2009, at 4:26 AM, Gabriel - IP Guys wrote:

 Dear All,

 I'm trying to get my Nagios instance to behave properly! It seems to  
 be
 monitoring my servers just fine, but for some reason, all my servers,
 which are different from each other show the same swap space, and the
 same free disk space to within 10 megs.

This tells me that you're most likely not monitoring those through  
NRPE on the remote machines. I suspect that this is the value for your  
nagios machine. Config examples would help clarify.

 ./Check_nrpe -H client_ip -c check_disk 50 80

 My understanding tells me that the following happens

 * The check_nrpe plugin on the nagios monitor server runs, and
 accesses the client at client_ip

Correct.

 * It initiates its local check_disk plugin with the parameters of
 50 and 80.

Incorrect. check_nrpe does not pass arguments to the remote NRPE  
daemon unless --
- it was compiled with the --enable-command-args flag
- dont_blame_nrpe is set in nrpe.cfg
- you pass them with the -a switch to check_nrpe
- See the SECURITY document for NRPE for documentation and examples.

 * This causes the check_disk plugin on the client to run, as if
 typed locally in this manner check_disk -w 50 -c 80

No, but you may specify those arguments in the command definition in  
nrpe.cfg instead of trying to pass them via check_nrpe.

 Running check_disk 50 80 on client_ip returns data on the disk state
 Running ./Check_nrpe -H client_ip -c check_disk 50 80 on Nagios  
 monitor
 server returns unknown argument


 I cannot figure out what is causing this discrepancy - check_nrpe -H
 client_ip returns Nagios version so I know the communication works.

I expect you see now that the '50 80' is being interpreted as an  
argument to check_nrpe itself, not check_disk, hence the 'unknown  
argument' error. If they're static numbers, you're probably fine just  
specifying them in each host's nrpe.cfg file.

--
Marc

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] Escalations Info

2009-05-08 Thread Marc Powell

On May 8, 2009, at 6:41 AM, Martyn wrote:

 That is how I have mine set up Craig and it is working as follows:

 Alerts 1, 2 and 3 are emails, then 4, 5 and six are SMS and no  
 emails are
 sent.

 However after that it reverts back to sending mails again.

If that's not desired, wouldn't something like this work? --

define serviceescalation{
host_name   foo
service_description bar
first_notification  7
last_notification   999
contact_groups  none
}

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_snmp - warning numbers

2009-05-08 Thread frank
1. Make sure snmpd is running on the host. (classic mistake)
2. Make sure your community string and/or credentials are the same on the 
host and client.
3. Make sure you're using the same snmp version on client and server (v1, 
v2c, or v3)
4. Try running a tcpdump on the host while you're attempting the snmpwalk 
to verify that the snmp requests are reaching the host. At the same time 
verify that the host is trying to send out responses.
   # tcpdump udp port 161

I'm sure there are more tests you can do but this is a start.

-f

On Fri, 8 May 2009, Matias Blanco wrote:

 Date: Fri, 8 May 2009 13:02:28 -0300
 From: Matias Blanco mat...@valastro.com.ar
 To: 'Alejandro S?nchez Mero?o' alejandro.sanc...@ite.es,
 Nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] check_snmp - warning numbers
 
 Hello,

 When i made an snmpwalk to a ip computer there is no response.
 The snmpwalk to a switch,router or printer works ok.

 Does any body know the reason?


 Cristian...




 -Mensaje original-
 De: Matias Blanco [mailto:mat...@valastro.com.ar]
 Enviado el: Jueves, 07 de Mayo de 2009 17:02
 Para: 'Alejandro S?nchez Mero?o'; Nagios-users@lists.sourceforge.net
 Asunto: Re: [Nagios-users] check_snmp - warning numbers

 Hello,
 How can i do an snmpwalk on my switch?

 Thanks,

 Cristian...




 -Mensaje original-
 De: Alejandro S?nchez Mero?o [mailto:alejandro.sanc...@ite.es]
 Enviado el: Jueves, 07 de Mayo de 2009 05:44
 Para: Matias Blanco; Nagios-users@lists.sourceforge.net
 Asunto: RE: [Nagios-users] check_snmp - warning numbers

 Hola de nuevo...

 I'll answer you in English so that anybody in the list can understand
 and participate in this subject.

 I think that if you don't know exactly which parameter to monitor you
 should browse the whole OID list that you receive when you do a snmpwalk
 on your switch, and identify the ones that fit your needs, with the help
 of the website I said yesterday, or any other OIDs reference.

 My case: The only thing I want to detect is if there is any damaged port
 in any of my switches. So what I did was to snmpwalk on a switch which I
 positively knew that had its port #2 damaged, and discover which OID was
 significantly different for this port. And the one I found is:

 iso.3.6.1.2.1.10.7.2.1.7

 (maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7)

 defined as: a count of frames for which the first transmission attempt
 on a particular interface is delayed because the medium is busy.

 The thing is that it's the only OID I found that gave a very high value
 for port #2 (about 65,000 or so) and 0 for the rest of ports that work
 properly.

 The command I defined for this was like this:

 define command {
   command_name check_port
   command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O
 iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries
 }

 For sure there must be somebody else in the list who can give to you a
 more detailed or a more formally correct answer...

 Hasta la proxima,

  Alejandro

 ==
 Alejandro Sanchez Merono
 Area de Informatica y Comunicaciones
 Instituto de Tecnologia Electrica - http://www.ite.es
 Valencia - Spain



 -Mensaje original-
 De: Matias Blanco [mailto:mat...@valastro.com.ar]
 Enviado el: mi?rcoles, 06 de mayo de 2009 19:27
 Para: Alejandro S?nchez Mero?o; Nagios-users@lists.sourceforge.net
 Asunto: RE: [Nagios-users] check_snmp - warning numbers

 Hola Alejandro,

 Ahora otra cosa:

 De que manera crees que pueda chequear los puertos de mi switch con
 nagios para tener una idea m?s clara de lo que est? sucediendo?
 Porque esos paquetes entrantes con errores no se si son por causa de la
 PC o de los puerto del switch...

 Muchas Gracias...

 Cristian




 

 Hola Mat?as... :-) and hola everyone...

 There exists a magical website where to identify every OID you can check
 with SNMP, the link is:

 http://support.ipmonitor.com/mibs_byoidtree.aspx

 For your particular issue, if you type RFC1213-MIB at the Search
 for: form, click the result given (RFC1213-MIB), and then View:
 Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown,
 and clicking it you'll find its Description, which reads literally:

 The number of inbound packets that contained errors preventing them
 from being deliverable to a higher-layer protocol.

 That's the answer to your question!!

 Now some other questions appear...

 Wouldn't it be nicer to know what exactly are you monitoring before you
 monitor it, so you could properly interpret the results?

 Is that parameter (number of inbound packets that contained errors and
 blah blah blah...) significant enough to determine if a port is working
 properly or not?

 Hope this helps...

 Best regards,

 Alejandro

 ==
 Alejandro Sanchez Merono
 Area de Informatica y Comunicaciones
 Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain




 -Mensaje original-
 

Re: [Nagios-users] check_http -s

2009-05-08 Thread Marc Powell

On May 8, 2009, at 12:41 PM, Proskurin Kirill wrote:

 But last strange thing - check returns OK if I expect ANY letter of
 OKAY word.

 ./check_http -v -H example.com -u /some.jsp -s K  -- returns OK and so
 on. Bug?

No, not a bug. You're searching for 'K' and it is present in the word  
'OKAY' in the page. You're searching for simple strings, not words.  
Searching for the string 'OKAY' would successfully match  
'thisisreallycoolOKAYthxbai'.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 Monitor Server, and NRPE clients, giving funny results

2009-05-08 Thread Sean Carolan
 Dear All,

 I'm trying to get my Nagios instance to behave properly! It seems to
 be
 monitoring my servers just fine, but for some reason, all my servers,
 which are different from each other show the same swap space, and the
 same free disk space to within 10 megs.

You're running the same check repeatedly on one host.  Look carefully
at your commands.cfg and services.cfg definitions.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] check_by_ssh problem

2009-05-08 Thread Marc Powell

On May 8, 2009, at 1:13 PM, Anirudh Srinivasan wrote:

 In order to monitor the remote linux server we are using  
 check_by_ssh as root. I know it is not advisable to use it as root ,  
 but we are in a transition to NRPE slowly which uses nagios.

 Here's what i did :

 1) As root copied the id_rsa.pub to the remote server's  root  
 user's .ssh directory and pasted it to the authorized_keys .

nagios' id_rsa.pub?

 2) Then did ssh remote server ip and was able to login without  
 password.

from the nagios user?


 3) Then excecuted the check command remotely:

 check_by_ssh -t 30 -l root -H remote server ip -C /usr/lib/nagios/ 
 plugins/check_load -w10,15,20 -c15,20,25
 OK - load average: 0.00, 0.00, 0.00| 
 load1=0.00;10.00;15.00;0.00  
 load5=0.00;15.00;20.00;0.00  
 load15=0.00;20.00;25.00;0.00

from the nagios user?

 Remote command execution failed: buffer_get_ret: trying to get more  
 bytes 129 than in buffer 97

Are you using the latest version of OpenSSH?

--
Marc

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] The icinga on the cake ...

2009-05-08 Thread Sean Carolan
 Not being a developer myself, I'm not quite sure what to say or think,
 except that I'm continuously deeply grateful to everyone who bring us
 Nagios itself, and the plugins and tools which make it greater than
 the sum of its parts.

This is, IMHO, one of the greatest problems with open source
development.  Too much bickering, splintering and forking dilutes the
value of the product.  It's unfortunate that the main nagios devs and
these icinga people could not work together to simply improve the
existing code base.  There are a lot of great features that could be
added to nagios, yet it feels like development on some of these major
features has been very slw.

Ethan, if you're reading this, cheer up mate.  You are sitting on a
virtual gold mine.  Nagios is hands-down the best network monitoring
system available, you should be minting money selling support
contracts for it.  If you aren't then hire some good salespeople to
sell your support contracts and maybe a find good web developer to
give the GUI an upgrade!

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] [OT] Network help?

2009-05-08 Thread Israel Brewster
I apologize for the off-topic post, but I figure the people here tend  
to be involved with networking, so perhaps someone can direct me to  
the right place to post a question about some networking problems I am  
having. Any suggestions?

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




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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-users] nagios and mysql and NDOutils

2009-05-08 Thread Thierry Granier
Hello
i have installed NDOutils and i can run ndo2db-3x but
i have this message in the log:

ndomod: Error writing to data sink! Some output may get lost. 3996
queued items to flush.

The database nagios is empty
Thanks for your help

Thierry



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] [OT] Network help?

2009-05-08 Thread Jim Avery
2009/5/8 Israel Brewster isr...@frontierflying.com:
 I apologize for the off-topic post, but I figure the people here tend
 to be involved with networking, so perhaps someone can direct me to
 the right place to post a question about some networking problems I am
 having. Any suggestions?

If it's social-networking problems, I recommend maybe facebook.com!

Seriously though, it depends.  If it's to do with Linux you could seek
out your local LUG, but why not just say what the problem is here, you
never know ... someone might find a solution to your problem AND
explain how Nagios can help you to check how effective their answer to
it was!

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] The icinga on the cake ...

2009-05-08 Thread RijilV
2009/5/8 Sean Carolan scaro...@gmail.com:
 This is, IMHO, one of the greatest problems with open source
 development.  Too much bickering, splintering and forking dilutes the
 value of the product.

Yeah, because out of all of the commercial closed source development
projects I've worked on, none of them have ever had bickering,
splintering, forking or anything else horrible go on with them.

.r'

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] [OT] Network help?

2009-05-08 Thread Israel Brewster
On May 8, 2009, at 1:40 PM, Jim Avery wrote:

 2009/5/8 Israel Brewster isr...@frontierflying.com:
 I apologize for the off-topic post, but I figure the people here tend
 to be involved with networking, so perhaps someone can direct me to
 the right place to post a question about some networking problems I  
 am
 having. Any suggestions?

 If it's social-networking problems, I recommend maybe facebook.com!

 Seriously though, it depends.  If it's to do with Linux you could seek
 out your local LUG, but why not just say what the problem is here, you
 never know ... someone might find a solution to your problem AND
 explain how Nagios can help you to check how effective their answer to
 it was!

Nope, not social, although if I don't get it fixed soon (or find  
another solution) it might become a social problem :-) I didn't post  
it here because I thought some might get annoyed with me cluttering  
the list with non-nagios problems, but here goes.

Thanks to a recent company acquisition made by my company (Frontier  
Flying), we are now dealing with two separate networks (they will  
eventually be combined, but that's a ways off still). The company we  
bought (Era aviation) uses a piece of software called Sabre for their  
flight reservations, which contacts a central server to which their  
network has a direct connection. The Sabre server itself is on a third  
network, but there are a couple of routers that link the two (Sabre  
and Era) across a private network, so asside from a couple of routing  
and NAT statements they are effectively on the same network.

In order to be able to run Sabre on our network, we established a VPN  
tunnel between our network and Era's. As far as I can tell, the VPN is  
functioning. I can ping computers on the Era network, including the  
Sabre server, and can access and control various computers on the Era  
network. For initial testing purposes we installed the sabre software  
(windows only) inside a parallels installation on one of our Mac  
laptops. This worked perfectly. So far so good. Until we tried  
installing the software on one of our Windows desktops. Then the  
problems started. The Sabre software would make the initial connection  
and log in the user, but when it tried to download the initial info it  
needs, it just timed out. Every time. Meanwhile, the laptop, which was  
connected through the same dumb switch, continued to work perfectly.  
Every time. We took the Windows machine off our network and put it on  
Era's (different location, obviously) and it started working. Put it  
back on ours, timeout.

Since then we have tried installing Sabre on a number of different  
computers on our network. A second Mac laptop running parallels works  
fine, while a mac desktop with an identical install of parallels  
doesn't. We have managed get one Windows machine running the software  
on our network, while a stack of four windows machines that Era sent  
us which had been working on their network just fine don't work.

On one hand it seems impossible that it could be an issue with the  
network, because you would expect that to affect all computers  
equally, not the hit-and miss (but mostly miss) scenario that we are  
facing. On the other hand, it can't be a problem with the individual  
computer, because the same computer with the exact same configuration  
(including network settings - DHCP) works fine on the Era network, but  
stops working when moved to ours. We thought maybe it was a DNS  
problem (since obviously DHCP on our network would give different DNS  
servers than DHCP on Era's network), so we tried putting the Era DNS  
servers in statically, but while it worked as far as DNS went (we  
still got name resolution) that didn't help with Sabre.

We are going bald here tearing our hair out trying to figure out what  
could be causing this issue. Sabre technical support is no help - they  
just say it's our problem. Management is coming down on us pretty hard  
to get something working here, so any help anyone can provide would be  
GREATLY appreciated :-). Let me know if I left out any relevant  
details or testing we performed!

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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net

Re: [Nagios-users] [OT] Network help?

2009-05-08 Thread Jim Avery
2009/5/8 Israel Brewster isr...@frontierflying.com:
 We are going bald here tearing our hair out trying to figure out what could
 be causing this issue. Sabre technical support is no help - they just say
 it's our problem. Management is coming down on us pretty hard to get
 something working here, so any help anyone can provide would be GREATLY
 appreciated :-). Let me know if I left out any relevant details or testing
 we performed!


You have my every sympathy.  That kind of network problem can be a
right pain to solve.

I had a similar problem with a VPN from home to work a while ago.
After lots of googling I found the home router I was using had some
problem with packet reassembly (whatever that is) which was fixed by
upgrading to the latest firmware.  It was a bit strange because when I
wasn't using the VPN to work (just using normal internet) the router
seemed to work flawlessly.  It was only when I was connected to the
work network over SecuRemote that the problem reared its ugly head.

Once I'd upgraded the firmware, it was fine ...

... then I replaced the router with a wireless one from a different
manufacturer and even when I connected wired the problem was back
again!  Served me right for buying a cheapo one.

Not sure if that will help you at all though :-(

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] nagios and mysql and NDOutils

2009-05-08 Thread Cristiano Casado
ndomod (broker) can't write data on unix socket. Verify if ndo2db created a
unix socket in your system.

# netstat -anp |grep ndo.sock
unix  2  [ ACC ] STREAM LISTENING 14049966
25009/ndo2db-3x /var/nagios/rw/ndo.sock
unix  3  [ ] STREAM CONNECTED 14050152
30032/ndo2db-3x /var/nagios/rw/ndo.sock

Send us your ndo2db config values.


On Fri, May 8, 2009 at 6:35 PM, Thierry Granier th.gran...@free.fr wrote:

 Hello
 i have installed NDOutils and i can run ndo2db-3x but
 i have this message in the log:

 ndomod: Error writing to data sink! Some output may get lost. 3996
 queued items to flush.

 The database nagios is empty
 Thanks for your help

 Thierry




 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 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 NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com___
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] [OT] Network help?

2009-05-08 Thread Ari Constancio
On Fri, May 8, 2009 at 11:38 PM, Israel Brewster
isr...@frontierflying.com wrote:
 On May 8, 2009, at 1:40 PM, Jim Avery wrote:

 2009/5/8 Israel Brewster isr...@frontierflying.com:
 I apologize for the off-topic post, but I figure the people here tend
 to be involved with networking, so perhaps someone can direct me to
 the right place to post a question about some networking problems I
 am
 having. Any suggestions?

 If it's social-networking problems, I recommend maybe facebook.com!

 Seriously though, it depends.  If it's to do with Linux you could seek
 out your local LUG, but why not just say what the problem is here, you
 never know ... someone might find a solution to your problem AND
 explain how Nagios can help you to check how effective their answer to
 it was!

 Nope, not social, although if I don't get it fixed soon (or find
 another solution) it might become a social problem :-) I didn't post
 it here because I thought some might get annoyed with me cluttering
 the list with non-nagios problems, but here goes.

 Thanks to a recent company acquisition made by my company (Frontier
 Flying), we are now dealing with two separate networks (they will
 eventually be combined, but that's a ways off still). The company we
 bought (Era aviation) uses a piece of software called Sabre for their
 flight reservations, which contacts a central server to which their
 network has a direct connection. The Sabre server itself is on a third
 network, but there are a couple of routers that link the two (Sabre
 and Era) across a private network, so asside from a couple of routing
 and NAT statements they are effectively on the same network.

 In order to be able to run Sabre on our network, we established a VPN
 tunnel between our network and Era's. As far as I can tell, the VPN is
 functioning. I can ping computers on the Era network, including the
 Sabre server, and can access and control various computers on the Era
 network. For initial testing purposes we installed the sabre software
 (windows only) inside a parallels installation on one of our Mac
 laptops. This worked perfectly. So far so good. Until we tried
 installing the software on one of our Windows desktops. Then the
 problems started. The Sabre software would make the initial connection
 and log in the user, but when it tried to download the initial info it
 needs, it just timed out. Every time. Meanwhile, the laptop, which was
 connected through the same dumb switch, continued to work perfectly.
 Every time. We took the Windows machine off our network and put it on
 Era's (different location, obviously) and it started working. Put it
 back on ours, timeout.

 Since then we have tried installing Sabre on a number of different
 computers on our network. A second Mac laptop running parallels works
 fine, while a mac desktop with an identical install of parallels
 doesn't. We have managed get one Windows machine running the software
 on our network, while a stack of four windows machines that Era sent
 us which had been working on their network just fine don't work.

 On one hand it seems impossible that it could be an issue with the
 network, because you would expect that to affect all computers
 equally, not the hit-and miss (but mostly miss) scenario that we are
 facing. On the other hand, it can't be a problem with the individual
 computer, because the same computer with the exact same configuration
 (including network settings - DHCP) works fine on the Era network, but
 stops working when moved to ours. We thought maybe it was a DNS
 problem (since obviously DHCP on our network would give different DNS
 servers than DHCP on Era's network), so we tried putting the Era DNS
 servers in statically, but while it worked as far as DNS went (we
 still got name resolution) that didn't help with Sabre.

 We are going bald here tearing our hair out trying to figure out what
 could be causing this issue. Sabre technical support is no help - they
 just say it's our problem. Management is coming down on us pretty hard
 to get something working here, so any help anyone can provide would be
 GREATLY appreciated :-). Let me know if I left out any relevant
 details or testing we performed!

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

Hi Israel,

You do have a weird problem. It's difficult to give any hints -- it
seems you should try to solve this as methodically as possible, e.g.
with root cause analysis or some other troubleshooting method.

At least, try to record what is working and what is not working in
some kind of matrix. Maybe some trend comes out.
For example, you mention that Sabre works inside a VM on Mac; how
about in a VM on Windows?

Maybe some network sniffing could be useful also. What TCP/UDP ports
are used with the software. What kind of VPN you 

Re: [Nagios-users] [OT] Network help?

2009-05-08 Thread Brown, Robin
Hi, sounds like classic MTU issues to me. Path MTU discovery is broken due to 
firewalls blocking ICMP and the VPN overhead is introduced, things break in 
very strange ways.  Take one of the windows machines while connected to the 
non-working network and lower it's MTU, reload and test again:

http://www.pctools.com/guides/registry/detail/280/

You can also try this theory out by varying the size of the ping packet you 
test with.  See if your ping breaks at a certain MTU.  Get some wireshark 
packet captures of a session too, this may point you in the right direction.

-Robin



On 5/8/09 6:38 PM, Israel Brewster isr...@frontierflying.com wrote:

On May 8, 2009, at 1:40 PM, Jim Avery wrote:

 2009/5/8 Israel Brewster isr...@frontierflying.com:
 I apologize for the off-topic post, but I figure the people here tend
 to be involved with networking, so perhaps someone can direct me to
 the right place to post a question about some networking problems I
 am
 having. Any suggestions?

 If it's social-networking problems, I recommend maybe facebook.com!

 Seriously though, it depends.  If it's to do with Linux you could seek
 out your local LUG, but why not just say what the problem is here, you
 never know ... someone might find a solution to your problem AND
 explain how Nagios can help you to check how effective their answer to
 it was!

Nope, not social, although if I don't get it fixed soon (or find
another solution) it might become a social problem :-) I didn't post
it here because I thought some might get annoyed with me cluttering
the list with non-nagios problems, but here goes.

Thanks to a recent company acquisition made by my company (Frontier
Flying), we are now dealing with two separate networks (they will
eventually be combined, but that's a ways off still). The company we
bought (Era aviation) uses a piece of software called Sabre for their
flight reservations, which contacts a central server to which their
network has a direct connection. The Sabre server itself is on a third
network, but there are a couple of routers that link the two (Sabre
and Era) across a private network, so asside from a couple of routing
and NAT statements they are effectively on the same network.

In order to be able to run Sabre on our network, we established a VPN
tunnel between our network and Era's. As far as I can tell, the VPN is
functioning. I can ping computers on the Era network, including the
Sabre server, and can access and control various computers on the Era
network. For initial testing purposes we installed the sabre software
(windows only) inside a parallels installation on one of our Mac
laptops. This worked perfectly. So far so good. Until we tried
installing the software on one of our Windows desktops. Then the
problems started. The Sabre software would make the initial connection
and log in the user, but when it tried to download the initial info it
needs, it just timed out. Every time. Meanwhile, the laptop, which was
connected through the same dumb switch, continued to work perfectly.
Every time. We took the Windows machine off our network and put it on
Era's (different location, obviously) and it started working. Put it
back on ours, timeout.

Since then we have tried installing Sabre on a number of different
computers on our network. A second Mac laptop running parallels works
fine, while a mac desktop with an identical install of parallels
doesn't. We have managed get one Windows machine running the software
on our network, while a stack of four windows machines that Era sent
us which had been working on their network just fine don't work.

On one hand it seems impossible that it could be an issue with the
network, because you would expect that to affect all computers
equally, not the hit-and miss (but mostly miss) scenario that we are
facing. On the other hand, it can't be a problem with the individual
computer, because the same computer with the exact same configuration
(including network settings - DHCP) works fine on the Era network, but
stops working when moved to ours. We thought maybe it was a DNS
problem (since obviously DHCP on our network would give different DNS
servers than DHCP on Era's network), so we tried putting the Era DNS
servers in statically, but while it worked as far as DNS went (we
still got name resolution) that didn't help with Sabre.

We are going bald here tearing our hair out trying to figure out what
could be causing this issue. Sabre technical support is no help - they
just say it's our problem. Management is coming down on us pretty hard
to get something working here, so any help anyone can provide would be
GREATLY appreciated :-). Let me know if I left out any relevant
details or testing we performed!

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



Re: [Nagios-users] What does the flag failure_prediction_enabled

2009-05-08 Thread Andreas Ericsson
Sean Carolan wrote:
 I can't find any informations on the flag failure_prediction_enabled
 in service definition. What is the effect of this flag ?
 First result for 'nagios failure prediction' on Google:

 http://www.google.com/search?btnI=q=nagios+failure+prediction
 
 And it appears that first result has not been updated since 2002.  Is
 the failure detection feature just a vestigial organ that never
 finished developing?
 

As far as I can see, the failure_prediction_enabled flag does absolutely
nothing right now.

I can certainly imagine a reason for this. Failure prediction is *hard*.
To get it right, you need to take into account
1. The current check thresholds (currently specified as arguments to
Nagios plugins, so Nagios core knows nothing about them)
2. The average delta between several checks over a possibly *very* long
period of time.
3. The number of times the potential problem is being taken care of
before it becomes a problem, and how this affects the average delta.
4. Artificial intelligence to learn about previous problems in other
areas of the network that could, potentially, lead to problems with
the monitored host.

/Andreas


DISCLAIMER:
I wrote this email very, very late on a friday evening, after having
drunk several glasses of wine in very pleasant company. Such petty
details as checking my facts to make sure I'm right didn't really enter
my mind at the time I was writing this. It's possible I'll regret that
later, but right now I'm reasonably certain the above s correct.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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] The icinga on the cake ...

2009-05-08 Thread Andreas Ericsson
Sean Carolan wrote:
 Not being a developer myself, I'm not quite sure what to say or think,
 except that I'm continuously deeply grateful to everyone who bring us
 Nagios itself, and the plugins and tools which make it greater than
 the sum of its parts.
 
 This is, IMHO, one of the greatest problems with open source
 development.  Too much bickering, splintering and forking dilutes the
 value of the product.

Personally, I think you're wrong. GCC (one of the most portable and
portability-friendly compiler collections in the world) suffered a
big fat fork in 1997, and it ended up being extremely good for the
project.

The X windowing system *remains* forked into at least 4 different
schisms. Right now, it looks as if X.org is winning. A few years
ago, everyone used XFree86.

  It's unfortunate that the main nagios devs and
 these icinga people could not work together to simply improve the
 existing code base.   There are a lot of great features that could be
 added to nagios, yet it feels like development on some of these major
 features has been very slw.
 

True. That's a major complaint of the forkees too. The majorest (err..)
is that development hasn't been open enough though. Ethan and some other
prominent community members are working on fixing that. I'm guessing
info regarding that will be publicly available on monday afternoon,
European time.

 Ethan, if you're reading this, cheer up mate.  You are sitting on a
 virtual gold mine.  Nagios is hands-down the best network monitoring
 system available, you should be minting money selling support
 contracts for it.  If you aren't then hire some good salespeople to
 sell your support contracts and maybe a find good web developer to
 give the GUI an upgrade!
 

I agree about the GUI. Rumor has it that discussions are under way to
solve that too very shortly.

Ethan will send something out very early next week (not he may do so
or I hope he will do so; He *will* do so, or I'll go to minnesota and
thump him on the head). The email he'll send out will contain, among
other things, his future plans to make Nagios development move along
faster. Possibly, there'll be something about GUI discussions in there
as well. It's friday night here (2:32 AM), and I really don't know
everything. This time, I feel confident that noone will be disappointed
when I say: Just wait and see. There may be pumpkins in it.

/Andreas

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 ACK author

2009-05-08 Thread Andreas Ericsson
Sven Wiedeck wrote:
 Hi,
 
 thanks for the replies but we don't want to create user accounts for  
 30 people if it's not absolutely neccesary.
 
 So the auto-login is the only way so far...


No can do then. You can lock the author-field, but if everyone are
authenticated as the same person, using the exact same credentials,
there's no way of telling them apart automatically. You *could* add
a check to see if the field isn't changed. That requires basic C
programming skills and a rudimentary grasp of how HTML works when
posting form data. If you still want help with that, you can probably
contact op5 and get a consultancy price. I doubt it'll be of much use
to the community, so it *will* come with a price-tag.

/Andreas

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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 ACK author

2009-05-08 Thread Max
If your accounts are in LDAP you can do some scripting to sync between
LDAP and Nagios.  Since it seems you more care about individual
usernames but not strong security, you can just make the password the
same for each account when you create the HTTP AUTh account on the
Nagios poller.

Either that or you can use the same philosophy, script to sync Nagios
user accounts from LDAP queries, and then use one of the Apache LDAP
authentication modules to authenticate the user so they use their real
password to authenticate.

- Max

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
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