Re: [Nagios-users] check_http script is not working

2012-05-09 Thread Claudio Kuenzler

 Hello ,

 ** **

 I’m Sankar testing nagios scripts. I have tried to ping URL check from
 check_http script from nagios.

 ** **

 http://nagiosplugins.org/man/check_http (URL) = Reference

 ** **

 Root# check_http -w 5 -c 10 --ssl -H www.verisign.com 

  Name or service not known

 HTTP CRITICAL - Unable to open TCP socket

 ** **

 **

You're using a wrong order... See here the difference:

# ./check_http -w 5 -c 10 --ssl -H www.verisisgn.com
Name or service not known
HTTP CRITICAL - Unable to open TCP socket

# ./check_http -H www.verisign.com --ssl -w 5 -c 10
HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time
|time=0.821882s;5.00;10.00;0.00 size=42718B;;;0

I know the way you tried it is shown in the --help but it obviously doesn't
work.



 **

 Please help us in checking whether URL is up or down. How efficiently this
 script can be used ?

 Is there any way to find out URL availability ? with port ? or ping ? can
 we pass proxy ?

 ** **

 Thanks in advance.

 ** **

 Best regards, Sankar 


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 script is not working

2012-05-09 Thread Claudio Kuenzler
Jeez. I should drink a coffee before responding... ouch.

The syntax is correct, as you see in my post I had a typo in the verisign
domain name.

# ./check_http -w 5 -c 10 --ssl -H www.verisign.com
HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.830 second response time
|time=0.830120s;5.00;10.00;0.00 size=42718B;;;0

So it works. Sorry for false information.

Do as Bram suggested, try to open the website with lynx or curl.

Hello ,

 ** **

 I’m Sankar testing nagios scripts. I have tried to ping URL check from
 check_http script from nagios.

 ** **

 http://nagiosplugins.org/man/check_http (URL) = Reference

 ** **

 Root# check_http -w 5 -c 10 --ssl -H www.verisign.com 

  Name or service not known

 HTTP CRITICAL - Unable to open TCP socket

 ** **

 **

 You're using a wrong order... See here the difference:

 # ./check_http -w 5 -c 10 --ssl -H www.verisisgn.com

 Name or service not known
 HTTP CRITICAL - Unable to open TCP socket

 # ./check_http -H www.verisign.com --ssl -w 5 -c 10
 HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.822 second response time
 |time=0.821882s;5.00;10.00;0.00 size=42718B;;;0

 I know the way you tried it is shown in the --help but it obviously
 doesn't work.



 **

 Please help us in checking whether URL is up or down. How efficiently
 this script can be used ?

 Is there any way to find out URL availability ? with port ? or ping ? can
 we pass proxy ?

 ** **

 Thanks in advance.

 ** **

 Best regards, Sankar 


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Confusion on nrpe

2012-05-09 Thread Andreas Ericsson
On 05/07/2012 09:06 PM, Meyer, Bruce wrote:
 Using a mac
 

That's beside the point. Don't hijack someone elses thread if you want
your question answered, since threaded view of the mailing list makes
it appear as if you're responding to someone else's question when you
take their mail, hit reply and then replace all text with your own.

Since you're the one who wants something, it's in your interest to
make it easy for the people you want something from to give that to
you. Hijacking a thread means you're off to a bad start, so don't.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Andrew Thompson
Hi all,

We run 1 nagios box in our Office at location A - this monitors all 
servers/websites etc in Location A and a remote office in Location B hooked up 
with a static VPN

We have a bit of a tempermental firewall at the moment that keeps going down 
thus resulting in everything appearing down to Nagios in Location A and it 
alerting like a loonatic for all hosts/services (88/156)

So question is:

Can I put a second nagios box in Location B as some sort of slave - and have it 
cross reference nagios box in Location A and only alert if both boxes agree 
that said host(s)/service(s) is/are in down state?

If so are there any guides/helps out on the www that will assist in this setup?

Thanks

Kind Regards
Andrew


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread C. Bensend

 We have a bit of a tempermental firewall at the moment that keeps going
 down thus resulting in everything appearing down to Nagios in Location A
 and it alerting like a loonatic for all hosts/services (88/156)

You could monitor the firewall, and configure it to be the parent of
the hosts behind it.  That way, when it goes down, you only get the
alert for the firewall crapping out, and not all of the hosts that
depend on it.


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread FTL Nagios
Interesting  - How does it work though - I mean if the firewall plays up at
Site A, it thinks everything in Site B is down - so Nagios GUI marks
everything as down - what happens then if say a server in Site B does
actually go down - we will not get alerted to that?

I made a slight error in my original description - when the firewall goes
down it cant contact anything at both locations, not just Site A, due to
the fact that the protected interface stays up but just denies all traffic.

We are currently working on this with GTA but im losing the will to live
with 300 texts virtually every night!!

