Linux related

Converting SNMP enumerations to Zabbix value mappings

Many of those, who tried to use Zabbix for monitoring SNMP capable devices faced with need of creating value mappings. It’s ok to create them by hands if mapping contain few values and you don’t have many metrics that uses ‘named-numbers’. For those who have not had fortune to face with this, I will explain. […]

Tags: , ,

Posted in Linux related | No Comments »

Dirty hack to add values mappings in Zabbix

“I’ll be brief.” © Here is two things about script published in ZBXNEXT-1424, first it can help you to automate creation of large mappings (and it’s cool), second it will broke your DB (not so cool, maaan). When you will try to add mapping in broken DB you will see something like this: The “Error […]

Tags: , , , ,

Posted in Linux related | No Comments »

LVM recovery

Few days ago i made mistake and forced fsck to check partition that contain LVM instead of logic volume, as result i got broken LVM metadata. I was unable to see volume group an logic volumes. pvs output looked like that: # pvs -v Scanning for physical volume names Incorrect metadata area header checksum I […]

Tags: , ,

Posted in Linux related | No Comments »

Simple OpenVPN profile generator

Few month ago i learned that OpenVPN support profiles. Before that i generate config for every client, create keys and certs with easy-rsa, tar it’s all together and put on client. Now i can create profile that will contain all necessary keys, certs and config in one file, so i write simple script that generate […]

Tags: , ,

Posted in Linux related, Security related | No Comments »

Libvirt + vnc + sasl

Yesterday i wanted to configure libvirt with kvm virtualization, while i read comments in config file, i observed, that qemu can share credentials  with  libvirt via sasl. Also i found few how-to, that said ‘just copy /etc/sasl2/libvirt.conf to /etc/sasl2/qemu.conf’. I done that, but when i tried to open console of VM i got “Error: connection […]

Tags: , ,

Posted in Linux related | No Comments »

Pulseview compilation

Half year ago i wanted to make device that can be used to clone ski pass. I thought that ski passes use RFID 125kHz. First i bought itead module RDM6300 but it turned out that it can only read tags, so i bought  EM4095 chip. At this time i also noticed, that most ski passes […]

Tags: , ,

Posted in Hardware, Linux related | 3 Comments »

Zram

Few months ago, i tried very cool feature called ‘zram’. It is linux kernel module that allow to create compressed block devices into memory, it can be used for creating compressed fs in ram  (/tmp for example) or for swap. May be you think, that in context of swap, it is dumb to keeping  memory […]

Tags: ,

Posted in Linux related | No Comments »

Zoneminder jitter

After several years of torture with easycap i realize that it is time to change capture device. I found that other usb capture device that supported by linux cost to high, also i can not use PCI or full height PCI-e devices because of mATX form factor of my server.  Suddenly i found ImpactVCB 1381, […]

Tags: ,

Posted in Linux related, Security related | No Comments »

You IP

Since the idiots in the Russian government passed a law similar to ‘SOPA’ i started to modify routing scheme at my home. Many times i used internet.ya.ru to determine my current outgoing IP address, but i wanted to use more minimalistic tool for this purpose. So i created my own tool with blackjack and hookers, […]

Tags: , , , ,

Posted in Linux related, Security related, Web related | No Comments »

Addresses of TOR relays

Some time ago i wrote about how to block access from TOR network. Few days ago i observed, that file with addresses of TOR relays (http://exitlist.torproject.org/exit-addresses) not available anymore, i did not found similar list, so i wrote my own script with blackjack and hookers. Output of this script not compatible with format of “exit-addresses”, […]

Tags: ,

Posted in Linux related, Security related | 2 Comments »


Powered by WordPress. Designed by Försäkra Online.