Nagios LMS - Client Script Accidently Run on Server Itself

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
jslawrenc
Posts: 11
Joined: Wed May 16, 2018 11:54 am

Nagios LMS - Client Script Accidently Run on Server Itself

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post 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.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
jslawrenc
Posts: 11
Joined: Wed May 16, 2018 11:54 am

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

Post by jslawrenc »

Thank you guys. I'm just getting familiar with Nagios LMS. Really appreciate the advice here.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

jslawrenc wrote:Thank you guys. I'm just getting familiar with Nagios LMS. Really appreciate the advice here.
No problem.

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked