Page 1 of 1

Redirect nrpe log to local file

Posted: Thu Sep 04, 2014 10:53 pm
by rajasegar
XI 2014R1.2
nrpe 2.15 running as daemon (not using xinetd) started using nagios id

Can you please advice how to redirect the nrpe logs to a file?
e.g: /usr/local/nagios/var/nrpe.log

Do we still need to meddle with the system log facility?

Thanks

Re: Redirect nrpe log to local file

Posted: Fri Sep 05, 2014 9:43 am
by tmcdonald
I haven't tested it myself, but here's a recent post from someone who modified the NRPE source to do just that:

http://support.nagios.com/forum/viewtop ... 1&p=108692