Page 1 of 1
log server uninstall
Posted: Mon Jan 30, 2017 2:52 pm
by benhank
Hey guys I am migrating my log server to better quiptment. I need to uninstall NLS from the old equptment, but there is no uninstall script. How can I uninstall it?
Thanks in advance!
Re: log server uninstall
Posted: Mon Jan 30, 2017 2:58 pm
by mcapra
This should get most of it off:
Code: Select all
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
Though it's by no means equivalent to a "clean slate".
Re: log server uninstall
Posted: Mon Jan 30, 2017 3:00 pm
by benhank
ill take it, but could I get a clean slate version? that would help alot! =D
Re: log server uninstall
Posted: Mon Jan 30, 2017 3:09 pm
by dwhitfield
I think this is resolved (let us know if I'm wrong!), but at the risk of stating the obvious... You could always just reformat the drive and reinstall an OS on top of it if you want a clean slate.
Did you need any help with the migration or are we ready to lock this up?
Re: log server uninstall
Posted: Mon Jan 30, 2017 3:12 pm
by benhank
you can lock it up lol,, reformat lol..they would kill me lol