Re: [Nagios-users] problems with check_openmanage

2009-02-06 Thread Trond Hasle Amundsen
Nicole Hähnel m...@nicole-haehnel.de writes:

 I am using net-snmp on sles10sp2 and rhel5.3 servers.
 The snmpd.conf is equal on every server.

 # Allow Systems Management Data Engine SNMP to connect to snmpd using SMUX
 smuxpeer .1.3.6.1.4.1.674.10892.1

 The problem is only on older servers. The newer ones work fine with snmp.
 And I used check_om_snmp before on all servers without any problems.

SNMP via OMSA is different with older versions of OMSA. Which version
are the troublesome servers using? You can find the OMSA version by
running 'omreport system info' (omreport.exe on windows).

Regards,
-- 
Trond

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 sending notifications to Tivoli (TEC)

2009-02-06 Thread Thomas Hager
On Fri, 2009-02-06 at 16:07 +1100, Martin Barry wrote:
 Howdy
hi,

 Is there anyone on list who has had any success with with Nagios sending
 notifications to Tivoli Enterprise Console (TEC)?
yes, we do that. IBM provides a command-line tool called postemsg to
send external notifications to the TEC.

we trigger this tool via eventhandlers.

hth,
tom.

-- 
Thomas Duke Hager   d...@sigsegv.at
GPG: 1024D/D27F858Chttp://www.sigsegv.at/gpg/duke.gpg
=
Never Underestimate the Power of Stupid People in Large Groups.



signature.asc
Description: This is a digitally signed message part
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 sending notifications to Tivoli (TEC)

2009-02-06 Thread Kyle O'Donnell
we are using postemsg as well.  but we execute it as a notification
command instead of an eventhandler.

On 2/6/09, Thomas Hager d...@sigsegv.at wrote:
 On Fri, 2009-02-06 at 16:07 +1100, Martin Barry wrote:
 Howdy
 hi,

 Is there anyone on list who has had any success with with Nagios sending
 notifications to Tivoli Enterprise Console (TEC)?
 yes, we do that. IBM provides a command-line tool called postemsg to
 send external notifications to the TEC.

 we trigger this tool via eventhandlers.

 hth,
 tom.

 --
 Thomas Duke Hager   d...@sigsegv.at
 GPG: 1024D/D27F858Chttp://www.sigsegv.at/gpg/duke.gpg
 =
 Never Underestimate the Power of Stupid People in Large Groups.



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] MRTG

2009-02-06 Thread Martyn
Hi there.

Is this the best way to get MRTG working in Ubuntu?

http://linuxbasement.com/content/mrtg-ubuntu-server

Regards

Martyn
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Martyn
Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up.

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread James Pratt

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 11:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon

Have any of you got Centreon working with Nagios, I just followed their
Wiki guide and it has messed my up. 
Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again
Martyn 
---


I installed it and had it working a year or so ago - I found it to be
quite invasive and it changed/messed up my cfg's as well, and then was
a total nightmare to uninstall... I had to do a find / | grep centreon
and then piped it out to xargs rm -rf  so it would delete everything
with centreon in it found... 

(Maybe it's better now, but it doesn't sound it!)...  :|

Cheers 
jamie

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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.1.0 - refresh (f5) brings you back to home screen

2009-02-06 Thread Nicole Hähnel
Seth P. Low schrieb:
 I have been using nagios for years and have just moved from 3.0.5 to 3.1.0. I 
 have noticed that in 3.1.0 (regardless of what browser I am using), hitting 
 F5 brings me back to the welcome page on 2 different installs. Anyone else 
 seeing this? Suggestions for correcting? Thanks, -Seth
 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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
   
Hi,

I have the same problem, but no solution.
It is php now instead of html with a frameset.
Framesets often make problems.

Nicole

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Stewart, Tom
I've got a question for everyone...

We're using Nagios that we use for a bunch of different types of checks.  
However, we have one check that we only want to run once a day.  What can we do 
in Nagios to keep this from checking throughout the day?

Thanks.

Tom



IMPORTANT: The information contained in this email and/or its attachments is 
confidential. If you are not the intended recipient, please notify the sender 
immediately by reply and immediately delete this message and all its 
attachments. Any review, use, reproduction, disclosure or dissemination of this 
message or any attachment by an unintended recipient is strictly prohibited. 
Neither this message nor any attachment is intended as or should be construed 
as an offer, solicitation or recommendation to buy or sell any security or 
other financial instrument. Neither the sender, his or her employer nor any of 
their respective affiliates makes any warranties as to the completeness or 
accuracy of any of the information contained herein or that this message or any 
of its attachments is free of viruses.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Scott Ackerman
I tried Centreon on a CentOS 5.2 install and got as far as the web installer
portion and it couldn't find 'pear.php' and by all indications the installer
script etc. had identified the correct location. I spent probably 3 hours
and I couldn't get it to work.
 

