Author Archives: setevoy

What is: YAML – its overview, basic data types, YAML vs JSON, and PyYAML

14 March 2019
 

 YAML – is one of the most popular formats of the… Well, actually, they don’t know the format of what… Originally it was the «Yet Another Markup Language», later it became «YAML Ain’t Markup Language»: Originally YAML was said to mean Yet Another Markup Language,[12] referencing its purpose as a markup languagewith the yet another construct, but it was then… Read More »

Jenkins: import a job to another server

13 March 2019
 

 We have an old Jenkins with a bunch of iOS jobs which needs to be copied to a new Jenkins instance. Documentation suggests to: Move a job from one installation of Jenkins to another by simply copying the corresponding job directory. I.e. the first solution is just to copy a whole jobs directory or copy… Read More »

Linux: telegram-desktop – no systray icon

13 March 2019
 

 Have the telegram-desktop installed via pacman on the Arch Linux. After starting – no systray’s icon present and thus can’t see new messages and even can’t exit in a normal way. This issue is not specific for the Arch Linux and happens on any Linux systems. Go to the Google and make search with “telegram linux… Read More »

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 »