-Original Message-
From: C. Bensend [mailto:be...@bennyvision.com] 
Sent: 09 May 2012 11:39
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] 2 Nagios boxes running together in different
locations


 We have a bit of a tempermental firewall at the moment that keeps 
 going down thus resulting in everything appearing down to Nagios in 
 Location A and it alerting like a loonatic for all hosts/services 
 (88/156)

You could monitor the firewall, and configure it to be the parent of the
hosts behind it.  That way, when it goes down, you only get the alert for
the firewall crapping out, and not all of the hosts that depend on it.


--
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Roger Burton West
On Wed, May 09, 2012 at 11:53:56AM +0100, FTL Nagios wrote:
Interesting  - How does it work though - I mean if the firewall plays up at
Site A, it thinks everything in Site B is down - so Nagios GUI marks
everything as down - what happens then if say a server in Site B does
actually go down - we will not get alerted to that?

Correct. There's no way A can know what's going on at B if there's no
connection.

I made a slight error in my original description - when the firewall goes
down it cant contact anything at both locations, not just Site A, due to
the fact that the protected interface stays up but just denies all traffic.

Then how will your two Nagios boxes be able to confer with each other to
agree that there's a real problem?


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Ulf Gunnarson
Citrixkontot

/U 

-Original Message-
From: C. Bensend [mailto:be...@bennyvision.com] 
Sent: den 9 maj 2012 12:39
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] 2 Nagios boxes running together in different
locations


 We have a bit of a tempermental firewall at the moment that keeps going
 down thus resulting in everything appearing down to Nagios in Location A
 and it alerting like a loonatic for all hosts/services (88/156)

You could monitor the firewall, and configure it to be the parent of
the hosts behind it.  That way, when it goes down, you only get the
alert for the firewall crapping out, and not all of the hosts that
depend on it.


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Ulf Gunnarson
Sorry replied on wrong mail :)



-Original Message-
From: Ulf Gunnarson [mailto:ulf.gunnar...@kau.se] 
Sent: den 9 maj 2012 12:49
To: 'Nagios Users List'
Subject: Re: [Nagios-users] 2 Nagios boxes running together in different
locations

Citrixkontot

/U 

-Original Message-
From: C. Bensend [mailto:be...@bennyvision.com]
Sent: den 9 maj 2012 12:39
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] 2 Nagios boxes running together in different
locations


 We have a bit of a tempermental firewall at the moment that keeps going
 down thus resulting in everything appearing down to Nagios in Location A
 and it alerting like a loonatic for all hosts/services (88/156)

You could monitor the firewall, and configure it to be the parent of
the hosts behind it.  That way, when it goes down, you only get the
alert for the firewall crapping out, and not all of the hosts that
depend on it.


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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.4.0 complilation error (and trivial fix)

2012-05-09 Thread Ismael Puerto

  
  
Thanks Phill

On 05/08/2012 04:03 PM, Randal, Phil wrote:

  
  
  
Hi folks,

Trying to compile nagios 3.4.0 gave me this
  error:

checks.c: In
function run_async_service_check:
checks.c:714:5:
error: temp_buffer undeclared (first use in this function)

Patch to fix the compilation
error is:

--- nagios/base/checks.c 2012-05-08
14:36:02.0 +0100
+++ nagios/base/checks.c 2012-05-08
14:35:45.0 +0100
@@ -469,6 +469,7 @@
 double old_latency = 0.0;
 dbuf checkresult_dbuf;
 int dbuf_chunk = 1024;
+ char *temp_buffer;
#ifdef USE_EVENT_BROKER
 int neb_result = OK;
#endif


Cheers,

Phil

--
  
Phil Randal
Infrastructure Engineer
  Hoople Ltd | Thorn Office Centre | Hereford
  HR2 6JT
Tel: 01432 260415 | Email:
phil.ran...@hoopleltd.co.uk

  
  Any opinion expressed in this e-mail or any attached files are
  those of the individual and not necessarily those of Hoople Ltd.
  You should be aware that Hoople Ltd. monitors its email service.
  This e-mail and any attached files are confidential and intended
  solely for the use of the addressee. This communication may
  contain material protected by law from being passed on. If you are
  not the intended recipient and have received this e-mail in error,
  you are advised that any use, dissemination, forwarding, printing
  or copying of this e-mail is strictly prohibited. If you have
  received this e-mail in error please contact the sender
  immediately and destroy all copies of it.
  
  
  
  --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  
  
  
  ___
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

  


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread C. Bensend

 Interesting  - How does it work though - I mean if the firewall plays up
 at
 Site A, it thinks everything in Site B is down - so Nagios GUI marks
 everything as down - what happens then if say a server in Site B does
 actually go down - we will not get alerted to that?

That's correct.  But, your proposed configuration wouldn't solve
this problem - if the firewall fails, the Nagios servers can't
contact each other anyway, so they could never agree on what's up
and what's down.

 I made a slight error in my original description - when the firewall goes
 down it cant contact anything at both locations, not just Site A, due to
 the fact that the protected interface stays up but just denies all
 traffic.

 We are currently working on this with GTA but im losing the will to live
 with 300 texts virtually every night!!