Scott Ackerman
Usable Web Solutions
1212 Baker Street Fort Collins, Colorado 80524
970-689-3999
www.us-able.com http://www.us-able.com/ 

Design is not just what it looks like and feels like. Design is how it
works - Steve Jobs

 


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 9:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon



Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up. 

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Sean McAfee
Stewart, Tom wrote:
 I've got a question for everyone...

 We're using Nagios that we use for a bunch of different types of checks.  
 However, we have one check that we only want to run once a day.  What can we 
 do in Nagios to keep this from checking throughout the day?

 Thanks.

 Tom
I have something similar that needs to run twice a day.  I used time 
periods and a service template to control when it runs:

define timeperiod{
timeperiod_name twicedaily
alias   For Running 2x Daily
monday  08:40-09:00,19:50-20:10
tuesday 08:40-09:00,19:50-20:10
wednesday   08:40-09:00,19:50-20:10
thursday08:40-09:00,19:50-20:10
friday  08:40-09:00,19:50-20:10
saturday08:40-09:00,19:50-20:10
sunday  08:40-09:00,19:50-20:10
}

define service{
name  generic-twice-daily
use   generic-service
normal_check_interval 30
register  0
max_check_attempts1
check_period  twicedaily
}

All checks using this template kick off at 8:40  19:50.  Since 
normal_check_interval is greater than the time period windows, it will 
only run once per window.

If there's a better way to do it, I'd like to know as well.

-- 
Sean McAfee
System Engineer



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.





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.



--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Marc Powell

On Feb 6, 2009, at 10:30 AM, Stewart, Tom wrote:

 I've got a question for everyone...

 We're using Nagios that we use for a bunch of different types of  
 checks.  However, we have one check that we only want to run once a  
 day.  What can we do in Nagios to keep this from checking throughout  
 the day?

set the correct check_interval in the service definition. 
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

check_interval  1440 # 1440 minutes or 1 every 24 hours.

--
Marc


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Martyn
I had that at first but I got past that, its just the monitoring now that
does not work.
3 hours I have been at it for days now :)
 
Cheers

  _  

From: Scott Ackerman [mailto:li...@scott-ackerman.com] 
Sent: 06 February 2009 16:20
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Centreon


I tried Centreon on a CentOS 5.2 install and got as far as the web installer
portion and it couldn't find 'pear.php' and by all indications the installer
script etc. had identified the correct location. I spent probably 3 hours
and I couldn't get it to work.
 

Scott Ackerman
Usable Web Solutions
1212 Baker Street Fort Collins, Colorado 80524
970-689-3999
www.us-able.com http://www.us-able.com/ 

Design is not just what it looks like and feels like. Design is how it
works - Steve Jobs

 


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 9:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon



Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up. 

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn 


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Rahul Nabar
On Fri, Feb 6, 2009 at 10:59 AM, Marc Powell m...@ena.com wrote:



 set the correct check_interval in the service definition.
 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

 check_interval  1440 # 1440 minutes or 1 every 24 hours.


Unless it is important to control *when* the check runs within a 24 hour
period?

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Kyle O'Donnell
I've wondered which method is more efficient in nagios.

using time periods + normal interval (run every 1 hr but get the time
period to 00:00-01:00)

or settting the normal interval to 1440

On 2/6/09, Rahul Nabar rpna...@gmail.com wrote:
 On Fri, Feb 6, 2009 at 10:59 AM, Marc Powell m...@ena.com wrote:



 set the correct check_interval in the service definition.
 http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

 check_interval  1440 # 1440 minutes or 1 every 24 hours.


 Unless it is important to control *when* the check runs within a 24 hour
 period?

 --
 Rahul


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Michael W. Lucas
Hi,

I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
hosts.  I've been investigating replacing our MRTG setup with PNP.
PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
call for at least doubling the number of services and graphs.

Adding process_perfdata.pl has increased the system load from
minimal to 10-20.  I see that process_perfdata.pl will not run under
ePN.

Anyone out there have ways to reduce process_perfdata.pl's system
load, short of rewriting it in C or making it ePN-friendly?

