The first thing to do is to check and see if nagios3 is still running, to do so use the following command:
Code:
ps ax | grep nagios3
If it is still running , you should see something like this:
Code:
ps ax | grep nagios3
1429 ? SNs 0:41 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg
5010 pts/1 S+ 0:00 grep --color=auto nagios3
if you get something similar to the first line, you need to stop nagios3, to do so use this command:
of course substitute the number (PID) at the start of the line for the one on your system. Once you have killed the process, you should be able to completely remove nagios3, using:
Code:
apt-get purge nagios3
Note: You may run into more problems, if you didn't use apt-get to remove the plugin packages you installed.
Bookmarks