Jan 06, 2023
Things about CheckMK not (easily) found in the documentation.
Every host is ping
ed, this service is named "Check_MK".
Run containerized version in podman with podman --cap-add net_raw
for ping to work
Install Plugins in containerized Raw edition:
$ podman exec -it -u cmk checkmk /bin/bash
OMD[cmk]:~$ cd /tmp
OMD[cmk]:~$ curl https://raw.githubusercontent.com/f-zappa/check_mk_adsl_line/master/adsl_line-1.3.mkp
OMD[cmk]:~$ mkp install adsl_line-1.3.mkp
Monitoring RHEL7
- has systemd v219, the agent requires 220. remedy: "legacy mode"
- avoid xinetd? use Agent over SSH
- ssh known_hosts in checkmk container: run
cmk --check $hostname
which lets "the correct" ssh ask for accepting the host key. podman -u cmk $containername /bin/ssh $hostname
did not suffice in my case
IPv6
checkmk defaults to IPv4 only, change in Settings > Folder "Main" > Dual stack. Selecting "both" will do ping4 and ping6 checks separately.
podman container gets no public route, only link-local (fe80:), thus IPv6 pings to public addresses fail.
Apparently an open issue: https://github.com/containers/podman/issues/15850.
Aug 25, 2022
My fedora 35 had its plasmashell
process stuck at 100% CPU, after some switching between wayland and X11 sessions. When trying to change global keyboard shortcuts (e.g. Alt-F1 for the App-Menu Launcher), it would freeze completely for like 30 seconds, repeatedly.
A new user wouldn't have that problem.
The fix was to remove ~/.config/plasmashellrc
.
Feb 04, 2013
Disclaimer: this article is rather old, and does not reflect linux' current state of brightness on the Thinkpad E135
first, it was fixed on maximum. no tool could change it, /sys/class/backlight/acpi_video0/brightness
could be written to and changed, but the backlight didn't. Tried the solutions in, excluding those which would just echo to above /sys/... file, until I found out Kernel parameter acpi_backlight=vendor
did the trick.
Now /sys/class/backlight
no longer contained an acpi_video0
directory, but a thinkpad_screen
directory, that has the same brightness files, which change on using the Fn keys for brightness change.
If I write to them their content changes, but not the backlight, but at least the Fn key combos work.
Feb 04, 2013
On the Thinkpad Edge E135, ALSA recognizes 2 sound cards (0 and 1), of which #1 is the analog one I want to use and control - but not the default one. alsamixer can control it via selecting the entries in its F6 menu, but still it's not the default one. Creating this asound.conf
fixes that.
Now KMix shows 2 open tabs (both with the label "HD Audio Generic"), one for each card. Unfortunately it defaults to control the digital output with its control-panel icon, too, and worse, the dialog to change that "Master Channel" gets confused by the identical names and just doesn't display any channel, so you can't change it. Fix: Stop KMix (dunno if that's really neccessary, but probably is), open ~/.kde4/share/config/kmixrc
and set the MasterMixer=
and MasterMixerDevice=
entries in the [Global]
section. MasterMixer
specifies an equivalent to the ALSA card, but apparently 1-indexed (so here it was "ALSA::HD-Audio_Generic:1" and I set it to "ALSA::HD-Audio_Generic:2"), MasterMixerDevice
tells the channel which should be controlled as Master ("IEC958:0" here, changed to "Master:0"). Simply look at the end of the section names and compare with the channels displayed in KMix beyond each tab (i.e. card), if you're unsure what entries to set.
Note: In later versions of KMix (IIRC around 4.15) this stopped to work, so I stayed on that version