|
@@ -1,6 +1,27 @@
|
|
|
# Sensu Notes.md
|
|
|
|
|
|
-## See (Sensu Go Migration Notes.md) file for more details
|
|
|
+See (Sensu Go Migration Notes.md) file for more details
|
|
|
+
|
|
|
+## Sensu License
|
|
|
+5/6/2021
|
|
|
+
|
|
|
+Congrats, we are over 100 servers in Prod. We now need a license.
|
|
|
+
|
|
|
+These are the steps to apply the license. Manually write the license file to the Sensu server. Manually apply it with sensuctl. It is not handled by TF or salt at the moment. Sorry I was busy!
|
|
|
+
|
|
|
+```
|
|
|
+vim /etc/sensu/conf.d/sensu_license.json
|
|
|
+chown sensu: /etc/sensu/conf.d/sensu_license.json
|
|
|
+chmod 600 /etc/sensu/conf.d/sensu_license.json
|
|
|
+vim /root/sensu-password # see vault engineering/sensu/sensu-prod
|
|
|
+sensuctl configure -n --username 'admin' --password $( cat /root/sensu-password ) --namespace default --url 'https://127.0.0.1:8080' --insecure-skip-tls-verify
|
|
|
+sensuctl license info
|
|
|
+sensuctl create --file /etc/sensu/conf.d/sensu_license.json
|
|
|
+sensuctl license info --format tabular
|
|
|
+sensuctl logout
|
|
|
+echo "" > /root/sensu-password
|
|
|
+```
|
|
|
+
|
|
|
|
|
|
## Sensu Upgrade
|
|
|
08/03/2020
|