{"id":18974158,"url":"https://github.com/eht16/pyzbxagent","last_synced_at":"2025-06-23T12:33:47.281Z","repository":{"id":1661035,"uuid":"2387213","full_name":"eht16/pyzbxagent","owner":"eht16","description":"A very simple Zabbix Agent implementation","archived":false,"fork":false,"pushed_at":"2014-03-02T11:24:54.000Z","size":196,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T20:22:58.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eht16.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-14T18:01:39.000Z","updated_at":"2024-10-30T10:42:39.000Z","dependencies_parsed_at":"2022-09-04T11:21:44.195Z","dependency_job_id":null,"html_url":"https://github.com/eht16/pyzbxagent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eht16/pyzbxagent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eht16%2Fpyzbxagent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eht16%2Fpyzbxagent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eht16%2Fpyzbxagent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eht16%2Fpyzbxagent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eht16","download_url":"https://codeload.github.com/eht16/pyzbxagent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eht16%2Fpyzbxagent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261479420,"owners_count":23164690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T15:14:16.244Z","updated_at":"2025-06-23T12:33:42.254Z","avatar_url":"https://github.com/eht16.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyZbxAgent - A very simple Zabbix agent\n=======================================\n\n\nAbout\n-----\n\nPyZbxAgent is a simple tool which poorly tries to imitate a Zabbix agent.\nOnly a very small subset of items is supported and there is no support\nfor passive and active checks. All item values are sent to the\nZabbix server directly, so all item on the Zabbix server must be of the\ntype 'Zabbix Trapper'.\n\nA sample template for Zabbix is included in the doc directory. This template\ncontains the currently supported items and a few graphs intended for a\nNokia N900 (or more generally a Maemo 5) device.\n\nPyZbxAgent is meant to stay small and simple with a low memory and\nCPU cycle footprint. So it also can be used on low-end devices\nlike a Nokia N900 or a Buffalo LinkStation. This is why I wrote it :).\n\n\nConfiguration\n-------------\n\nTo configure PyZbxAgent, create a new file named pyzbxagent-local.conf\nin the conf/ subdirectory. Do not modify the default pyzbxagent.conf.\nInstead all custom configuration should go into the new pyzbxagent-local.conf.\nAll settings in this file override settings in the default configuration file.\n\nYou most probably want to edit the [zabbix] section to configure the Zabbix server\nto which the data should be sent. Also you might want to review the various item\nsection and enable or disable some of them.\n\n\nItem setup\n^^^^^^^^^^\n\nPyZbxAgent comes with a set of items to collect several system information.\nThe items are configured in the configuration file.\n\nEach item has its own configuration section like the following one:\n\n[item_modulename]\nclass=ClassName\nupdate_interval=60\nenable=true\nitem_keys='sample_item1','sample_item2'\n\nThe section name must always start with \"item_\". The following part is the module name\nof the Python module containing the code for this item. This is actually the filename or\npathname of the item in the pyzbxagent/items/ subdirectory.\n\nThe class option specifies the class name of this item in the module.\n\nThe update_interval option specifies the interval in seconds in which the item\nshould update its data. Basically this means how often the item should get active\nand performs its action.\n\nThe enable option is a simple boolean to define whether this item is enabled and should\nbe executed.\n\nThe item_keys option specified all item keys which should be processed. It is possible\nthat an item defines multiple keys but not all should be processed. If no keys\nare listed for an item, it is automatically disabled (same effect as enable=false).\nThe sample configuration lists all possible keys per item. If you are unsure and\nwant to get a list of available keys, check the source code of the items modules.\nEach item_key must be quoted.\n\n\nInit Script\n^^^^^^^^^^^\n\nIn the subdirectory conf/init.d there is a sample init script to automatically\nstartup the service at boot. Link this script into /etc/init.d and then\nuse insserv or the preferred tool of your distribution to properly install the\nscript into the system's init system (e.g. update-rc.d pyzbxagent defaults).\n\n\n\nLicense\n-------\n\nPyZbxAgent is distributed under the terms of the GNU General Public License\nas published by the Free Software Foundation; version 2 of the license.\nA copy of this license can be found in the file COPYING included with\nthe source code of this program.\n\n\n\nIdeas, questions, patches and bug reports\n-----------------------------------------\n\nIf you add something, or fix a bug, find a cool feature missing or\njust want to say hello, please tell me. I'm always happy about feedback.\n\n\n--\n2011 by Enrico Tröger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feht16%2Fpyzbxagent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feht16%2Fpyzbxagent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feht16%2Fpyzbxagent/lists"}