Page 1 of 1

Nagios LMS - Client Script Accidently Run on Server Itself

Posted: Mon Jun 18, 2018 4:13 pm
by jslawrenc
It appears the client agent script was mistakenly setup on the server itself (terminal sessions mixed up). It's now sending logs to itself as a log source. Is there an easy way to undo this? Would I just create a localhost config filter to block logs looping to itself?

Re: Nagios LMS - Client Script Accidently Run on Server Itse

Posted: Tue Jun 19, 2018 7:01 am
by mcapra
You could disable the local rsyslog service, or remove the nagioslogserver config file located in /etc/rsyslog.d and restart the rsyslog service.

Re: Nagios LMS - Client Script Accidently Run on Server Itse

Posted: Tue Jun 19, 2018 8:44 am
by scottwilkerson
mcapra wrote:You could disable the local rsyslog service, or remove the nagioslogserver config file located in /etc/rsyslog.d and restart the rsyslog service.
Yes this should do it. For the record, this is done by default on install.

Re: Nagios LMS - Client Script Accidently Run on Server Itse

Posted: Tue Jun 19, 2018 10:07 am
by jslawrenc
Thank you guys. I'm just getting familiar with Nagios LMS. Really appreciate the advice here.

Re: Nagios LMS - Client Script Accidently Run on Server Itse

Posted: Tue Jun 19, 2018 11:00 am
by scottwilkerson
jslawrenc wrote:Thank you guys. I'm just getting familiar with Nagios LMS. Really appreciate the advice here.
No problem.

Locking thread