I've dealt with this situation before, and I've ended up
implementing two mostly standalone Nagios systems.  They each
check their own site, so if their external network goes away they
are still able to monitor and alert for the things they're
responsible for (you have to use out-of-band notifications of
course).  They also each check each other's *site*, ala the other
site's firewall, so the Nagios server at site A can alert and let
you know if site B goes away, but it *doesn't* try to alert you
for all of the hosts and services at site B.


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Jeffrey Watts
This is exactly how I do things, except I have three sites.

Jeffrey

On Wednesday, May 9, 2012, C. Bensend wrote:


 I've dealt with this situation before, and I've ended up
 implementing two mostly standalone Nagios systems.  They each
 check their own site, so if their external network goes away they
 are still able to monitor and alert for the things they're
 responsible for (you have to use out-of-band notifications of
 course).  They also each check each other's *site*, ala the other
 site's firewall, so the Nagios server at site A can alert and let
 you know if site B goes away, but it *doesn't* try to alert you
 for all of the hosts and services at site B.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Confusion on nrpe

2012-05-09 Thread Meyer, Bruce


HiJacking a thread? What are you talking about? If I had maintained
someone's subject but changed the content, that is hijacking a thread.
Merely hitting 'reply' and deleting the subject and replacing it, deleting
the body and writing my own does not seem to me, to qualify as hijacking a
thread. That is creating a new thread, by changing the subject and body.
Or am I completely missing something? I do sort by thread on my machine
and my emails are perfectly sorted. Perhaps you should start sorting my
subject instead of X-header or whatever you are threading on now.

I would love to have learned something about what you are talking about,
but so far, you haven't explained a thing, merely complained.



If I want it further threaded, then it is grouped by the subject.  What on
earth are you threading by (and what amazing email client are you using)
that causes my repurposing an email the way I do to cause a problem,
X-Header attributes?

If you have a problem with a persons actions, You should have taken the
reply immediately offline, and not sent it to the group. You should also
explain why doing what I do causes a problem, and not assume that what I
do is intentional to cause a problem. Maybe I am not born with all
knowledge and experience in all things mailing list known to man, as you
apparently are. 

Some people try to teach and share knowledge. Since you insist, I will
continue here to we can all learn from your complaint and eventual
(hopefully) explanation as to how my process causes problems. BTW, You are
the first person ever to have mentioned that doing it this way is causing
a problem. I'll keep the thread here instead of taking it offline. This
way if anyone else does what I do, we can all learn why this causes a
problem. 

Maybe, we can get the owner of the mailing list to place a link or footer
in each posting that says what address to send emails to. Then people like
I who don't know, could just copy and paste that email address into new
emails instead of hitting reply and changing subject and body and letting
it fly. That is a fairly common thing in newsgroups postings, probably for
this exact reason.

I eagerly await your instructional and helpful reply.


--Bruce D. Meyer


On 5/9/12 6:14 AM, Andreas Ericsson a...@op5.se wrote:

On 05/07/2012 09:06 PM, Meyer, Bruce wrote:
 Using a mac
 

That's beside the point. Don't hijack someone elses thread if you want
your question answered, since threaded view of the mailing list makes
it appear as if you're responding to someone else's question when you
take their mail, hit reply and then replace all text with your own.

Since you're the one who wants something, it's in your interest to
make it easy for the people you want something from to give that to
you. Hijacking a thread means you're off to a bad start, so don't.

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

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.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] 2 Nagios boxes running together in different locations

2012-05-09 Thread Daniel Wittenberg
I would agree with this as well, usually easier I think then trying to 
cross-connect everything together and make sense of all of it.  Make them 
standalone, and then use something like Multisite which can bring all of them 
together in one view so it all appears to be one box setup.

Dan

From: Jeffrey Watts [mailto:jeffrey.w.wa...@gmail.com]
Sent: Wednesday, May 09, 2012 7:58 AM
To: Nagios Users List
Subject: Re: [Nagios-users] 2 Nagios boxes running together in different 
locations

This is exactly how I do things, except I have three sites.

Jeffrey

On Wednesday, May 9, 2012, C. Bensend wrote:

I've dealt with this situation before, and I've ended up
implementing two mostly standalone Nagios systems.  They each
check their own site, so if their external network goes away they
are still able to monitor and alert for the things they're
responsible for (you have to use out-of-band notifications of
course).  They also each check each other's *site*, ala the other
site's firewall, so the Nagios server at site A can alert and let
you know if site B goes away, but it *doesn't* try to alert you
for all of the hosts and services at site B.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Confusion on nrpe

2012-05-09 Thread Werner Flamme
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Meyer, Bruce [09.05.2012 15:33]:
 
 
 HiJacking a thread? What are you talking about? If I had
 maintained someone's subject but changed the content, that is
 hijacking a thread. Merely hitting 'reply' and deleting the subject
 and replacing it, deleting the body and writing my own does not
 seem to me, to qualify as hijacking a thread. That is creating a
 new thread, by changing the subject and body.

No, it is not. In a mail treated like this, you still have the
In-reply-to header, in your case it is