Thanks,
==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org
http://www.BlackHelicopters.org/~mwlucas/
My pessimism extends to the point of even suspecting the sincerity of
  the pessimists. -- Jean Rostand, French biologist and philosopher

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] NRPE and redundant calls to remote hosts.

2009-02-06 Thread Rahul Nabar
I've been adding a bunch of checks via NRPE on remote nodes and this got me
thinking. Isn't it inefficient to keep starting check_nrpe calls from the
monitoring host all the time?

Why cannot nrpe on the remote node monitor some of the local services and
only send a message back to nagios if there is a status change?

For warnings based on things like disk usage, cpu usage, total procs,
pbs scheduler daemon status , cpu temperatures etc. coudn't this
approach relive the central host's cpu of a lot of endless check_nrpe calls?
NRPE is already doing the work; its just a question of what initiates a
communication channel between NRPE and nagios.

Just curious. Or maybe there is a way of achieving this already that I don't
know of!

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Marc Powell

On Feb 6, 2009, at 11:08 AM, Rahul Nabar wrote:


 check_interval  1440 # 1440 minutes or 1 every 24 hours.

 Unless it is important to control *when* the check runs within a 24  
 hour period?

The OP didn't state any such requirement.

--
Marc


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Joerg Linge
Michael W. Lucas schrieb:
 Hi,
 
 I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
 hosts.  I've been investigating replacing our MRTG setup with PNP.
 PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
 call for at least doubling the number of services and graphs.
 
 Adding process_perfdata.pl has increased the system load from
 minimal to 10-20.  I see that process_perfdata.pl will not run under
 ePN.
 
 Anyone out there have ways to reduce process_perfdata.pl's system
 load, short of rewriting it in C or making it ePN-friendly?

Do you already use the NPCD ?

http://www.pnp4nagios.org/pnp/modes

Joerg

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] NRPE and redundant calls to remote hosts.

2009-02-06 Thread Marc Powell

On Feb 6, 2009, at 11:56 AM, Rahul Nabar wrote:

 I've been adding a bunch of checks via NRPE on remote nodes and this  
 got me thinking. Isn't it inefficient to keep starting check_nrpe  
 calls from the monitoring host all the time?

 Why cannot nrpe on the remote node monitor some of the local  
 services and only send a message back to nagios if there is a status  
 change?


 Just curious. Or maybe there is a way of achieving this already that  
 I don't know of!

Passive checks with NSCA is pretty close, minus the 'if there is a  
status change' part. You could build that logic into whatever wrapper  
you are using to run the plugins on the remote host though. From the  
perspective of the nagios host, passive checks are much better than  
active checks.

--
Marc


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] One Time Check

2009-02-06 Thread Rahul Nabar
On Fri, Feb 6, 2009 at 11:57 AM, Marc Powell m...@ena.com wrote:


 On Feb 6, 2009, at 11:08 AM, Rahul Nabar wrote:

 
  check_interval  1440 # 1440 minutes or 1 every 24 hours.
 
  Unless it is important to control *when* the check runs within a 24
  hour period?

 The OP didn't state any such requirement.


You are right. I over-assumed.

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Rogerio Goncalves
Whats problem?I have centreon 2.0 installed with nagios 3.0 on a chroot of
ubuntu server.
And it works fine.

On Fri, Feb 6, 2009 at 2:00 PM, Martyn mar...@chetnet.co.uk wrote:

  I had that at first but I got past that, its just the monitoring now that
 does not work.
 3 hours I have been at it for days now :)

 Cheers

  --
 *From:* Scott Ackerman [mailto:li...@scott-ackerman.com]
 *Sent:* 06 February 2009 16:20
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* Re: [Nagios-users] Centreon

  I tried Centreon on a CentOS 5.2 install and got as far as the web
 installer portion and it couldn't find 'pear.php' and by all indications the
 installer script etc. had identified the correct location. I spent probably
 3 hours and I couldn't get it to work.


 Scott Ackerman
 *Usable Web Solutions
 *1212 Baker Street Fort Collins, Colorado 80524
 970-689-3999
 www.us-able.com

 *Design is not just what it looks like and feels like. Design is how it
 works - Steve Jobs*


  --
 *From:* Martyn [mailto:mar...@chetnet.co.uk]
 *Sent:* Friday, February 06, 2009 9:03 AM
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] Centreon

  Have any of you got Centreon working with Nagios, I just followed their
 Wiki guide and it has messed my up.

 Going to try and delete all the .cfg files it created in my Nagios and
 replace my nagios.cfg to see if I can get back up and running again

 Martyn



 --
 Create and Deploy Rich Internet Apps outside the browser with
 Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code
 to
 build responsive, highly engaging applications that combine the power of
 local
 resources and data with the reach of the web. Download the Adobe AIR SDK
 and
 Ajax docs to start building applications today-
 http://p.sf.net/sfu/adobe-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




