To domain-join an debian / ubuntu – server you first need to install realmd and its dependencies Join the server to your Active Directory-Domain If you need to, replace “administrator” with another authorized user. If the above command fails:check if your user has the required permissionscheck the passwordtry the following:
Continue readingCategory: all
Enable LDAP-Diagnose (Domain Controller / Active Directory)
Set registry value Set registry value via powershell Check LDAP-Events Open Event-Viewer and browse to “Applications and Services Logs” –> “Directory Service”. There you can find the LDAP-Events. You can filter for Event-ID “2889” to only get the necessary entries. Check LDAP-Events with powershell Disable LDAP-Diagnose with powershell
Continue readingPihole Blocklists
Below you can find my favorite blocklists to update the pihole gravity database
Continue readingELK-Stack (Elasticsearch Kibana Logstash) – Index not writable (read-only)
Error: [INFO ][logstash.outputs.elasticsearch] retrying failed action with response code: 403 ({“type”=>”cluster_block_exception”, “reason”=>”blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];”}) Log-Message Resolution 1. Cleanup your disk or expand it 2. Set Indices to “read_only_allow_delete”: “false” You can do this over Kibana –> Dev Tools Or via curl
Continue readingUbuntu: Set Time and Timezone
Check current date / time List available timezones Set timezone Check current date/time configuration Sync time with ntp Ensure that “status systemd-timesyncd” is running Time synchronistation is enabled by default. Run the command timedatectl and ensure that “System clock synchroized” and “systemd-timesyncd.service active” are both set to yes. If not,
Continue readingSystem, Event-ID 1102, SNMP
Log Name System Source SNMP Event-ID 1102 Level Warning User N/A Task Category None Message The SNMP Service is ignoring extension agent dll C:\Program Files\QLogic Cosporation\SNMP\qlaspmgnt.dll because it is missing or misconfigured. The path “C:\Program Files\\QLogic Cosporation\SNMP\” does not exist. It should be ” C:\Program Files\QLogic Corporation\SNMP\”. Edit path in
Continue readingAlt Gr randomly stops working
Sometimes I had the problem on Windows 7 and Windows 10 that the Alt Gr Key wasn’t working. The problem often arises if you are connected to another computer over the remote desktop protocol. Solution To solve the problem I just had to press the following key combination:
Continue readingElasticsearch / ELK: winlogbeat configuration for Direct Access
Which logs to collect? To troubleshoot Direct Access and collect the important logs, you could use the following winlogbeat-Configuration
Continue readingPowershell: Chocolatey package manager
Install Chocolatey Install Package with choco Upgrade Package using choco Uninstall Package using choco Install-Script Code
Continue readingCisco Nexus: Scheduled Backup
Create Backup-Script on nexus Maybe you need to use another vrf. This depends on what vrf you configure on your Management-VLAN-Interface Create Task using Embedded Event Manager (EEM) Description snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.6.1: check CPU-Load entry-val 12345: if CPU-Load is below 12345% poll-interval 86400: run actions every 86400 seconds Hint On
Continue reading