In-reply-to: 011701cd2c3b$a12b6240$e38226c0$@it.net

When you use software that is able to follow threads, this is
thread-hijacking. When you use dumb software, that only lokks for the
subject line, this is hidden.

 Or am I completely missing something? I do sort by thread on my
 machine and my emails are perfectly sorted. Perhaps you should
 start sorting my subject instead of X-header or whatever you are
 threading on now.

Are you broken? Change a mail client because you are not able to enter
an email address as a recipient after clicking New Mail?

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+qeGkACgkQk33Krq8b42MPTQCeM512Uz8Ue7sNJFkDHViOVNUx
srYAniZMWYzY+L4J/prKRlKRJMswrWeO
=Dqrp
-END PGP SIGNATURE-

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Confusion on nrpe

2012-05-09 Thread Andreas Ericsson
Replying in-line, as is the common form on this list.

On 05/09/2012 03:33 PM, Meyer, Bruce wrote:
 
 HiJacking a thread? What are you talking about? If I had maintained
 someone's subject but changed the content, that is hijacking a thread.
 Merely hitting 'reply' and deleting the subject and replacing it, deleting
 the body and writing my own does not seem to me, to qualify as hijacking a
 thread. That is creating a new thread, by changing the subject and body.
 Or am I completely missing something? I do sort by thread on my machine
 and my emails are perfectly sorted. Perhaps you should start sorting my
 subject instead of X-header or whatever you are threading on now.
 
 I would love to have learned something about what you are talking about,
 but so far, you haven't explained a thing, merely complained.
 
 
 
 If I want it further threaded, then it is grouped by the subject.  What on
 earth are you threading by (and what amazing email client are you using)
 that causes my repurposing an email the way I do to cause a problem,
 X-Header attributes?
 
 If you have a problem with a persons actions, You should have taken the
 reply immediately offline, and not sent it to the group. You should also
 explain why doing what I do causes a problem, and not assume that what I
 do is intentional to cause a problem. Maybe I am not born with all
 knowledge and experience in all things mailing list known to man, as you
 apparently are.
 
 Some people try to teach and share knowledge. Since you insist, I will
 continue here to we can all learn from your complaint and eventual
 (hopefully) explanation as to how my process causes problems. BTW, You are
 the first person ever to have mentioned that doing it this way is causing
 a problem. I'll keep the thread here instead of taking it offline. This
 way if anyone else does what I do, we can all learn why this causes a
 problem.
 
 Maybe, we can get the owner of the mailing list to place a link or footer
 in each posting that says what address to send emails to. Then people like
 I who don't know, could just copy and paste that email address into new
 emails instead of hitting reply and changing subject and body and letting
 it fly. That is a fairly common thing in newsgroups postings, probably for
 this exact reason.
 
 I eagerly await your instructional and helpful reply.
 

And here it is:
When someone mentions, without malice, that you've done something wrong,
examine your actions closely before claiming that those educating you
are ignorant or wrong. If you can't find any fault in how you did things,
ask nicely for an explanation. It's quite likely others know something
you don't, and unless you actually *are* the reigning deity on the
subject at hand, showing some humility is always a good idea.

Hijacking a thread is not a big deal. Trying to correct us because we
say it's wrong is however a very bad idea when you want our help.

Hope that helps in your future endeavours.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Notifications when STATE is OK

2012-05-09 Thread Julian_Grunnell
Hi - I've had a request to perform a logfile check on a server 3 times a 
day, the requestor though has stated that they would like an email 
notification if the plugin runs successfully and as such the return code 
will be zero (0). To me this seems a little back to front - they want the 
email notification just for the comfort factor that something was ok in 
the early hours of the morning when no one is actually in the office to 
see the monitoring screens.

The plugin would for example run at 1:15am and check a logfile for a given 
string of text and if found return a 0 / OK STATE - if this happens we 
want an email notification to be sent out.

So does anyone know if this is possible or have done something like this 
and if so how was this done?

Thanks - Julian.

Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527
---

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Direct Investing (Europe) Limited (a 
subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Bank N.V. authorised and 
regulated by De Nederlandsche Bank and the Financial Services Authority for UK 
Business (FSA registered number 216791).  Incorporated in the Netherlands and 
registered as a branch in England and Wales under branch registration number 
BR006780.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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.4.0 complilation error (and trivial fix)

2012-05-09 Thread Randal, Phil
I should have mentioned that that error only occurs if you try to compile 
Nagios 3.4.0 with embedded perl support.

There's also no guarantee that it'll work properly even with that patch.  I had 
problems check_mk with Nagios 3.4.0, but unfortunately, I haven't got the time 
or test environment to get to the bottom of it.

Cheers,

Phil

--
Phil Randal
Infrastructure Engineer
Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT
Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk

From: Ismael Puerto [mailto:ismael.pue...@seres.es]
Sent: 09 May 2012 12:21
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix)

Thanks Phill

On 05/08/2012 04:03 PM, Randal, Phil wrote:
Hi folks,