-- 
[ Rogério Gonçalves ]
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 remote GUI interface

2009-02-06 Thread Michael . Washington

Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop
devices however.  On replacement device, I can locally load GUI using http
specified  to either localhost or actual static ip, but cannot load
remotely as I was able to on 1.x device.  1.x was load on REL enterprise
3.x level while 3.x was through Fedora 9/SELinux.  My browser fails to
present an authentication Window fro the 3.x device. I thought it was the
Linux firewall config which I have temporarily disabled while resolving,
but still same problem.  Any thoughts?


__
Confidentiality Notice:  The information in this e-mail and any attachment(s) 
is confidential and for the use of the addressee(s) only.  If you have received 
this e-mail in error, please delete this e-mail.  Unauthorized use, reliance, 
disclosure or copying of the contents of this e-mail, or any similar action, is 
prohibited.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] Centreon

2009-02-06 Thread Martyn
I'm glad you asked that.
 
I install everything by the excellent wiki guide and all went well, Nagios
started and I added my Servers and Routers and they are logging well, Not
got MRTG installed as yet but I can see uptime and such, in all there are 3
Servers a Switch and 1 Network printer

Fire up CentreonconfigurationHosts and I add a Cisco 3550, put all my
Switch's details in and click save
When I look at under home there are no hosts being monitored nor servers..

I then do the following which has complete knocked me for six:-

CentreonConfigurationNagios
Put tick in the following boxes, Generate Configuration Files, Run Nagios
debug, Move export Files and restart Nagios

Just gone back to my Nagios page and all my Servers and Switches have gone
and been replaced by the 1 Switch I added above, not only that they all show
errors, the switch shows it pings ok but the host name is Red, clicking on
that it states host down.

Centreon shows Database errors: 
Under the Service /.: Error: hrstorageDescr Table : Requested tables empty
or missing
Under Load: Unknown: Received nosuchname(2) error-status at error-index 3

Also Centreon has added all the .cfg files its creates into my
/usr/nagios/etc directory and not /usr/nagios/etc/objects where my others
are located, I hoping to delete thses files and replace the nagios.cfg file
that was create by Centreon to be me back up and running.

Sorry its such a long post
Ubuntu 8.4
Nagios 3.6
Nagios-Plugins 1.4.12
Centreon 2 stable

  _  

From: Rogerio Goncalves [mailto:roge...@gmail.com] 
Sent: 06 February 2009 18:07
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Centreon


Whats problem? 
I have centreon 2.0 installed with nagios 3.0 on a chroot of ubuntu server. 
And it works fine.

On Fri, Feb 6, 2009 at 2:00 PM, Martyn mar...@chetnet.co.uk wrote:


I had that at first but I got past that, its just the monitoring now that
does not work.
3 hours I have been at it for days now :)
 
Cheers

  _  

From: Scott Ackerman [mailto:li...@scott-ackerman.com] 
Sent: 06 February 2009 16:20 

To: nagios-users@lists.sourceforge.net

Subject: Re: [Nagios-users] Centreon


I tried Centreon on a CentOS 5.2 install and got as far as the web installer
portion and it couldn't find 'pear.php' and by all indications the installer
script etc. had identified the correct location. I spent probably 3 hours
and I couldn't get it to work.
 

Scott Ackerman
Usable Web Solutions
1212 Baker Street Fort Collins, Colorado 80524
970-689-3999
www.us-able.com http://www.us-able.com/ 

Design is not just what it looks like and feels like. Design is how it
works - Steve Jobs

 


  _  

From: Martyn [mailto:mar...@chetnet.co.uk] 
Sent: Friday, February 06, 2009 9:03 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Centreon



Have any of you got Centreon working with Nagios, I just followed their Wiki
guide and it has messed my up. 

Going to try and delete all the .cfg files it created in my Nagios and
replace my nagios.cfg to see if I can get back up and running again

Martyn 




--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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





-- 
[ Rogério Gonçalves ]

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 remote GUI interface

