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:

https://thomas-leister.de/powerwalker-ups-debian-stretch/


Erweiterung auf mehrere Hosts über:
https://zefanjas.de/server-bei-stromausfall-herunterfahren-ups-nut-co/


https://forum.iobroker.net/topic/2942/adapter-nut-adapter-usv-ups-auslesen-per-nut/46?lang=de

nagios monitoring:
https://think.unblog.ch/nagios-monitoring-mit-raspberry-pi/



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


Gerät am Proxmox1: 
[1353133.048334] usbcore: registered new interface driver usbhid
[1353133.048337] usbhid: USB HID core driver
[1353133.062769] hid-generic 0003:0463:FFFF.0001: hiddev0,hidraw0: USB HID v1.10 Device [EATON Eaton 3S] on usb-0000:00:14.0-1.1.4/input0