Trying to compile nagios 3.4.0 gave me this error:

checks.c: In function 'run_async_service_check':
checks.c:714:5: error: 'temp_buffer' undeclared (first use in this function)

Patch to fix the compilation error is:

--- nagios/base/checks.c2012-05-08 14:36:02.0 +0100
+++ nagios/base/checks.c2012-05-08 14:35:45.0 +0100
@@ -469,6 +469,7 @@
double old_latency = 0.0;
dbuf checkresult_dbuf;
int dbuf_chunk = 1024;
+   char *temp_buffer;
#ifdef USE_EVENT_BROKER
int neb_result = OK;
#endif


Cheers,

Phil

--
Phil Randal
Infrastructure Engineer
Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT
Tel: 01432 260415 | Email: 
phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk

Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Hoople Ltd. You should be aware that 
Hoople Ltd. monitors its email service. This e-mail and any attached files are 
confidential and intended solely for the use of the addressee. This 
communication may contain material protected by law from being passed on. If 
you are not the intended recipient and have received this e-mail in error, you 
are advised that any use, dissemination, forwarding, printing or copying of 
this e-mail is strictly prohibited. If you have received this e-mail in error 
please contact the sender immediately and destroy all copies of it.



--

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and

threat landscape has changed and how IT managers can respond. Discussions

will include endpoint security, mobile security and the latest in malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/




___

Nagios-users mailing list

Nagios-users@lists.sourceforge.netmailto: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
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Confusion on nrpe

2012-05-09 Thread Giles Coochey

On 09/05/2012 14:33, Meyer, Bruce wrote:


HiJacking a thread? What are you talking about? If I had maintained
someone's subject but changed the content, that is hijacking a thread.
Merely hitting 'reply' and deleting the subject and replacing it, deleting
the body and writing my own does not seem to me, to qualify as hijacking a
thread. That is creating a new thread, by changing the subject and body.
Or am I completely missing something? I do sort by thread on my machine
and my emails are perfectly sorted. Perhaps you should start sorting my
subject instead of X-header or whatever you are threading on now.



When you upgrade to a threaded mail reader you will understand :-)

Actually, replying to another thread to start your own is considered 
'hijacking'


If you were to change or omit the following headers in your reply, then 
it would not be considered a hijack:


Thread-Index: Ac0sdhy95mbOFeZ/TfuR7Pqyo+E6LQ==
In-Reply-To:011701cd2c3b$a12b6240$e38226c0$@it.net


--
Best Regards,
Giles Coochey, CCNA Security, CCNA
NetSecSpec Ltd
giles.cooc...@netsecspec.co.uk
Tel: +44 (0) 7983 877 438
Live Messenger: gi...@coochey.net
http://www.netsecspec.co.uk
http://www.coochey.net



smime.p7s
Description: S/MIME Cryptographic Signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Correct email use [WAS Confusion on nrpe]

2012-05-09 Thread Paul Weaver
 When you upgrade to a threaded mail reader you will understand :-)
 
 Actually, replying to another thread to start your own is considered
 'hijacking'

There is probably a bit of snobbery with mail agents going on. Many
people are stuck with abominations like Outlook, which are often set up
to ignore traditional ways of handling emails. I personally haven't used
mutt for about 6 years thanks to work pressures.

However most people have used google and come across archives of email
threads. If the OP were to visit
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/thrd2.htm
l#37996, he'll see the kind of threading problem his methodology can
cause, rather than having to take other people's word that their mailing
clients are better than his.



http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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.4.0 complilation error (and trivial fix)

2012-05-09 Thread Mike Guthrie

Hey Phil,

Thanks for the clarification on this.  I was trying to figure out why we 
hadn't come across this issue on our local dev environments.  Maybe some 
other users can chime in on this, but my understanding was that 
compiling with the embedded perl option tends to be problematic due to 
memory leaks and other unpredictable behaviors.  (??)


Let us know anything you find out, we appreciate the input!



On 5/9/2012 10:15 AM, Randal, Phil wrote:


I should have mentioned that that error only occurs if you try to 
compile Nagios 3.4.0 with embedded perl support.


There's also no guarantee that it'll work properly even with that 
patch.  I had problems check_mk with Nagios 3.4.0, but unfortunately, 
I haven't got the time or test environment to get to the bottom of it.


Cheers,

Phil

--

*Phil Randal*

*Infrastructure Engineer*
*Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT*

Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk

*From:*Ismael Puerto [mailto:ismael.pue...@seres.es]
*Sent:* 09 May 2012 12:21
*To:* nagios-users@lists.sourceforge.net
*Subject:* Re: [Nagios-users] Nagios 3.4.0 complilation error (and 
trivial fix)


Thanks Phill

On 05/08/2012 04:03 PM, Randal, Phil wrote:

Hi folks,

Trying to compile nagios 3.4.0 gave me this error:

checks.c: In function 'run_async_service_check':

checks.c:714:5: error: 'temp_buffer' undeclared (first use in this 
function)


Patch to fix the compilation error is:

