Friday, June 26, 2020

Openhab and iobroker on same Linux Problem

Just saw, that frontail service for openhab serves on port 9001 which ist same as Iobroker internal imem Socket!

After disabling frontail iobroker was reachable again.

Sunday, June 7, 2020

USV / UPS an Raspi

Raspberrymatic: 
https://github.com/wolwin/WW-mySHT/blob/master/SHT_RM_Nut/RM-NUT_Client.md


Ich habe mich für die Vorgehensweise mit Nut entschlossen:




Nagios check_raid Bug for non Dm users:

since an update, the query for DM causes an error. Workaround for md Raid users is:
-p mdstat:

define command {
 command_name    check_raid
 command_line    /usr/lib/nagios/plugins/check_raid $ARG1$
}


define service{
    use                  generic-service
    host_name            localhost
    service_description  Linux RAID
    check_command        check_raid!-p mdstat!
    normal_check_interval  120
    retry_check_interval 5
}


Script extension:
https://unix.stackexchange.com/questions/164788/run-various-shell-commands-when-nut-reports-a-low-ups-battery