How can I change Nagios/NRPE log location?

komodo komodo at uvt.cz
Wed Oct 5 15:43:37 CEST 2011


Hi

you can change log_facility=daemon to something like 

log_facility=local4

and add this to your syslog.conf, for example

local4.*                                                /var/log/nrpe.log

Best regards

Martin

On Wednesday 05 October 2011 15:13:42 R. Leigh Hennig wrote:
> On my remote hosts, /var/log/messages is filling up with messages like
> this:
> 
> Sep 26 06:33:53 <REMOVED> xinetd[13362]: EXIT: nrpe status=0 pid=8099
> duration=0(sec)
> Sep 26 06:34:01 <REMOVED> xinetd[13362]: START: nrpe pid=8105
> from=<REMOVED> Sep 26 06:34:01 <REMOVED> xinetd[13362]: EXIT: nrpe
> status=0 pid=8105 duration=0(sec)
> Sep 26 06:34:57 <REMOVED> xinetd[13362]: START: nrpe pid=8113
> from=<REMOVED>
> 
> How can I make it so that Nagios/NRPE throws these in a different file, and
> not just /var/log/messages?
> 
> Thanks

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list