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

2012-05-08 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] check_http script is not working

2012-05-08 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_load -w $ARG1$ -c $ARG2$

2012-05-08 Thread Max Schubert
Load average is a relative measure of how much work over time a system is doing.

Read these to start:

http://www.linuxjournal.com/article/9001
http://www.teamquest.com/pdfs/whitepaper/ldavg1.pdf
http://www.teamquest.com/pdfs/whitepaper/ldavg2.pdf

--
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-08 Thread Bram Gillemon
Hi,

Can you visit the url using lynx / curl / ..., your syntax is correct. So it 
looks like another problem.

Kr,
Bram

On 08 May 2012, at 09:01, Sankar, Bheemarasetty wrote:

> 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
>  
>  
> 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_load -w $ARG1$ -c $ARG2$

2012-05-08 Thread Bram Gillemon
These are the warning and the critical thresholds, when the load ( 1min, 5min, 
15min ) value rises above the threshold you set it triggers the warning or 
error message in the script.

So in the example you give it would mean, if the 1min average goes above 5, it 
will trigger a warning event, if it goes above 10 it will trigger the critical 
event. Same goes for 5 min average and 15 min.

Keep in mind that only 1 of these values must be reached, not all of them.

Kr,
Bram

 
On 07 May 2012, at 20:44, kevin tran wrote:

> Hello,
> 
> Can someone please explain to me what these numbers mean?
> 
> 5.0,4.0,3.0
> 10.0,6.0,4.0
> 
> check_load v1.4.15 (nagios-plugins 1.4.15)
> 
> Thanks,
> Kevin
> 
> 
> 
> --
> 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


[Nagios-users] check_load -w $ARG1$ -c $ARG2$

2012-05-08 Thread kevin tran
Hello,

Can someone please explain to me what these numbers mean?

5.0,4.0,3.0
10.0,6.0,4.0

check_load v1.4.15 (nagios-plugins 1.4.15)

Thanks,
Kevin
--
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] check_http script is not working

2012-05-08 Thread Sankar, Bheemarasetty
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


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

Re: [Nagios-users] How can I change Nagios from email address ?

2012-05-08 Thread Eliezer Croitoru
just change the "myorigin" statement in postfix.
it should do the trick.

Eliezer

On 08/05/2012 12:39, özgür umut vurgun wrote:
> Hi,
>
> I am using postfix ... But I don't know how to configuration
>
>
>
> Özgür Umut VURGUN
>
>
>
> 2012/5/8 Assaf Flatto mailto:nag...@flatto.net>>
>
> __
> Are you using sendmail or postfix as your MTA ?
>
> The configuration is done on the MTA .
>
>
>
>
> On 08/05/12 08:29, özgür umut vurgun wrote:
>> Hi All,
>>
>> I'd like to change Nagios Email address. Now I am using
>> "admin@hostname-nagios.localhost"
>>  but many system doesn't
>> accept this email address. So I'd like to change to real e-mail
>> address. I have searched in the internet but I couldn't be success.
>>
>> How can I do it ?
>>
>> Thanks...
>>
>> Özgür Umut VURGUN
>>
>>
>> 
>> --
>> 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


-- 
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer  ngtech.co.il

--
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] Nagios 3.4.0 complilation error (and trivial fix)

2012-05-08 Thread Randal, Phil
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

"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

Re: [Nagios-users] Confusion on nrpe

2012-05-08 Thread Edwin Zoeller
Not a problem

From: Meyer, Bruce [mailto:bdme...@cio.sc.gov]
Sent: Tuesday, May 08, 2012 7:44 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Confusion on nrpe

Hi Ed,
I don't have a problem getting it running. What I am not 
grasping is how to have it read the stats on the local machine and send it's 
data to the central monitoring server. I finally gave up trying to grasp the 
documentation and bought an e-book on Nagios. It was clear to me then that nrpe 
isn't for what I am trying to do, rather ncsa should be used in passive mode.

I appreciate your response.

Thank-you Sir,
--Bruce


From: Edwin Zoeller 
mailto:edwin.zoel...@ama-assn.org>>
Reply-To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
To: 
"'nagios-users@lists.sourceforge.net'"
 mailto:nagios-users@lists.sourceforge.net>>
Subject: Re: [Nagios-users] Confusion on nrpe

I run nrpe on both Linux and Solaris clients. Have you run the startup of nrpe 
on the client in debug mode? This should be straight forward, the only caverat 
I have run into is not having two security lib's installed.

Ed

From: Meyer, Bruce [mailto:bdme...@cio.sc.gov]
Sent: Monday, May 07, 2012 02:07 PM
To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
Subject: Re: [Nagios-users] Confusion on nrpe

OS is CentOs on both.

From: , Bruce Meyer mailto:bdme...@cio.sc.gov>>
Reply-To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
Subject: [Nagios-users] Confusion on nrpe

