-
Log into NAbox with ssh, root/NetAppGrafanaVA is default credentials
-
Jump into netapp harvest container
dc exec nabox-harvest2
2016/07/26 09:52:43 Starting build run: vmware-iso | |
2016/07/26 09:52:43 Running builder: vmware-iso | |
2016/07/26 09:52:51 packer: 2016/07/26 09:52:51 Detected VMware version: 8 | |
2016/07/26 09:52:51 ui: ==> vmware-iso: Downloading or copying ISO | |
==> vmware-iso: Downloading or copying ISO | |
2016/07/26 09:52:51 ui: vmware-iso: Downloading or copying: http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso | |
vmware-iso: Downloading or copying: http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso | |
2016/07/26 09:52:51 packer: 2016/07/26 09:52:51 Verifying checksum of debian.iso | |
2016/07/26 09:52:52 packer: 2016/07/26 09:52:52 [DEBUG] Initial checksum matched, no download needed. | |
2016/07/26 09:52:52 packer: 2016/07/26 09:52:52 No floppy files specified. Floppy disk will not be made. |
{ | |
"builders": [ | |
{ | |
"type": "vmware-iso", | |
"iso_url": "http://cdimage.debian.org/debian-cd/8.5.0/amd64/iso-cd/debian-8.5.0-amd64-netinst.iso", | |
"iso_checksum": "3e1b9029a0cf188730646c379d15073f", | |
"iso_checksum_type": "md5", | |
"iso_target_path":"debian.iso", | |
#include <Arduino.h> | |
#include <ArduinoOTA.h> | |
#include <ESP8266mDNS.h> | |
#include <ESP8266WiFi.h> | |
#include <NTPClient.h> | |
#include <SPI.h> | |
#include "FS.h" |
[root@trident trident-installer]# ./tridentctl -n trident version | |
+----------------+----------------+ | |
| SERVER VERSION | CLIENT VERSION | | |
+----------------+----------------+ | |
| 19.04.0 | 19.04.0 | | |
+----------------+----------------+ | |
[root@trident trident-installer]# ./tridentctl get backend -d -n trident | |
Operating mode = tunnel, Trident pod = trident-7cb957fd7-nntwh, Namespace = trident, CLI = kubectl | |
Invoking tunneled command: kubectl exec trident-7cb957fd7-nntwh -n trident -c trident-main -- tridentctl -s 127.0.0.1:8000 --debug get backend | |
Operating mode = direct, Server = 127.0.0.1:8000 |
1/ Replace any mention of 'jessie' in /etc/apt/sources.list by 'stable'. It should look more or less like this : | |
deb http://http.us.debian.org/debian stable main | |
deb-src http://http.us.debian.org/debian stable main | |
deb http://security.debian.org/ stable/updates main | |
deb-src http://security.debian.org/ stable/updates main | |
deb http://http.us.debian.org/debian stable-updates main | |
deb-src http://http.us.debian.org/debian stable-updates main | |
2/ |
# Grafana vulnerability remediation | |
# https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/ | |
# Log into NAbox with root user, password is NetAppGrafanaVA by default | |
ssh root@mynabox | |
# Update grafana container | |
dc pull grafana | |
# Restart container |
#!/bin/bash | |
for file in `ls -r $1-*.png`; do | |
entity=`echo $file | sed -E 's/.+-.+-(.*).png/\1/'` | |
if [ "$entity" == "off" ] | |
then | |
continue | |
fi | |
path="v2/$file" | |
cat << EOF |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, |