• 5 min,  mysql,  Zabbix

    Zabbix agent

    4 Windows agent installation from MSI (zabbix.com) After you have installed Zabbix on a VM and MySQL or PostGreSQL on a another VM it is time to start collecting data from the servers you want to monitor. Install Zabbix Agent on Windows (msi) | Server Monitoring Guide (bestmonitoringtools.com) Install agent msi On the host you want to monitor you have avaliable (after installed) Service Logs Configuration and the tool for zabbix sender Add a new host in Zabbix, use cmd to get the hostname. Since we are installing Zabbix agent for windows, you can choose template with predefined items, triggers and graphs.: Windows by Zabbix agent There are actually ,…

    Comments Off on Zabbix agent
  • 5 min,  Zabbix

    Zabbix traffic

    Enterprise IT monitoring with Zabbix Scaling to Large Environments Zabbix has been designed to scale from small environments with a few devices to large ones with thousands of monitored devices. There are Zabbix installations out there with over 100,000 devices monitored, showing that Zabbix is able to process more than 3,000,000 checks per minute using mid-range hardware and collecting gigabytes of historical data daily. Optimized for High Performance Besides the powerful agentless monitoring, Zabbix agent offers high performance for monitoring the operating system and application-specific metrics. Zabbix agent uses minimal CPU resources and memory and is compatible with several platforms including Linux, UNIX and Windows. How many devices is zabbix…

    Comments Off on Zabbix traffic
  • 5 min,  mysql,  Zabbix

    Zabbix 6 good practice 2022 + Azure install 2 VM’s (zabbix and mysql)

    Note: Install Zabbix Server package without installing MySQL server : zabbix (reddit.com) software installation – What are the implications of –no-install-recommends (apt-get install)? – Ask Ubuntu Note check mysql installed It must be the last package Does MySQL get installed, is zabbix-server-mysql MySql: Getting Zabbix 6, there are 4 ways, 5 with Azure market. Microsoft Azure Marketplace Robust and durable, allowing to efficiently process up to 100,000 new metrics per second Read the above link if you need if you need. Must also look at cost 2 VM’s vs Market What the best? Actual configuration depends on the number of active items and refresh rates very much (see database size…

    Comments Off on Zabbix 6 good practice 2022 + Azure install 2 VM’s (zabbix and mysql)
  • Zabbix

    Zabbix Tuning

    This work in progress. 2 Performance tuning (zabbix.com) 2.1 Hardware Use fastest processor available Having more memory is always better 2.2 Operating System Exclude unnecessary functionality from kernel 2.3 Zabbix configuration parameters Many parameters may be tuned to get optimal performance. 2.3.1 zabbix_server StartPollers General rule – keep value of this parameter as low as possible. Every additional instance of zabbix_server adds known overhead, in the same time, parallelism is increased. Optimal number of instances is achieved when queue, on average, contains minimum number of parameters (ideally, 0 at any given moment). This value can be monitored by using internal check zabbix[queue]. DebugLevel Optimal value is 3. DBSocket MySQL only.…

    Comments Off on Zabbix Tuning
  • azure,  mysql,  Sql,  Zabbix

    Zabbix on VM remote MySql (Na market)

    Lets continue and install Zabbix on a VM and MySql on another: BasicsSubscriptionFree TrialResource groupzabbix-rgVirtual machine namevm-zabbixRegionWest USAvailability optionsNo infrastructure redundancy requiredImageUbuntu Server 18.04 LTS – Gen1SizeStandard DS1 v2 (1 vcpu, 3.5 GiB memory)Authentication typePasswordUsernameespentestPublic inbound portsSSHAzure SpotNoDisksOS disk typeStandard HDDUse managed disksYesUse ephemeral OS diskNoNetworkingVirtual network(new) zabbix-rg-vnetSubnet(new) default (10.0.0.0/24)Public IP(new) vm-zabbix-ipAccelerated networkingOffPlace this virtual machine behind an existing load balancing solution?NoManagementBoot diagnosticsOnOS guest diagnosticsOffAzure Security CenterBasic (free)System assigned managed identityOffAuto-shutdownOffBackupDisabledPatch installationOS-orchestrated patching: patches will be installed by OSAdvancedExtensionsNoneCloud initNoProximity placement groupNoneTagsEnvironmentTest (Auto-shutdown schedule)EnvironmentTest (Availability set)EnvironmentTest (Disk)EnvironmentTest (Network interface)EnvironmentTest (Network security group)EnvironmentTest (Public IP address)EnvironmentTest (Recovery Services vault)EnvironmentTest (SSH key)EnvironmentTest (Storage account)EnvironmentTest (Virtual machine)EnvironmentTest (Virtual machine extension)EnvironmentTest (Virtual network) Ok…

    Comments Off on Zabbix on VM remote MySql (Na market)
  • azure,  Zabbix

    Zabbix Azure

    Zabbix Server 5.0 – Medium PerformanceThis image contains all you need to run Zabbix: Zabbix back-end, Zabbix front-end, Zabbix agent, Nginx as web server, MySQL as database, CentOS as a foundation. For the SKU we will use a B1s: We have no money so hdd Network, all new here: Management, next, Advanced next, Tag next, review and create.. Price….. So the image is for Zabbix is: Zabbix Server 5.0 – Medium Performance – Gen1 Size of SKU is: Standard B1s (1 vcpu, 1 GiB memory), not many things will run on this SKU. I just needed to see the price of Zabbix per hour in Azure. Is it cheaper with…

    Comments Off on Zabbix Azure
  • linux,  WMVARE,  Zabbix

    Testing Zabbix VirtualBox 6.0

    https://www.virtualbox.org/wiki/Downloads If you’re looking for the latest VirtualBox 5.2 packages, see VirtualBox 5.2 builds. Please also use version 5.2 if you still need support for 32-bit hosts, as this has been discontinued in 6.0. Version 5.2 will remain supported until July 2020. Note: After upgrading VirtualBox it is recommended to upgrade the guest additions as well. VirtualBox 6.0.14 Oracle VM VirtualBox Extension Pack So go ahead and enable virtualization for 64 iso (OS support), it is just 1 step in the BIOS, from disable to enable….. So we downloaded some ios’s and we will use ubuntu-18.04.2-desktop-amd64 Now we are installing OS, it is quick, just next, next, use the recommended…

    Comments Off on Testing Zabbix VirtualBox 6.0
  • Python,  Zabbix

    Zabbix 3.4 trigger functions with Python

    So you have all your data, all is sent to Zabbix. What now…… Zabbix configuration for trigger: https://www.zabbix.com/documentation/3.4/manual/config/triggers Zabbix supported trigger functions: https://www.zabbix.com/documentation/3.4/manual/appendix/triggers/functions   Item type of information: Numeric (unsigned) – 64bit unsigned integer Numeric (float) – floating point number Negative values can be stored. Allowed range: -999999999999.9999 to 999999999999.9999. Starting with Zabbix 2.2, receiving values in scientific notation is also supported. E.g. 1e+7, 1e-4. Character – short text data Log – long text data with optional log related properties (timestamp, source, severity, logeventid) Text – long text data   So we have created a engine in Python (from pyzabbix import ZabbixMetric, ZabbixSender) with, rpm, heat, fuel and a bit…

    Comments Off on Zabbix 3.4 trigger functions with Python
  • WMVARE,  Zabbix

    Oracle VM Virtualbox Manger with Zabbix 3.4 and Python agent

    I installed Zabbix 3.4 on Oracle VM Virtualbox Manger v 5.2.2r119230(Qt5.6.2). The reason for that was to have a test-environment for Zabbix versions. https://www.lifewire.com/run-ubuntu-within-windows-virtualbox-2202098 Here Zabbix 3.4 is running on Linux 14.04.5: https://www.zabbix.com/download Configure Oracle VM Virtualbox Manger and get the IP: Go to File->Host Network Manger and create a network Configure Oracle VM Virtualbox Manger to use that network: NAT1: NAT2: Get the IP from the virtual machine: Python lib:py-zabbix==1.1.3 https://github.com/lukecyca/pyzabbix Python sender: Now check the output form your env: And the data in Zabbix:

    Comments Off on Oracle VM Virtualbox Manger with Zabbix 3.4 and Python agent
  • Python,  Zabbix

    Zabbix 3.4 trigger with Unix time

    http://Zabbix trigger with Unix time https://www.zabbix.com/documentation/3.4/manual/appendix/triggers/functions Realtime sent data with Python. Unix_time is the unix time and py_time is the readable converted unixtime. Here the last value is the same as py_time Dashboard, has no alarm for the Unix late data trigger Now we have sent data with old time, to breach the alarm. Here the last value is later then py_time: Dashboard with alarm: Trigger:    

    Comments Off on Zabbix 3.4 trigger with Unix time