I've made the configuration change - now I'm guessing I need to restart NRPE daemon to read in the changed config file. How do I restart NRPE? I want it to run as a daemon, and I believe that it is...there's an nrpe file in /etc/xinte.d/...I already restarted xinted after I made the log file change there...<br>
<br><div class="gmail_quote">On Wed, Oct 5, 2011 at 9:51 AM, Schimpke, Dr. Thomas - bhn <span dir="ltr"><<a href="mailto:Schimpke.Thomas@bhn-services.com">Schimpke.Thomas@bhn-services.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
These aren't messages from nrpe but from xinetd. You should set the log_type parameter in nrpe's config fiule for the xinetd. Either use SYSLOG with facility local0 and configure syslog to log local0 to a file .../nrpe.log or use<br>
FILE as a parameter for the log_type and and the full path to the desired logfile.<br>
<br>
Check out the xinetd.conf man page for more details.<br>
<br>
Since you poll nrpe quite often it may be better to run nrpe as a daemon (nrpe -d ...) anyway to avoid the start overhead.<br>
<font color="#888888"><br>
Thomas<br>
</font><div><div></div><div class="h5"><br>
On 10/05/2011 03:13 PM, R. Leigh Hennig wrote:<br>
On my remote hosts, /var/log/messages is filling up with messages like this:<br>
<br>
Sep 26 06:33:53 <REMOVED> xinetd[13362]: EXIT: nrpe status=0 pid=8099 duration=0(sec)<br>
Sep 26 06:34:01 <REMOVED> xinetd[13362]: START: nrpe pid=8105 from=<REMOVED><br>
Sep 26 06:34:01 <REMOVED> xinetd[13362]: EXIT: nrpe status=0 pid=8105 duration=0(sec)<br>
Sep 26 06:34:57 <REMOVED> xinetd[13362]: START: nrpe pid=8113 from=<REMOVED><br>
<br>
How can I make it so that Nagios/NRPE throws these in a different file, and not just /var/log/messages?<br>
<br>
Thanks<br>
<br>
<br>
</div></div><div><div></div><div class="h5">------------------------------------------------------------------------------<br>
All the data continuously generated in your IT infrastructure contains a<br>
definitive record of customers, application performance, security<br>
threats, fraudulent activity and more. Splunk takes this data and makes<br>
sense of it. Business sense. IT sense. Common sense.<br>
<a href="http://p.sf.net/sfu/splunk-d2dcopy1" target="_blank">http://p.sf.net/sfu/splunk-d2dcopy1</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br>