2009-02-06 Thread Rahul Nabar
On Fri, Feb 6, 2009 at 11:47 AM, michael.washing...@fitchratings.comwrote:


 Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop
 devices however.  On replacement device, I can locally load GUI using http
 specified  to either localhost or actual static ip, but cannot load
 remotely as I was able to on 1.x device.  1.x was load on REL enterprise
 3.x level while 3.x was through Fedora 9/SELinux.  My browser fails to
 present an authentication Window fro the 3.x device. I thought it was the
 Linux firewall config which I have temporarily disabled while resolving,
 but still same problem.  Any thoughts?


Maybe SELINUX is blocking it? Try setenforce 0 just to check? Maybe you
already did. Just a thought.

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Michael W. Lucas
On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote:
 Michael W. Lucas schrieb:
 Hi,
 
 I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
 hosts.  I've been investigating replacing our MRTG setup with PNP.
 PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
 call for at least doubling the number of services and graphs.
 
 Adding process_perfdata.pl has increased the system load from
 minimal to 10-20.  I see that process_perfdata.pl will not run under
 ePN.
 
 Anyone out there have ways to reduce process_perfdata.pl's system
 load, short of rewriting it in C or making it ePN-friendly?
 
 Do you already use the NPCD ?
 
 http://www.pnp4nagios.org/pnp/modes

Yes, we use NPCD.  It made it possible to get this far.  :-)

==ml

-- 
Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org
http://www.BlackHelicopters.org/~mwlucas/
My pessimism extends to the point of even suspecting the sincerity of
  the pessimists. -- Jean Rostand, French biologist and philosopher

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Max
Hi Michael,

I write about how the team I am on at Comcast  implemented PNP to
scale well on my blog.  In a nutshell:
* Use modpnpsender.c on your Nagios master (we added in fork() code so
that Nagios doesn't pause while modpnpsender sends events .. will be
releasing that code as a patch soon).  Have modpnpsender send records
to a second host.
* Set up NPCD on the second host.
* Use a small xinetd script to write out PNP records to the NPCD queue
(we will be releasing the one we have in place as well soon).

We trend on almost 6000 services (~ 1200 hosts) every 5 minutes (runs
take about 4 minutes right now to trend on all services).  This set up
works very well for us and has kept the I/O wait load reasonable on
the report server as well as load average.  We also send all PNP
events to syslog where we have anothr process send them to a long-term
data warehouse we use .. and we do our notifications from this second
host .. load stays at 2-3 right now.  Not bad :).

http://www.semintelligent.com/blog/articles/38/nagios-performance-tuning-early-lessons-learned-lessons-shared-part-4-scalable-performance-data-graphing

On Fri, Feb 6, 2009 at 2:00 PM, Michael W. Lucas
mwlu...@blackhelicopters.org wrote:
 On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote:
 Michael W. Lucas schrieb:
 Hi,
 
 I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
 hosts.  I've been investigating replacing our MRTG setup with PNP.
 PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
 call for at least doubling the number of services and graphs.
 
 Adding process_perfdata.pl has increased the system load from
 minimal to 10-20.  I see that process_perfdata.pl will not run under
 ePN.
 
 Anyone out there have ways to reduce process_perfdata.pl's system
 load, short of rewriting it in C or making it ePN-friendly?

 Do you already use the NPCD ?

 http://www.pnp4nagios.org/pnp/modes

 Yes, we use NPCD.  It made it possible to get this far.  :-)

 ==ml

 --
 Michael W. Lucasmwlu...@blackhelicopters.org, mwlu...@freebsd.org
http://www.BlackHelicopters.org/~mwlucas/
 My pessimism extends to the point of even suspecting the sincerity of
  the pessimists. -- Jean Rostand, French biologist and philosopher

 --
 Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code to
 build responsive, highly engaging applications that combine the power of local
 resources and data with the reach of the web. Download the Adobe AIR SDK and
 Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 remote GUI interface

2009-02-06 Thread Michael . Washington
Just performed it...but still no luck



   
 Rahul Nabar   
 rpna...@gmail.co 
 m To 
   michael.washing...@fitchratings.com 
 02/06/2009 12:32   cc 
 PMnagios-users@lists.sourceforge.net  
   Subject 
   Re: [Nagios-users] Nagios remote
   GUI interface   
   
   
   
   
   
   






On Fri, Feb 6, 2009 at 11:47 AM, michael.washing...@fitchratings.com
wrote:

  Just completed an upgrade, from Nagios 1.x to 3.x on separate desktop
  devices however.  On replacement device, I can locally load GUI using
  http
  specified  to either localhost or actual static ip, but cannot load
  remotely as I was able to on 1.x device.  1.x was load on REL enterprise
  3.x level while 3.x was through Fedora 9/SELinux.  My browser fails to
  present an authentication Window fro the 3.x device. I thought it was the
  Linux firewall config which I have temporarily disabled while resolving,
  but still same problem.  Any thoughts?


