Official Sensu Hosted Package Repo Service Packagecloud
** We will use our XDR Internal Reposerver
for all upgrade methods - See How to add a new package to the Reposerver
Sensu Upgrade Documentation - as of June 17, 2021, Sensu Go 6.3
is not being displayed in the Sensu documentation, but procedure still applies.
Download latest packages for Sensu backend
, Sensu agents
, Sensuctl
(Sensu CLI) to Repo server
and run yum clean all
on Sensu Backend
server - See Reposerver notes.
If needed, update Salt states to ensure they are up-to-date
Stop Sensu services on Sensu Backend
server
systemctl stop sensu-agent
systemctl stop sensu-backend
Update Sensu Go software on the Sensu Backend
server
yum update sensu-go-backend
yum update sensu-go-cli
yum update sensu-go-agent
systemctl daemon-reload
Restart the Sensu services
systemctl start sensu-backend
systemctl start sensu-agent
Run yum clean all
on Salt minions
Stop agent on minion systemctl stop sensu-agent
Upgrade agent on minion yum update sensu-go-agent -y
Run this systemctl daemon-reload
Start agent systemctl start sensu-agent
Verify with this:
salt '*' cmd.run 'sensu-agent version'
salt -C '* not salt* not sensu* not jira*' cmd.run 'sensu-agent version'
In version 5.16
the default password was removed in favor of a sensu-backend init with bash variables.
Sen$uP@ssw0rd!
systemctl start sensu-backend
export SENSU_BACKEND_CLUSTER_ADMIN_USERNAME=YOUR_USERNAME
export SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD=YOUR_PASSWORD
sensu-backend init
sensuctl create --file filename.json