OpenNAC Sensor Update¶
Using an external Repository
If you are using an external repository follow the steps in the openNAC Core Update with external repository using the same commands.
Using local host as repository
Using the previous steps to send the packages in the openNAC Core Update, to the server and after that continue this guide.
Be careful not to install packages that correspond to other servers, such as Analytics, Sensor or Oauth. Attached table with information about the packages:
Sensor Packages | Package Name |
Sensor | opennac-sensor |
Bro | bro |
Filebeat | filebeat |
DHCP-Helper-Reader | opennac-dhcp-helper-reader |
Healthcheck | opennac-healthcheck |
Pfring | pfring |
Delete unnecessary packages depending on the server role, also remove an older packages versions that can be in folder.
rm package-name.rpm
Go to the directory with the all packets and make the update with the follow command:
Is strongly recommended to use the option –Uvh because the system advice us when a file is different and its location as shown.
cd /path/to/directory
rpm -Uvh *.rpm
Restart the following services if something goes wrong:
systemctl restart pf_ring
systemctl restart bro
systemctl restart filebeat
systemctl restart dhcp-helper-reader