Nagios check for Dell OpenManage was failing after upgrade to srvadmin 9.2 with: UNKNOWN: Problem running ‘omreport chassis memory’: Error: SMStatus: 700 UNKNOWN: Problem running ‘omreport chassis batteries’: Error! XML Transformation failed UNKNOWN: Problem running ‘omreport chassis pwrmonitoring’: Error: SMStatus: 700 UNKNOWN: Problem running ‘omreport chassis removableflashmedia’: Error: SMStatus: The check command: /usr/lib64/nagios/plugins/check_openmanage -s -b… Read more »
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 »
ThingsBoard API: Get Auth Token
The auth token will be required for future API requests. I did the following using the Insomnia REST client: As a curl command that would be:
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 »
Increase xfs root partition on AWS instance without LVM
On an EC2 instance with an EBS volume of 200GB I right-clicked the volume and chose to ‘Modify Volume’, then set a new size for the disk. On the OS (RHEL 7.6) you can check that the new size of the disk is visible with: fdisk -l lsblk Then increase the partition with: growpart /dev/nvme0n1… 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
iptables: direct traffic from one port to an alternate port
Requirement was to run a process on a server on a new port but the original port was hard-coded into the client so we needed to redirect all traffic bound for the original port to the new port. First check the IP Forwarding is enabled. sysctl net.ipv4.ip_forward if IP forwarding is not enabled then: echo… Read more »
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 »