--- nagios/base/checks.c2012-05-08 14:36:02.0 +0100

+++ nagios/base/checks.c2012-05-08 14:35:45.0 +0100

@@ -469,6 +469,7 @@

double old_latency = 0.0;

dbuf checkresult_dbuf;

int dbuf_chunk = 1024;

+   char *temp_buffer;

#ifdef USE_EVENT_BROKER

int neb_result = OK;

#endif

Cheers,

Phil

--

*Phil Randal*

*Infrastructure Engineer*
*Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT*

Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk 
mailto:phil.ran...@hoopleltd.co.uk


Any opinion expressed in this e-mail or any attached files are those 
of the individual and not necessarily those of Hoople Ltd. You should 
be aware that Hoople Ltd. monitors its email service. This e-mail and 
any attached files are confidential and intended solely for the use of 
the addressee. This communication may contain material protected by 
law from being passed on. If you are not the intended recipient and 
have received this e-mail in error, you are advised that any use, 
dissemination, forwarding, printing or copying of this e-mail is 
strictly prohibited. If you have received this e-mail in error please 
contact the sender immediately and destroy all copies of it.



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/




___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net  mailto:Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


___
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



--


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email:  mguth...@nagios.com
Web:www.nagios.com

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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 

Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix)

2012-05-09 Thread Randal, Phil
I wouldn't rush to deploy Nagios 3.4.0 until this nasty bug's fixed:

http://tracker.nagios.org/view.php?id=332

Cheers,

Phil
--
Phil Randal
Infrastructure Engineer
Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT
Tel: 01432 260415 | Email: phil.ran...@hoopleltd.co.uk

From: Randal, Phil [mailto:phil.ran...@hoopleltd.co.uk]
Sent: 09 May 2012 16:16
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix)

I should have mentioned that that error only occurs if you try to compile 
Nagios 3.4.0 with embedded perl support.

There's also no guarantee that it'll work properly even with that patch.  I had 
problems check_mk with Nagios 3.4.0, but unfortunately, I haven't got the time 
or test environment to get to the bottom of it.

Cheers,

Phil

--
Phil Randal
Infrastructure Engineer
Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT
Tel: 01432 260415 | Email: 
phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk

From: Ismael Puerto [mailto:ismael.pue...@seres.es]
Sent: 09 May 2012 12:21
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios 3.4.0 complilation error (and trivial fix)

Thanks Phill

On 05/08/2012 04:03 PM, Randal, Phil wrote:
Hi folks,

Trying to compile nagios 3.4.0 gave me this error:

checks.c: In function 'run_async_service_check':
checks.c:714:5: error: 'temp_buffer' undeclared (first use in this function)

Patch to fix the compilation error is:

--- nagios/base/checks.c2012-05-08 14:36:02.0 +0100
+++ nagios/base/checks.c2012-05-08 14:35:45.0 +0100
@@ -469,6 +469,7 @@
double old_latency = 0.0;
dbuf checkresult_dbuf;
int dbuf_chunk = 1024;
+   char *temp_buffer;
#ifdef USE_EVENT_BROKER
int neb_result = OK;
#endif


Cheers,

Phil

--
Phil Randal
Infrastructure Engineer
Hoople Ltd | Thorn Office Centre | Hereford HR2 6JT
Tel: 01432 260415 | Email: 
phil.ran...@hoopleltd.co.ukmailto:phil.ran...@hoopleltd.co.uk

Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Hoople Ltd. You should be aware that 
Hoople Ltd. monitors its email service. This e-mail and any attached files are 
confidential and intended solely for the use of the addressee. This 
communication may contain material protected by law from being passed on. If 
you are not the intended recipient and have received this e-mail in error, you 
are advised that any use, dissemination, forwarding, printing or copying of 
this e-mail is strictly prohibited. If you have received this e-mail in error 
please contact the sender immediately and destroy all copies of it.


--

Live Security Virtual Conference

Exclusive live event will cover all the ways today's security and

threat landscape has changed and how IT managers can respond. Discussions

will include endpoint security, mobile security and the latest in malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



___

Nagios-users mailing list

Nagios-users@lists.sourceforge.netmailto: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
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Any upcoming release?

2012-05-09 Thread Frost, Mark {BIS}

 -Original Message-
 From: Andreas Ericsson [mailto:a...@op5.se] 
 Sent: Thursday, April 05, 2012 4:34 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] Any upcoming release?

 On 04/05/2012 07:31 AM, Yu Watanabe wrote:
 Hi all!
 
 I would like to know if there are any plans for the nagios v 3.4.x.
 It has been a while since the last release so I was very curious about it.


 There is. Nagios 3.4 will be a single-threaded and event-driven application
 that sports an I/O-broker and vastly improved check performance. In essence,
 we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads
 from each check being performed. There's also a fixed usage of the current
 scheduling queue implementation which turns scheduling new checks from its
 current O(n) behaviour to O(1). This will provide a huge benefit for large
 installations, and combined with the worker process code we're currently
 seeing a 12-fold increase in the amount of checks Nagios can execute, but
 it's still too early to tell what other things are affected. The external
 command pipe might be a bottleneck if one uses large amounts of passive
 checks, for example.

 It's currently in late alpha, so beta releases should be available in a
 month or so.

 -- 
 Andreas Ericsson   andreas.erics...@op5.se

