Category: Tech-Notes
-
Graylog fix wrong field type
Sometimes you’ll get a indexing error, because the field type couldn’t be matched. This will look something like this: You can fix this, by changing the mapping in opensearch. Usually you do this directely on the index, but with roating indexes like in graylog, this won’t work. That’s why we need to create a template,…
-
acme.sh & traefik cert issue
acme.sh renew doesn’t work Let’s tackel the acme.sh issue first. I sent a renew command with manual DNS verification, the renew went through without errors, but the cert didn’t renew. This is a known issue: https://github.com/acmesh-official/acme.sh/issues/4041 The solution is to delete these lines in the config file under ~/.acme.sh/yourdomain/yourdomain.conf: After that send the usual renew…
-
VMware Tools Install – Error 21004
When we tried to mount the VMware Tools with the button “Install VMware Tools”, we got the Error 21004. In the vmware.log of that particular VM, we got this error: This is a known issue, where changing the product locker leads to file permission errors. This can be fixed by reapplying the file permissions. Put…
-
Self-Signed Cert on Windows
It’s easy to create a self-signed cert on windows: If you have something like the SQL Reporting Service, you’ll have to trust the certificate. So we can extend the command like this:
-
K3S Traefik – HTTP Redirection
You want to redirect all trafic from http to https? You got a K3S Cluster with traefik installed? Fear not my friend. I almost started crying, no matter what, it didn’t work. Finally I found the solution. We just create a HelmChartConfig which basically injects config into a helm chart, and add 3 lines to…
-
Webhook Mini-Server
I have an application that only allows alerting over a HTTP-Post request, without any specification over the body, headers, etc. This does not work for us. We need more flexibility. So I created a simple python script, that starts a webserver, which than runs bash scripts/local commands. Simple, not too secure (but it will only…
-
Troubleshooting – Monitor File Access with SysMon
I want to monitor what files are created, deleted, etc. on a local drive for troubleshooting. Sysmon by SysInternals should be able to do it. So let’s give it a go. Config First we need a config file. This one monitores file delete/create. There are loads more options to choose from. Install Let’s install this…