This document provides instructions for building and installing the zlm-cython module from source to extend the functionality of the Zabbix server and agent. It describes downloading dependencies like Cython, cloning the zlm-cython source repository, building and compiling the extension, and configuring and installing the module files in the correct directories. It also provides steps to verify that the Python Zabbix loadable module is loaded correctly.
If you are like most CFML developers the application you work on has been around for a few years. The task of securing your legacy application code from vulnerabilities can be an overwhelming and time consuming task. Many developers don't know where to start, and never do.
This session will arm you with an approach slaying the legacy security vulnerabilities in your CFML code.
Laravel is a great framework to use for web applications but what if you need to do more? What if you need to process data that would take longer than an HTTP request would allow?
Come learn how to harness the power of the console in your Laravel applications to do various tasks such as caching data from 3rd party APIs, expire old content from S3 or other data store, and batch process huge data sets without users having to wait for results. You can even automate tasks such as backing up your remote databases before you run migrations with artisan commands.
We'll cover creating basic artisan console commands, adding options and passing input, setting up cron jobs and scheduling our console commands to run at specific times, and how you can utilize 3rd party APIs to create fun automated message processing for social media networks.
If you are like most CFML developers the application you work on has been around for a few years. The task of securing your legacy application code from vulnerabilities can be an overwhelming and time consuming task. Many developers don't know where to start, and never do.
This session will arm you with an approach slaying the legacy security vulnerabilities in your CFML code.
Laravel is a great framework to use for web applications but what if you need to do more? What if you need to process data that would take longer than an HTTP request would allow?
Come learn how to harness the power of the console in your Laravel applications to do various tasks such as caching data from 3rd party APIs, expire old content from S3 or other data store, and batch process huge data sets without users having to wait for results. You can even automate tasks such as backing up your remote databases before you run migrations with artisan commands.
We'll cover creating basic artisan console commands, adding options and passing input, setting up cron jobs and scheduling our console commands to run at specific times, and how you can utilize 3rd party APIs to create fun automated message processing for social media networks.
php[world] 2015 Laravel 5.1: From Homestead to the CloudJoe Ferguson
With the recent release of Laravel Forge, Envoyer, and Homestead, it has never been easier to go from nothing to something with an easy-to-use PHP framework. This talk will cover creating a basic Laravel application using the Laravel-specific Vagrant box Homestead, connecting to a server (Linode, Rackspace, Digital Ocean), and deploying the application via Forge. The talk will also cover tips and tricks on customizing Homestead to fit your custom needs, as well as how to use Forge & Envoyer to deploy new versions of our application.
Fighting Fear-Driven-Development With PHPUnitJames Fuller
This talk was designed for PHP developers with limited or no experience in unit testing. I focus on describing the problem of fear-driven-development, and how test-driven-development can be used to improve the quality of your code.
Continuous Integration Testing in DjangoKevin Harvey
Continuous Integration is like having a robot that cleans up after you: it installs your dependencies, builds your project, run your tests, and reports back to you. This presentation outlines two methods for CI: Travis and Jenkins.
Php Dependency Management with Composer ZendCon 2016Clark Everetts
A deep-dive for beginners into Composer, the dependency manager for PHP. Learn how Composer helps you obtain the components your applications depend upon, installs them into your project, and controls their update to newer versions.
Web performances : Is It not the right time to (re)consider CMS ?Kaliop-slide
During the last 5 years, many popular media players moved from CMS to low-level FrameWorks such as Symfony, Zend, Laravel. Some of them even dropped PHP in favor of new languages like Node or Python.
They all had the same motivation : “web performances”, understanding response time, scalability and stability.But is that the best solution?
In this talk, Gilles Guirand explains exactly why now is the time to reconsider PHP CMS, from the devOps culture to the metrics-centric approach, from the authenticated cache to CDN, from back-end to front-end optimization.
Vladimir Ulogov - Beyond the Loadable ModuleZabbix
Zabbix loadable module provides a great way to extend capabilities of your Zabbix implementation, but knowing how to integrate your favorite interpreter with Zabbix, will bring you further than just creating the loadable module itself.
Using Python interpreter as an example, I will review the process of such integration, point on possible pitfalls, explain on how to debug your scrips and give you more ideas on how to organize distributed data collection, using Python-Zabbix modules.
Zabbix Conference 2015
php[world] 2015 Laravel 5.1: From Homestead to the CloudJoe Ferguson
With the recent release of Laravel Forge, Envoyer, and Homestead, it has never been easier to go from nothing to something with an easy-to-use PHP framework. This talk will cover creating a basic Laravel application using the Laravel-specific Vagrant box Homestead, connecting to a server (Linode, Rackspace, Digital Ocean), and deploying the application via Forge. The talk will also cover tips and tricks on customizing Homestead to fit your custom needs, as well as how to use Forge & Envoyer to deploy new versions of our application.
Fighting Fear-Driven-Development With PHPUnitJames Fuller
This talk was designed for PHP developers with limited or no experience in unit testing. I focus on describing the problem of fear-driven-development, and how test-driven-development can be used to improve the quality of your code.
Continuous Integration Testing in DjangoKevin Harvey
Continuous Integration is like having a robot that cleans up after you: it installs your dependencies, builds your project, run your tests, and reports back to you. This presentation outlines two methods for CI: Travis and Jenkins.
Php Dependency Management with Composer ZendCon 2016Clark Everetts
A deep-dive for beginners into Composer, the dependency manager for PHP. Learn how Composer helps you obtain the components your applications depend upon, installs them into your project, and controls their update to newer versions.
Web performances : Is It not the right time to (re)consider CMS ?Kaliop-slide
During the last 5 years, many popular media players moved from CMS to low-level FrameWorks such as Symfony, Zend, Laravel. Some of them even dropped PHP in favor of new languages like Node or Python.
They all had the same motivation : “web performances”, understanding response time, scalability and stability.But is that the best solution?
In this talk, Gilles Guirand explains exactly why now is the time to reconsider PHP CMS, from the devOps culture to the metrics-centric approach, from the authenticated cache to CDN, from back-end to front-end optimization.
Vladimir Ulogov - Beyond the Loadable ModuleZabbix
Zabbix loadable module provides a great way to extend capabilities of your Zabbix implementation, but knowing how to integrate your favorite interpreter with Zabbix, will bring you further than just creating the loadable module itself.
Using Python interpreter as an example, I will review the process of such integration, point on possible pitfalls, explain on how to debug your scrips and give you more ideas on how to organize distributed data collection, using Python-Zabbix modules.
Zabbix Conference 2015
How to configure PyCharm for Odoo development in Windows?Celine George
Installing Odoo in windows is the really easy task. We can do it by just running the ‘.exe’ file. But for development purposes, this method is not preferred. Pycharm is an IDE which can be used for Odoo development in Windows, Linux, and mac. In this blog, we will discuss setting up Odoo development environment in windows using pycharm.
distribute und pip als Ersatz für setuptools und easy_install bieten im Zusammenspiel mit virtualenv viele neue Möglichkeiten bei der Entwicklung und dem Deployment von Python-Applikationen. In diesem Vortrag stelle ich alle Werkzeuge kurz vor und zeige, wie man sie zusammen einsetzen kann.
Advanced Malware Analysis Training Session 5 - Reversing Automationsecurityxploded
This presentation is part of our Advanced Malware Analysis Training Series program.
For more details refer our Security Training page
http://securityxploded.com/security-training.php
A soup to nuts presentation on using Composer and repository servers to manage and leverage shared code libraries for personal projects to the largest enterprise.
How to setup Pycharm environment for Odoo 17.pptxCeline George
Setting up a development environment for odoo using pycharm is highly preferred by odoo developers to develop and debug odoo modules and other related functionalities .
2. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
AGENDA
Build preparation and dependencies
Building the extension
Installation
Verification
3. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Build preparation and dependencies
Install or upgrade Cython using python-pip
Verify, that your installed Cython is fairly
recent
4. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Build preparation and dependencies
Install or upgrade python-devel package
or install python interpreter from the scratch(1).
(1) http://www.python.org
5. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Build preparation and dependencies
Verify, that the python-config provides you
correct parameters, for building Python
extensions
6. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Build preparation and dependencies
Install and configure your Zabbix source tree.
Even if you are installing Zabbix from the
binary packages, you will need Zabbix source
tree to compile Zabbix Loadable Module.
7. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Building the extension
Clone zlm-cython source repository from
the github.com
8. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Building the extension
Change directory to zlm-cython/src and execute
./BUILD.sh
9. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Installation
Copy zlm_python.so, zlm_python.ini and
python.cfg to your modules “root”
Pick the directory, which you will use as the
“root” for your loadable modules
Create subdirectories:
- pymodules;
- pymodules/lib;
- pydaemons
10. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Installation
Make sure, that user zabbix do have an access to
this files and dierctories.
Copy modules located in pymodules/lib of your
source directory to your destination pymodules/lib
Copy modules located in pymodules of your
source directory to your destination pymodules
Copy modules located in pydaemons of your
source directory to your destination pydaemons
only if you want to install sample daemons
11. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Installation
Filename or Directory name Description
zlm_python.so Python Zabbix Loadable Module.
pymodules Directory for Python modules available to
Python ZLM. Only modules in that directory
will be available for the calls
py[<modulename>, {parameters}]
pymodules/lib Python ZLM-specific Python modules.
pydaemons If the module placed in this directory will
export class Daemon, subclass of the
ZLM_Metric_Collector, Python ZLM will
spawn an instance of this class as separate
thread.
python.cfg Configuration file for Python interpreter
zlm_python.ini Configuration file for Python ZLM
12. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Installation
Parameter in Config File Description
LoadModulePath Full path to location of agent modules.
The value fo this variable shall be path
name where you loadable modules are
installed.
LoadModule Module to load at agent startup. The
value of this variable will be
zlm_python.so
Adjust Server or Agent configuration files
zabbix_server.conf
zabbix_agentd.conf ⁂
⁂ If you are enabling Python ZLM on the Zabbix Agent, please be sure that you are
updating proper configuration file, which is zabbix_agentd.conf, not zabbix_agent.conf
13. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Installation
Check the Server or Agent log files for any errors
Restart your Zabbix Server or an Agent. Check if
Restart was successful
14. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Verification
Try to call any py[] item
Call python.ping item
If this call return “1” you Python ZLM on agent
loaded correctly.
15. ZABBIX
www.zabbix.comHow to build zlm-cython module from the sources
Verification
Author: Vladimir Ulogov
E-mail: vladimir.ulogov@zabbix.com
GitHub.com: https://github.com/vulogov/zlm-cython