I looked at /var/log/nsm/sensor-clean.log and it is filled with "OOPS: The server "" does not exist!"
It seems the most logical solution would be to remove the old sensor altogether. I had the sensor setup offsite to monitor another office but have since taken it down and am getting ready to rebuild it to help with another sensor that is being overloaded.
What is the best practice method of removing the old sensor? Doing a search of the forum turned up nsm_sensor_del but I'm not quite sure if that's something that is finished and is recommended to be used.
Also, when I finish the new sensor, what is the best method of adding it without deleting all of the previous configuration?
Thanks -- I apologize if this has been answered before but I did not find any recent results and wanted to be sure.
------
cat /etc/nsm/servertab
# The server table is used as a quick look up for the NSMnow administration
# scripts. Each line represents a unique server on this host (due to the current limitations of sguil, this is restricted to 1). The values defined
# are:
# - name: the name of the server
# - auto: the server is capable of auto assumption
#
# name auto
securityonion 1
-------
There is no output for /etc/nsm/sensortab (I'm running these commands on the server). I had a 4th sensor but I have since removed it and am rebuilding it. I need to remove said sensor but when it is rebuilt I will want to add the new sensor (different hostnames and IP's).
I mentioned nsm_sensor_del as something that I saw in another post when I performed a search on the 'remove sensor' topic. I wasn't sure if it was still recommended to be used.
--
I'm not sure I understand. You were asking about nsm_sensor_del, but
now you're saying you don't want to delete the previous configuration.
--
I meant I do not want to re-run setup and have all of the configuration lost. I do not care of this one sensors configuration is blown away but when I re-add the sensor with a new hostname/IP, I want to add it to the existing setup.
I have attached sostat-redacted in a txt file. I've noticed there are a lot of mentions of salt in the sostat and I use salt occasionally but not sure why there would be that many running processes.
If nsm_sensor_clean only removes the configuration from that individual sensor then it sounds like that would be the best route to take. Is there an nsm_sensor_add that allows a sensor to be added seamlessly into the setup?
With the sensor no longer able to be accessed, how do you tell the master server to stop looking for the sensor?