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 <nagios-users@lists.sourceforge.net>
Subject: Re: [Nagios-users] Confusion on nrpe

OS is CentOs on both.

From: <Meyer>, Bruce Meyer <bdme...@cio.sc.gov<mailto:bdme...@cio.sc.gov>>
Reply-To: Nagios Users List 
<nagios-users@lists.sourceforge.net<mailto:nagios-users@lists.sourceforge.net>>
To: Nagios Users List 
<nagios-users@lists.sourceforge.net<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

Reply via email to