I have been struggling with the documentation on nrpe.
It is very difficult to tell when the text is talking about configuring 
something on the monitoring server, and when the text is describing configuring 
something on the monitored device.

My goal for a group of machines behind a DMZ is to query some plugins, and send 
the reulsts from the Monitored servers TO the centralized Nagios server that 
displays the status of all ncsa, nrpe etc machines.
I thought that the purpose of NRPE was to fill this need.

Now I am starting to think that NRPE has nothing to do with this. Here is what 
I have tried:


I have a group of servers behind a dmz that I do not want Nagios to talk 
directly to.
Rather, I want these servers to send status info to the central nagios server 
outbound through the DMZ firewall.

I have nrpe installed on both the central nagios server, and also on the 
servers behind the DMZ.

I am not using xinetd, or inetd, rather a simple daemon.

To test if everything is working, from the command line on a server behind the 
dmz I enter:

/usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users

And I get back the results that apply to the Central Monitoring server, not 
from the host..

If I swap the -H with localhost, I get back the correct info.

Is it possible to send the results from the DMZ machines to the Centralized 
Nagios server?

My goal is to send from servers behind dmz to the nagios server.

Thanks for any help.

--Bruce D. Meyer


--
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] How can I change Nagios from email address ?

2012-05-08 Thread Simone Felici

I'm using a server that sends *only* nagios mails, then I've implemented regexp 
header_checks to 
replace every outgoing sender email.

Into main.cf:
(...)
header_checks = regexp:/etc/postfix/header_checks

and then into /etc/postfix/header_checks
/From:.*/ REPLACE From: "Monitoring System" 

Maybe there is a better way to do it. For me works.

Cheers, Simon


Il 08/05/2012 11:39, özgür umut vurgun ha scritto:
> Hi,
>
> I am using postfix ... But I don't know how to configuration
>
>
>
> Özgür Umut VURGUN
>
>
>
> 2012/5/8 Assaf Flatto mailto:nag...@flatto.net>>
>
> __
> Are you using sendmail or postfix as your MTA ?
>
> The configuration is done on the MTA .
>
>
>
>
> On 08/05/12 08:29, özgür umut vurgun wrote:
>> Hi All,
>>
>> I'd like to change Nagios Email address. Now I am using 
>> "admin@hostname-nagios.localhost"
>>  but many system doesn't accept 
>> this email address. So
>> I'd like to change to real e-mail address. I have searched in the 
>> internet but I couldn't be
>> success.
>>
>> How can I do it ?
>>
>> Thanks...
>>
>> Özgür Umut VURGUN
>>
>>
>> 
>> --
>> 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/
>>
>>

--
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] How can I change Nagios from email address ?

2012-05-08 Thread Simone Felici

I'm using a server that sends *only* nagios mails, then I've implemented regexp 
header_checks to 
replace every outgoing sender email.

Into main.cf:
(...)
header_checks = regexp:/etc/postfix/header_checks

and then into /etc/postfix/header_checks
/From:.*/ REPLACE From: "Monitoring System" 

Maybe there is a better way to do it. For me works.

Cheers, Simon


Il 08/05/2012 11:39, özgür umut vurgun ha scritto:
> Hi,
>
> I am using postfix ... But I don't know how to configuration
>
>
>
> Özgür Umut VURGUN
>
>
>
> 2012/5/8 Assaf Flatto mailto:nag...@flatto.net>>
>
> __
> Are you using sendmail or postfix as your MTA ?
>
> The configuration is done on the MTA .
>
>
>
>
> On 08/05/12 08:29, özgür umut vurgun wrote:
>> Hi All,
>>
>> I'd like to change Nagios Email address. Now I am using 
>> "admin@hostname-nagios.localhost"
>>  but many system doesn't accept 
>> this email address. So
>> I'd like to change to real e-mail address. I have searched in the 
>> internet but I couldn't be
>> success.
>>
>> How can I do it ?
>>
>> Thanks...
>>
>> Özgür Umut VURGUN
>>
>>
>> 
>> --
>> 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/
>>
>>

--
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-08 Thread Meyer, Bruce
Hi Ed,
I don't have a problem getting it running. What I am not grasping is how to 
have it read the stats on the local machine and send it's data to the central 
monitoring server. I finally gave up trying to grasp the documentation and 
bought an e-book on Nagios. It was clear to me then that nrpe isn't for what I 
am trying to do, rather ncsa should be used in passive mode.

I appreciate your response.

Thank-you Sir,
--Bruce


From: Edwin Zoeller 
mailto:edwin.zoel...@ama-assn.org>>
Reply-To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
To: 
"'nagios-users@lists.sourceforge.net'"
 mailto:nagios-users@lists.sourceforge.net>>
Subject: Re: [Nagios-users] Confusion on nrpe