Maybe SELINUX is blocking it? Try setenforce 0 just to check? Maybe you
already did. Just a thought.

--
Rahul

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
__


__
Confidentiality Notice:  The information in this e-mail and any attachment(s) 
is confidential and for the use of the addressee(s) only.  If you have received 
this e-mail in error, please delete this e-mail.  Unauthorized use, reliance, 
disclosure or copying of the contents of this e-mail, or any similar action, is 
prohibited.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Joerg Linge
Michael W. Lucas schrieb:
 On Fri, Feb 06, 2009 at 07:03:36PM +0100, Joerg Linge wrote:
 Michael W. Lucas schrieb:
 Hi,

 I have Nagios 3.0.6 on FreeBSD 7.1/amd64, with ~1500 services on ~250
 hosts.  I've been investigating replacing our MRTG setup with PNP.
 PNP runs fine, and we are keeping about 1450 MRTG graphs.  Our plans
 call for at least doubling the number of services and graphs.

 Adding process_perfdata.pl has increased the system load from
 minimal to 10-20.  I see that process_perfdata.pl will not run under
 ePN.

 Anyone out there have ways to reduce process_perfdata.pl's system
 load, short of rewriting it in C or making it ePN-friendly?
 Do you already use the NPCD ?

 http://www.pnp4nagios.org/pnp/modes
 
 Yes, we use NPCD.  It made it possible to get this far.  :-)

Okay, whats about the rrdtool version? Do you use the rrdtool perl modules?

Joerg
 

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Hendrik Baecker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Max schrieb:
 Hi Michael,
 
 I write about how the team I am on at Comcast  implemented PNP to
 scale well on my blog.  In a nutshell:
 * Use modpnpsender.c on your Nagios master (we added in fork() code so
 that Nagios doesn't pause while modpnpsender sends events .. will be
 releasing that code as a patch soon).  Have modpnpsender send records
 to a second host.

That's a thing that an eventbroker module never should do. Think about
what a fork() does...

 * Set up NPCD on the second host.
 * Use a small xinetd script to write out PNP records to the NPCD queue
 (we will be releasing the one we have in place as well soon).
 
It would be nice if you can submit it against the latest pnp code and on
the pnp4nagios-devel list.

 We trend on almost 6000 services (~ 1200 hosts) every 5 minutes (runs
 take about 4 minutes right now to trend on all services).  This set up
 works very well for us and has kept the I/O wait load reasonable on
 the report server as well as load average.  
Same thing on my side. ~6000 Services, don't know exactly how many of
them don't support performancedata, but I have 10 seconds avg latency
in Nagios while running all pnp stuff on the same server.
Will say: I can't see a problem for nagios, except of massiv IO load for
the system.

Regards,
Hendrik
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmMlgYACgkQlI0PwfxLQjnZkgCfZ38szF/PLV+BWLJqlgcILbPs
QMgAnRZWC48J9mLWReCMVt9TO1N8X2V2
=eHPU
-END PGP SIGNATURE-

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] NSClient++ Error

2009-02-06 Thread Curtis LaMasters
I'm so far unable to get this one figured out.  No abnormal logs on the
Nagios server but I get this on the client side:

2009-02-06 14:40:43: error:.\NSCAThread.cpp:177:  Failed to read header
from: xx.xxx.xxx.50:5667 0: The operation completed successfully.

Any idea what that means.  I just installed this client today and have other
clients with the same configuration working just fine.  This is on a Windows
Server 2003 SBS box.

Curtis LaMasters
http://www.curtis-lamasters.com
http://www.builtnetworks.com
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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 remote GUI interface

2009-02-06 Thread Rahul Nabar
On Fri, Feb 6, 2009 at 12:49 PM, michael.washing...@fitchratings.comwrote:

 Just performed it...but still no luck


Another random idea. Can you open any pages at all if they reside on the new
machine? Just wondering if its an apache (etc.) issue. I had a bunch of
restrictive conditions on my /etc/httpd/conf/httpd.conf about who could
access what pages.

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Max
 That's a thing that an eventbroker module never should do. Think about
 what a fork() does...

Yes, I know, but without forking, our scheduling was skewing way
beyond our 5 minute interval due to thousands of checks being sent
from the Nagios server to the report server .. so what choice did I
have? :)  OUr report server can handle thousands of XML files via TCP
a minute so we had to make that tradeoff.

