<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<font style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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.<br>
<br>
Ed</font><br>
 <br>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<font style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><b>From</b>: Meyer, Bruce [mailto:bdmeyer@cio.sc.gov]
<br>
<b>Sent</b>: Monday, May 07, 2012 02:07 PM<br>
<b>To</b>: Nagios Users List <nagios-users@lists.sourceforge.net> <br>
<b>Subject</b>: Re: [Nagios-users] Confusion on nrpe <br>
</font> <br>
</div>
<div>OS is CentOs on both.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><Meyer>, Bruce Meyer <<a href="mailto:bdmeyer@cio.sc.gov">bdmeyer@cio.sc.gov</a>><br>
<span style="font-weight:bold">Reply-To: </span>Nagios Users List <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>
<span style="font-weight:bold">To: </span>Nagios Users List <<a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a>><br>
<span style="font-weight:bold">Subject: </span>[Nagios-users] Confusion on nrpe<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>I have been struggling with the documentation on nrpe.</div>
<div>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.</div>
<div><br>
</div>
<div>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.</div>
<div>I thought that the purpose of NRPE was to fill this need.</div>
<div><br>
</div>
<div>Now I am starting to think that NRPE has nothing to do with this. Here is what I have tried:</div>
<div><br>
</div>
<div><br>
</div>
<div>I have a group of servers behind a dmz that I do not want Nagios to talk directly to.</div>
<div>Rather, I want these servers to send status info to the central nagios server outbound through the DMZ firewall.</div>
<div><br>
</div>
<div>I have nrpe installed on both the central nagios server, and also on the servers behind the DMZ. </div>
<div><br>
</div>
<div>I am not using xinetd, or inetd, rather a simple daemon.</div>
<div><br>
</div>
<div>To test if everything is working, from the command line on a server behind the dmz I enter:</div>
<div><br>
</div>
<div>
<div>/usr/local/nagios/libexec/check_nrpe -H (central server ip) -c check_users</div>
</div>
<div><br>
</div>
<div>And I get back the results that apply to the Central Monitoring server, not from the host..</div>
<div><br>
</div>
<div>If I swap the –H with localhost, I get back the correct info.</div>
<div><br>
</div>
<div>Is it possible to send the results from the DMZ machines to the Centralized Nagios server?</div>
<div><br>
</div>
<div>My goal is to send from servers behind dmz to the nagios server.</div>
<div><br>
</div>
<div>Thanks for any help. </div>
<div><br>
</div>
<div>--Bruce D. Meyer</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</span>
</body>
</html>