I run nrpe on both Linux and Solaris clients. Have you run the startup of nrpe 
on the client in debug mode? This should be straight forward, the only caverat 
I have run into is not having two security lib's installed.

Ed

From: Meyer, Bruce [mailto:bdme...@cio.sc.gov]
Sent: Monday, May 07, 2012 02:07 PM
To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
Subject: Re: [Nagios-users] Confusion on nrpe

OS is CentOs on both.

From: , Bruce Meyer mailto:bdme...@cio.sc.gov>>
Reply-To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
To: Nagios Users List 
mailto:nagios-users@lists.sourceforge.net>>
Subject: [Nagios-users] Confusion on nrpe

I have been struggling with the documentation on nrpe.
It is very difficult to tell when the text is talking about configuring 
something on the monitoring server, and when the text is describing configuring 
something on the monitored device.

My goal for a group of machines behind a DMZ is to query some plugins, and send 
the reulsts from the Monitored servers TO the centralized Nagios server that 
displays the status of all ncsa, nrpe etc machines.
I thought that the purpose of NRPE was to fill this need.

Now I am starting to think that NRPE has nothing to do with this. Here is what 
I have tried:


I have a group of servers behind a dmz that I do not want Nagios to talk 
directly to.
Rather, I want these servers to send status info to the central nagios server 
outbound through the DMZ firewall.

I have nrpe installed on both the central nagios server, and also on the 
servers behind the DMZ.

I am not using xinetd, or inetd, rather a simple daemon.

To test if everything is working, from the command line on a server behind the 
dmz I enter:

/usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users

And I get back the results that apply to the Central Monitoring server, not 
from the host..

If I swap the –H with localhost, I get back the correct info.

Is it possible to send the results from the DMZ machines to the Centralized 
Nagios server?

My goal is to send from servers behind dmz to the nagios server.

Thanks for any help.

--Bruce D. Meyer


--
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] How can I change Nagios from email address ?

2012-05-08 Thread Frost, Mark {BIS}
Depending on how you send your mail messages, you could just get away with 
using a command-line argument.

In our case, the notifications commands send mail using "Mail" (or "mailx" -- I 
can't remember of the top of my head).   So we've modified the e-mail 
notifications commands in the Nagios config to add

-R nag...@hostname.we.want.to.see

Assuming you use Mail or mailx, check the man pages for those on your local OS 
to ensure it supports them, but I thought most modern Linuxes supported that.

Note that this changes the Reply-to line that your messages comes from.  That's 
been more than sufficient for us and makes Nagios messages appear the way we 
want them to.

Mark


From: özgür umut vurgun [ozgurumutvur...@gmail.com]
Sent: Tuesday, May 08, 2012 3:29 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How can I change Nagios from email address ?

Hi All,

I'd like to change Nagios Email address. Now I am using 
"admin@hostname-nagios.localhost" but many system doesn't accept this email 
address. So I'd like to change to real e-mail address. I have searched in the 
internet but I couldn't be success.

How can I do it ?

Thanks...

Özgür Umut VURGUN


--
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] How can I change Nagios from email address ?

2012-05-08 Thread özgür umut vurgun
Hi,

I am using postfix ... But I don't know how to configuration



Özgür Umut VURGUN



2012/5/8 Assaf Flatto 

> **
> Are you using sendmail or postfix as your MTA ?
>
> The configuration is done on the MTA .
>
>
>
>
> On 08/05/12 08:29, özgür umut vurgun wrote:
>
> Hi All,
>
>  I'd like to change Nagios Email address. Now I am using
> "admin@hostname-nagios.localhost"  but
> many system doesn't accept this email address. So I'd like to change to
> real e-mail address. I have searched in the internet but I couldn't be
> success.
>
>  How can I do it ?
>
>  Thanks...
>
> Özgür Umut VURGUN
>
>
> --
> 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 
> listNagios-users@lists.sourceforge.nethttps://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] How can I change Nagios from email address ?

2012-05-08 Thread Assaf Flatto

Are you using sendmail or postfix as your MTA ?

The configuration is done on the MTA .



On 08/05/12 08:29, özgür umut vurgun wrote:

Hi All,

I'd like to change Nagios Email address. Now I am using 
"admin@hostname-nagios.localhost" but many system doesn't accept this 
email address. So I'd like to change to real e-mail address. I have 
searched in the internet but I couldn't be success.


How can I do it ?

Thanks...

Özgür Umut VURGUN


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

[Nagios-users] How can I change Nagios from email address ?

2012-05-08 Thread özgür umut vurgun
Hi All,

I'd like to change Nagios Email address. Now I am using
"admin@hostname-nagios.localhost" but many system doesn't accept this email
address. So I'd like to change to real e-mail address. I have searched in
the internet but I couldn't be success.

How can I do it ?

Thanks...

Özgür Umut VURGUN
--
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