Page 1 of 1

Proper way of removing Nagios Log Server agent for Linux

Posted: Mon Jun 24, 2019 1:53 am
by Ulfandu
Hello,

I'm new to Nagios Log Server and I'm testing it out with a bunch of Windows and Linux hosts. I'm already hitting the 500 MB average and I've decided to remove a host from NLS because it's sending a ton of logs while the others aren't.

So the question is: what's the proper way of removing the Linux agent? This is an Ubuntu server and I installed the client using the ready made script:

curl -sS -O http://nagios-log/nagioslogserver/scrip ... p-linux.sh
sudo bash setup-linux.sh -s nagios-log -p 5544


I couldn't find a solution via Google-fu or the documentation so I'm asking here.

Re: Proper way of removing Nagios Log Server agent for Linux

Posted: Mon Jun 24, 2019 10:38 am
by cdienger
The install script simply creates a configuration file under /etc/rsyslog.d/ or /etc/syslog-ng/ and uninstalling would be a matter of removing the config that was created and restarting the service with "service rsyslogd restart" or "service syslog-ng restart".

Re: Proper way of removing Nagios Log Server agent for Linux

Posted: Mon Jun 24, 2019 11:00 am
by Ulfandu
Okay, fantastic. Thanks for your help, you can lock this thread now.