I am trying to understand how a NRPE proxy works so I can test this as a solution..<div><br></div><div>Currently my nagios core is outside of the "production" network for various reasons. I have NRPE setup via xinetd on two production servers inside this network. a number of the servers inside this network are internal only db servers with no outbound access. </div>
<div><br></div><div>I found this here -></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://serverfault.com/questions/117815/distributed-nagios-installation">http://serverfault.com/questions/117815/distributed-nagios-installation</a></div>
<div><br></div><div>So I would need the NRPE and plugins i'm using installed on the db server.. </div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-size: 14px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; clear: both; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial; ">
>From the main nagios server: check_nrpe -H NRPEPROXYHOST -c check_ping -H 10.0.0.3 ....</p><div>So that makes sense, you call a regular check and then have it run whatever check on the internal.. What if I wanted to do something besides a check ping, maybe a disk check that requires the plugin to be on the server? Can I string something to together? Can anyone provide me with an example of this?</div>
<div><br></div><div>So I assume to do that the NRPE daemon needs to be running on internal db server. Which is fine, but when nagios checks through the proxy.. How do I configure it to display it is a unique host instead of the NRPEPROXYHOST?</div>
<div><br></div><div>thanks</div><div><br></div></span></div>