Monthly Archives: March 2019

VirtualBox: Nonexistent host networking interface, name ‘wlp13s0’

11 March 2019
 

 Have the ~/VirtualBox VMs directory copied from my old laptop to a new PC. Now during VM’s launch – VirtualBox says: Nonexistent host networking interface, name ‘wlp13s0’ (VERR_INTERNAL_ERROR). Result Code: NS_ERROR_FAILURE (0x80004005) Component: ConsoleWrap Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed} Check interfaces on the new PC: [simterm] $ ip a s 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue… Read More »

Ansible: check if a package is installed on a remote system

10 March 2019
 

 Have a self-written letsencrypt role (see the Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail post). Before running the Let’s Encrypt client to obtain a new certificate – need to check if NGINX is installed on a remote host. Let’s use the package_facts module: … – name: “Check if NGINX is… Read More »

Prometheus: RTFM blog monitoring set up with Ansible – Grafana, Loki, and promtail

10 March 2019
 

 After implementing the Loki system on my job’s project – I decided to add it for myself, so see my RTFM blog server’s logs. Also – want to add the node_exporter and alertmanager, to be notified about high disk usage. In this post, I’ll describe the Prometheus, node_exporter, Grafana, Loki, and promtail set up process… Read More »

Linux: LVM – pvcreate Device /dev/sdb4 excluded by a filter.

9 March 2019
 

 During new Linux set up – suddenly got a weird message. It happen just because of my carelessness and haste. Let’s create new partition: [simterm] [root@archiso ~]# pvcreate /dev/sdb4 Device /dev/sdb4 excluded by a filter. [/simterm] Check new partition size: [simterm] [root@archiso ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 476.7M… Read More »

AWS: RDS logs, export to the CloudWatch Logs and CloudFormation template

7 March 2019
 

 We have a bunch of the AWS RDS with MariaDB. Backend-developers asked me to enable slow requests logs so they can debug their application. So the task is: enable AWS RDS logging and configure export to the CloudWatch Logs for further analysis. As everything else – our RDS instances are configured via CloudFormation templates, so… Read More »

Prometheus: blackbox-exporter probe_http_status_code == 0 and its debug

6 March 2019
 

 Today I decided to upgrade Grafana to already released version 6.0 and all other Docker images as well. Upgrade was successful – Loki eventually started displaying previously missed log-file names and other tags, just – immediately I got a bunch of CRITICAL alerts in our Slack from the blackbox-exporter which is used to check every… Read More »

Linux: The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv

5 March 2019
 

 After each new VirtualBox installation – I’m stepping on the same rake again and again and have to go to Google to ask: The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv Attempt to load vboxdrv manually also provides the error: [simterm] $ sudo modprobe vboxdrv… Read More »

Arch Linux: installation, troubleshooting and playing EVE Online

4 March 2019
 

 After the successful installation of WoT on my new Arch Linux setup (see the World of Tanks: installing and running on Arch Linux post) I decided to “achieve the next milestone” – install EVE Online. On a Google search by the “EVE Online Linux” request, I found the wiki.eveuniversity.org guide and tried to use it… Read More »