Andreas,

I'm a little confused about this.   I've been eagerly awaiting these
gee-wiz-bang space-age changes, but when I looked over the change list
for 3.4.0 that Ethan sent they seem like mostly minor changes.  Or 
perhaps they just don't describe things in enough detail to match up the
rather significant architectural changes listed above.

Is this the super-summarized bullet item that refers to the change above?

ENHANCEMENTS
* Use execv() to execute active check commands (#86 - Ton Voon, 
dnsmichi)

Thanks

Mark


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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.4.0 complilation error (and trivial fix)

2012-05-09 Thread Andreas Ericsson
On 05/09/2012 05:15 PM, Randal, Phil wrote:
 I should have mentioned that that error only occurs if you try to
 compile Nagios 3.4.0 with embedded perl support.
 
 There's also no guarantee that it'll work properly even with that
 patch.  I had problems check_mk with Nagios 3.4.0, but unfortunately,
 I haven't got the time or test environment to get to the bottom of
 it.
 

check_mk is written in python though, so it won't be affected by
embedded perl. Not sure you were saying that. I just wanted to
clarify.

Some users (on nagios-devel@) have reported a failure to run checks
with double quotes in them. It appears the execve() patch caused it.

If that's your problem too, you should report it here. I have a half
completed patch for it that'll be ready this weekend or something,
but it would be nice with some corroboration.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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.4.0 complilation error (and trivial fix)

2012-05-09 Thread Andreas Ericsson
On 05/09/2012 06:23 PM, Mike Guthrie wrote:
 Hey Phil,
 
 Thanks for the clarification on this. I was trying to figure out why
 we hadn't come across this issue on our local dev environments. Maybe
 some other users can chime in on this, but my understanding was that
 compiling with the embedded perl option tends to be problematic due
 to memory leaks and other unpredictable behaviors. (??)
 

It is, most of the time, but the code is still in there so it's sort
of supposed to keep working.

Personally, I'd rather remove the whole thing, since it's such a mess
99% of the time.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Any upcoming release?

2012-05-09 Thread Andreas Ericsson
On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote:
 
 -Original Message-
 From: Andreas Ericsson [mailto:a...@op5.se]
 Sent: Thursday, April 05, 2012 4:34 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] Any upcoming release?
 
 On 04/05/2012 07:31 AM, Yu Watanabe wrote:
 Hi all!

 I would like to know if there are any plans for the nagios v 3.4.x.
 It has been a while since the last release so I was very curious about it.
 
 
 There is. Nagios 3.4 will be a single-threaded and event-driven application
 that sports an I/O-broker and vastly improved check performance. In essence,
 we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads
 from each check being performed. There's also a fixed usage of the current
 scheduling queue implementation which turns scheduling new checks from its
 current O(n) behaviour to O(1). This will provide a huge benefit for large
 installations, and combined with the worker process code we're currently
 seeing a 12-fold increase in the amount of checks Nagios can execute, but
 it's still too early to tell what other things are affected. The external
 command pipe might be a bottleneck if one uses large amounts of passive
 checks, for example.
 
 It's currently in late alpha, so beta releases should be available in a
 month or so.
 
 -- 
 Andreas Ericsson   andreas.erics...@op5.se
 
 Andreas,
 
 I'm a little confused about this.   I've been eagerly awaiting these
 gee-wiz-bang space-age changes, but when I looked over the change list
 for 3.4.0 that Ethan sent they seem like mostly minor changes.  Or
 perhaps they just don't describe things in enough detail to match up the
 rather significant architectural changes listed above.
 
 Is this the super-summarized bullet item that refers to the change above?
 
   ENHANCEMENTS
   * Use execv() to execute active check commands (#86 - Ton Voon, 
 dnsmichi)
 

Nopes, it's not, and that patch is actually broken. My code still leaks (about
1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I
didn't know they were going to hit the release button so fast, and without a
beta period.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Any upcoming release?

2012-05-09 Thread Frost, Mark {BIS}
 -Original Message-
 From: Andreas Ericsson [mailto:a...@op5.se] 
 Sent: Wednesday, May 09, 2012 3:53 PM
 To: Nagios Users List
 Cc: Frost, Mark {BIS}
 Subject: Re: [Nagios-users] Any upcoming release?

 On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote:

 Andreas,
 
 I'm a little confused about this.   I've been eagerly awaiting these
 gee-wiz-bang space-age changes, but when I looked over the change list
 for 3.4.0 that Ethan sent they seem like mostly minor changes.  Or
 perhaps they just don't describe things in enough detail to match up the
 rather significant architectural changes listed above.
 
 Is this the super-summarized bullet item that refers to the change above?
 
  ENHANCEMENTS
  * Use execv() to execute active check commands (#86 - Ton Voon, 
 dnsmichi)
 

 Nopes, it's not, and that patch is actually broken. My code still leaks (about
 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I
 didn't know they were going to hit the release button so fast, and without a
 beta period.

 -- 
 Andreas Ericsson   andreas.erics...@op5.se

