uninstall NLS

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
judge01
Posts: 33
Joined: Sun Dec 04, 2016 9:16 pm

uninstall NLS

Post by judge01 »

hello,

how to uninstall nagioslogserver? has anybody tried uninstalling nagioslogserver and re-installed again? i saw an uninstall script for nagios-xi, is there a similar script for nagioslogserver?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: uninstall NLS

Post by mcapra »

There isn't a handy script or specific documentation available, but here's how to get the bulk of NLS off a particular machine:

Code: Select all

To uninstall, you can perform the following:
service logstash stop
service elasticsearch stop
yum erase httpd
rm -rf /usr/local/nagioslogserver
rm -rf /var/www/html/nagioslogserver
rm /etc/rc.d/init.d/elasticsearch
rm /etc/rc.d/init.d/logstash
rm /etc/rsyslog.d/nagioslogserver.conf
rm /etc/cron.d/nagioslogserver
pip uninstall elasticsearch-curator==3.4.0
service crond restart
Former Nagios employee
https://www.mcapra.com/
judge01
Posts: 33
Joined: Sun Dec 04, 2016 9:16 pm

Re: uninstall NLS

Post by judge01 »

thank you. this is really helpful.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: uninstall NLS

Post by tmcdonald »

Did you need anything else (related) or shall we close this thread?
Former Nagios employee
judge01
Posts: 33
Joined: Sun Dec 04, 2016 9:16 pm

Re: uninstall NLS

Post by judge01 »

you can close this thread. Thanks.
Locked