Перейти до основного вмісту

Публікації

Налаштування items для host для моніторінгу сервера MySQL

Для налаштування zabbix в Debian спочатку потрібно встановити та налаштувати odbc. Поради є тут https://blog.zabbix.com/out-of-the-box-database-monitoring/13957/ Поради з налаштування zabbix є тут https://www.zabbix.com/documentation/current/ua/manual/config/items/itemtypes/odbc_checks https://www.zabbix.com/documentation/current/ua/manual/discovery/low_level_discovery/examples/sql_queries#using-dbodbcget ще тут https://blog.zabbix.com/out-of-the-box-database-monitoring/13957/ https://subscription.packtpub.com/book/cloud-and-networking/9781800202238/2/ch02lvl1sec18/setting-up-database-monitoring Створення item для host описано тут https://www.zabbix.com/documentation/5.4/ru/manual/config/items/itemtypes/script
Останні дописи

Підключення Linux Server (Apcupsd) - USB+COM - APC Smart 1500

Підключено ДБЖ APC Smart 1500 до сервера на Debian Linux. Для підключення використовується кабель з маркуванням 940-0272A, котрий має DB9  на стороні ДБЖ та USB на стороні комп'ютера. Цей кабель одразу розпізнається сервером на Debian. Це можна побачити через аналіз dmesg. Там будуть повідомлення на кшталт. usb 1-2.1: Product: USB-Serial Controller usb 1-2.1: Manufacturer: Prolific Technology Inc. usb 1-2.1: pl2303 converter now attached to ttyUSB0   Після встановлення apcupsd, потрібно в /etc/apcupsd/apcupsd.conf налаштувати UPSCABLE usb UPSTYPE apcsmart DEVICE /dev/ttyUSB0 Підказки знайшов тут https://forums.debian.net/viewtopic.php?t=152663 https://unix.stackexchange.com/questions/459466/pl2303-pl2303x-usb-serial-driver

Додавання іконки запуску додатків у стрічку меню Excel 2007-2019

Додати іконку запуску додатку (Addon) у головну стрічку меню в MS Excel 2007-2019 не можливо простими засобами розробника. На  https://stackoverflow.com/questions/8850836/how-to-add-a-custom-ribbon-tab-using-vba знайшов працюючий метод. Що в свою чергу базується на порадах Microsoft  https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2007/aa338202(v%3Doffice.12)#using-callbacks Метод наступний Create Excel file/files whose ribbons you want to customise. In my case, I've created two  .xlam  files,  Chart Tools.xlsm  , to demonstrate how multiple add-ins can interact with the Ribbon. Create a folder, with any folder name, for  each  file you just created. Inside each of the folders you've created, add a  customUI  and  _rels  folder. Inside each  customUI  folder, create a  customUI.xml  file. The  customUI.xml  file details how Excel files interact with the ribbon.  Part 2 of the Microsoft guide  covers the elements in the  customUI.xml  file. My  custom