Our data is being trended in a long term data warehouse so getting all
checks done as consistently as possible within a 5 minute interval
(all are scheduled at 5 min intervals) is critical for us.

So yes, fully aware that a NEB module should not do that but for us it
was exactly what we needed to keep the nagios scheduler from skewing
check execution times tremendously over a few hours.


 * Set up NPCD on the second host.
 * Use a small xinetd script to write out PNP records to the NPCD queue
 (we will be releasing the one we have in place as well soon).

 It would be nice if you can submit it against the latest pnp code and on
 the pnp4nagios-devel list.

definitely

 Same thing on my side. ~6000 Services, don't know exactly how many of
 them don't support performancedata, but I have 10 seconds avg latency
 in Nagios while running all pnp stuff on the same server.
 Will say: I can't see a problem for nagios, except of massiv IO load for
 the system.

We are going to be scaling to 5-10k+ hosts so we are being very
careful about not overloading our poller.

And, as with the modpnpsender  sending XML over a socket skewing
scheduling times for checks so that they spilled into the next 5
minute chck period over a few hours (leaving gaps on performance
graphs) as Nagios paused 5000 times every polling cycle for 5000 TCP
sends :p we had the same problem with having Nagios write to NPCD
queue on the Nagios polling server.

- Max

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Max
Hi Hendrik,

On Fri, Feb 6, 2009 at 5:03 PM, Hendrik Baecker andu...@process-zero.de wrote:
 hm... you should know that modpnpsender was written long time ago as a
 fast shot to a nice idea.

Yes, we have been doing some code clean up as we go along.

 I thought no one will use that code outer a test environment. But as you
 say that you are using that creepy code - let me know if there is more I
 can do for you ;)

Haha.  I am thinking of changing  it from the semi-valid XML it
outputs to something simpler and cleaner .. either JSON or
comma:separated pairs.

We have been doing some code clean up as we use it so I will submit
our little patches as well for that to the PNP list.

 Maybe you want to check out the latest devel version, there is a new
 (cleaner) module for getting performance data, not with a socket in it
 but it might be faster than the normal way. It's called npcdmod.

Will check that out, but we really need to send data to our second
server so unless it uses a socket-based system :) I will continue to
work with and on modpnpsender.  The system I have been describing has
been in place for 4+ months and has been very stable .. no segfaults
or unexpected behavior.

We can discuss more on the PNP mailing list if you would prefer ... I
was even thinking of changing from TCP to UDP for the modpnpsender
code, that would reduce the impact on the sending system and receiving
system and the network traffic between the two systems.  Also was
going to put the destination host IP, port and the debug flag in an
external config file so that the module doesn't have to be recompiled
when the destination IP changes :).

I understand it was not production ready, I am very glad you included
it as with some minor changes it has been working very well for us!

- Max

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] PNP performance

2009-02-06 Thread Hendrik Baecker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Max schrieb:

 
 Same thing on my side. ~6000 Services, don't know exactly how many of
 them don't support performancedata, but I have 10 seconds avg latency
 in Nagios while running all pnp stuff on the same server.
 Will say: I can't see a problem for nagios, except of massiv IO load for
 the system.
 
 We are going to be scaling to 5-10k+ hosts so we are being very
 careful about not overloading our poller.
 
 And, as with the modpnpsender  sending XML over a socket skewing
 scheduling times for checks so that they spilled into the next 5
 minute chck period over a few hours (leaving gaps on performance
 graphs) as Nagios paused 5000 times every polling cycle for 5000 TCP
 sends :p we had the same problem with having Nagios write to NPCD
 queue on the Nagios polling server.
 

hm... you should know that modpnpsender was written long time ago as a
fast shot to a nice idea.
I thought no one will use that code outer a test environment. But as you
say that you are using that creepy code - let me know if there is more I
can do for you ;)
Maybe you want to check out the latest devel version, there is a new
(cleaner) module for getting performance data, not with a socket in it
but it might be faster than the normal way. It's called npcdmod.

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

iEYEARECAAYFAkmMs54ACgkQlI0PwfxLQjnCOwCdGJlTsQUO+//z9XL/FnfeQSP0
jlAAnRKuI7vYf5MFAyBhl8KJtMOj1D7F
=ZWwb
-END PGP SIGNATURE-

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] normal_check_interval misbehaving?

2009-02-06 Thread Jason Marshall
Hi all, I've been scratching my head on this one for a couple days.