Aha!  Thanks.  Yeah, I was little struck by how this seemed more like a 3.3.2
release than a release that indicated something significant going on under
the covers.

I guess there's now the problem of when the i/o broker is ready, is that
a 3.4.1 release?   Seems kind of major for that.

Mark

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Any upcoming release?

2012-05-09 Thread Andreas Ericsson
Bleh. It's too late and to sit up and rebase 160-odd patches on top of
20 to fix a single broken one.

For those using the 3.4.0 release, I've cherry-picked all patches that
went in the 3.4.0-release apart from the broken execvp patch and added
them on top of the worker-process code.

If anyone's interested in trying them out, you can get them from
git://github.com/ageric/nagios.git or possibly get a snapshot somewhere
at https://github.com/ageric/nagios

Consider it 3.5.0-alpha or something. It still needs a lot of testing,
but it's been ticking along quite nicely in our lab the past 4 months,
running checks and generally just working with livestatus and Merlin
enabled.

Granted, that part of our lab doesn't use passive check results, but
most of the rest is tested and known to work pretty well, apart from
the small memory leak mentioned below (but who knows? Someone might
even fix that now that it's in the open).

Happy testing.

I'll get a proper fix in for the double-quote issue on friday, as I've
got presentations to run all day tomorrow.


On 05/09/2012 09:53 PM, Andreas Ericsson wrote:
 On 05/09/2012 07:45 PM, Frost, Mark {BIS} wrote:

 -Original Message-
 From: Andreas Ericsson [mailto:a...@op5.se]
 Sent: Thursday, April 05, 2012 4:34 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] Any upcoming release?

 On 04/05/2012 07:31 AM, Yu Watanabe wrote:
 Hi all!

 I would like to know if there are any plans for the nagios v 3.4.x.
 It has been a while since the last release so I was very curious about it.


 There is. Nagios 3.4 will be a single-threaded and event-driven application
 that sports an I/O-broker and vastly improved check performance. In essence,
 we've removed 2 fork() calls, 4 disk searches, 2 filewrites and 2 filereads
 from each check being performed. There's also a fixed usage of the current
 scheduling queue implementation which turns scheduling new checks from its
 current O(n) behaviour to O(1). This will provide a huge benefit for large
 installations, and combined with the worker process code we're currently
 seeing a 12-fold increase in the amount of checks Nagios can execute, but
 it's still too early to tell what other things are affected. The external
 command pipe might be a bottleneck if one uses large amounts of passive
 checks, for example.

 It's currently in late alpha, so beta releases should be available in a
 month or so.

 -- 
 Andreas Ericsson   andreas.erics...@op5.se

 Andreas,

 I'm a little confused about this.   I've been eagerly awaiting these
 gee-wiz-bang space-age changes, but when I looked over the change list
 for 3.4.0 that Ethan sent they seem like mostly minor changes.  Or
 perhaps they just don't describe things in enough detail to match up the
 rather significant architectural changes listed above.

 Is this the super-summarized bullet item that refers to the change above?

  ENHANCEMENTS
  * Use execv() to execute active check commands (#86 - Ton Voon, 
 dnsmichi)

 
 Nopes, it's not, and that patch is actually broken. My code still leaks (about
 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I
 didn't know they were going to hit the release button so fast, and without a
 beta period.
 


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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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] Any upcoming release?

2012-05-09 Thread Andreas Ericsson
On 05/09/2012 10:37 PM, Frost, Mark {BIS} wrote:

 I'm a little confused about this.   I've been eagerly awaiting these
 gee-wiz-bang space-age changes, but when I looked over the change list
 for 3.4.0 that Ethan sent they seem like mostly minor changes.  Or
 perhaps they just don't describe things in enough detail to match up the
 rather significant architectural changes listed above.

 Is this the super-summarized bullet item that refers to the change above?

 ENHANCEMENTS
 * Use execv() to execute active check commands (#86 - Ton Voon, 
 dnsmichi)

 
 Nopes, it's not, and that patch is actually broken. My code still leaks 
 (about
 1MB per 24 hours with 1000 checks / second), so I've held it back a bit. I
 didn't know they were going to hit the release button so fast, and without a
 beta period.
 
 Aha!  Thanks.  Yeah, I was little struck by how this seemed more like a 3.3.2
 release than a release that indicated something significant going on under
 the covers.
 
 I guess there's now the problem of when the i/o broker is ready, is that
 a 3.4.1 release?   Seems kind of major for that.
 

Apparently it'll go into Nagios 4, and that one will most likely have a
proper beta period, since it's likely we take that opportunity to revamp
the object api. It'll be a ways off though, but hopefully before the big
Nagios conference in St Paul in september.

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

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.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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