Posts Categorized: Uncategorized

ThingsBoard API: Get telemetry values

I’m using Insomnia for testing and after already getting the auth token I use that in Insomnia as follows: The URL I used for the query was: The word device in there does not need to be changed by the ID field that follows it should be changed to the UUID of your device. You… Read more »

Blink Hard Disk Light on Dell

To blink the light on a hard disk on Dell Server from the command line first get a list of the physical disks so you can check the disk ID: omreport storage pdisk controller=0 then to blink the disk: omconfig storage pdisk action=blink controller=0 pdisk=0:0:2

CLI RAID Disk Layout on Dell Servers

Newer iDRAC web interfaces show the physical and virtual disks on a PERC controller but for older servers with an old iDRAC use openmanage on the command-line. To view a list of the physical disks: omreport storage pdisk controller=0 To view a list of the virtual disks: omreport storage vdisk controller=0 To check which physical… Read more »

Reboot Linux Server

On a server where normal reboot commands such as ‘shutdown -r now’ are not working and if you don’t have access to an iDrac or similar the following worked: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger

Accessing iDRAC 6 with IE Compatibility Mode

Had difficulty accessing an old iDRAC 6 interface with a more recent release of a web browser. Some of the drac interface shows but you get 404 error messages. The solution was accessing it via the compatability mode on IE: Then add the address of the iDRAC interface:

Offline PluralSight Videos

I wanted to watch a PluralSight course while on a flight without internet access. This might well be against the PluralSight terms and conditions so I don’t recommend doing this. I used a recent version of youtube-dl and used a recent version of python via conda: conda create -n python37 python=3.7 anaconda conda env listconda… Read more »

Installing Vault with Zookeeper

Hashicorp Vault supports several backends for secret storage. I was creating a test Vault to play with PKI certificate generation and started with installing Zookeeper After download the Vault binary and extracting it to /usr/local/sbin/vault, I created a config file at /etc/vault/config.hcl vi /etc/vault/config.hcl storage “zookeeper” { address = “127.0.0.1:2181” path = “vault/” }listener “tcp”… Read more »