I have a service defined that can only run once an hour.  If it runs much 
more often than that, the check program (which I didn't write) often steps 
on its own feet and returns a critical failure.  The service runs via NRPE 
if that matters...

Anyway, I have the normal_check_interval set to 60, and max_check_attempts 
set to 1.  So it should run once an hour, and only once even if it fails. 
But it runs every 10 minutes instead!

Here is some of my config:

define service {
 use active-service
 host_name   cal-map1
 service_description active-remote-spatialsync
 check_command   check_remote_spatialsync
 contact_groups  
 normal_check_interval   60
 max_check_attempts  1
}

define command {
 command_namecheck_remote_spatialsync
 command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -n -c 
check_spatialsync
}

[r...@nagios3 etc]# ssh cal-map1
[r...@cal-map1 ~]# grep check_spatialsync /usr/local/nagios/etc/nrpe.cfg
command[check_spatialsync]=/space/kaapps/sbin/probeSpatialSync

Here is the script (korn-shell wrapper) that runs:

[r...@cal-map1 ~]# cat /space/kaapps/sbin/probeSpatialSync
#!/bin/ksh

date /usr/tmp/spatialsync.runtimes.log

HERE=$(dirname $0)
JAR_DIR=$(cd $HERE/../lib;pwd)

MONITOR_JAR=$JAR_DIR/monitor.jar

PROBE_CLS=com.kelman.monitor.SpatialSyncTester
JAVA_PATH=/usr/java/jdk1.5/bin:/apps/platform/jdk1.5/bin

PATH=$JAVA_PATH:$PATH

exec java -cp $MONITOR_JAR $PROBE_CLS $1


..


I've checked, and the interval_length is set to 60 like I intended it to 
be:

[r...@nagios3 etc]# grep interval_length nagios.cfg
interval_length=60

The wrapper that runs on the remote machine is logging the output of the 
date command and appending it to a simple log file so I can tell for sure 
how often it's being run -- every 10 minutes, like clockwork!

How come 10 minutes and not 60??

My head is hurting from all the scratching.  I suspect it's something 
stupid and tiny that I've missed, but would appreciate your help, even if 
it just points to some arcane area of the documentation.

Thanks!

---
Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada.

   From a Sun Microsystems bug report (#4102680):
 Workaround: don't pound on the mouse like a wild monkey.

   I have great faith in fools:
  Self confidence my friends call it.  -Edgar Allan Poe


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] normal_check_interval misbehaving?

2009-02-06 Thread Marc Powell

On Feb 6, 2009, at 4:06 PM, Jason Marshall wrote:

 Hi all, I've been scratching my head on this one for a couple days.

 I have a service defined that can only run once an hour.  If it runs  
 much
 more often than that, the check program (which I didn't write) often  
 steps
 on its own feet and returns a critical failure.  The service runs  
 via NRPE
 if that matters...

 Anyway, I have the normal_check_interval set to 60, and  
 max_check_attempts
 set to 1.  So it should run once an hour, and only once even if it  
 fails.
 But it runs every 10 minutes instead!

 Here is some of my config:

 define service {
 use active-service
 host_name   cal-map1
 service_description active-remote-spatialsync
 check_command   check_remote_spatialsync
 contact_groups  
 normal_check_interval   60
 max_check_attempts  1
 }

[chop]

 The wrapper that runs on the remote machine is logging the output of  
 the
 date command and appending it to a simple log file so I can tell for  
 sure
 how often it's being run -- every 10 minutes, like clockwork!

 How come 10 minutes and not 60??

 My head is hurting from all the scratching.  I suspect it's something
 stupid and tiny that I've missed, but would appreciate your help,  
 even if
 it just points to some arcane area of the documentation.

Did it used to be 10 minutes? The config, as you've detailed it, is  
correct. I suspect you have multiple nagios daemons running at the  
same time, one with a 10 minute interval and one with the 60 minute  
interval. Do you, at times about 60 minutes apart, have two that are  
logged close to one another? I would stop nagios and use ps to verify  
that there isn't another hanging about.

--
Marc


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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] NRPE clutters /var/log/messages

2009-02-06 Thread Rahul Nabar
My /var/log/messages shows hundreds of entries of this sort:

Feb  6 23:33:00 star256 xinetd[15109]: START: nrpe pid=17610
from=:::11.0.0.100
Feb  6 23:33:01 star256 xinetd[15109]: EXIT: nrpe status=0 pid=17610
duration=1(sec)

Are they just indicative of normal nrpe operations? If so, how can I
disable them so as not to clutter my log?

I do have debug=0  in  my nrpe.conf. Why still these messages?

-- 
Rahul
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-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