{"id":13750628,"url":"https://github.com/matsumotory/mruby-zabbix","last_synced_at":"2026-05-04T04:37:03.471Z","repository":{"id":6011817,"uuid":"7235123","full_name":"matsumotory/mruby-zabbix","owner":"matsumotory","description":"zabbix 2.0 API client for mruby using mruby-httprequest.","archived":false,"fork":false,"pushed_at":"2013-01-04T10:20:43.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T18:17:14.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matsumotory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-19T04:46:04.000Z","updated_at":"2014-12-16T15:38:48.000Z","dependencies_parsed_at":"2022-09-12T10:00:15.090Z","dependency_job_id":null,"html_url":"https://github.com/matsumotory/mruby-zabbix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fmruby-zabbix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fmruby-zabbix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fmruby-zabbix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsumotory%2Fmruby-zabbix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsumotory","download_url":"https://codeload.github.com/matsumotory/mruby-zabbix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245045537,"owners_count":20552055,"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-08-03T08:00:42.983Z","updated_at":"2026-05-04T04:36:58.451Z","avatar_url":"https://github.com/matsumotory.png","language":"Ruby","funding_links":[],"categories":["APIs"],"sub_categories":[],"readme":"# Zabbix 2.0 API client for mruby\n\nrequire mruby-httprequest mruby-json\n\n## install by mrbgems\n```bash\ngit clone git://github.com/matsumoto-r/mruby-zabbix.git\ncp -pr mruby-zabbix ${MRUBY_ROOT}/mrbgems/g/.\necho mruby-zabbix \u003e\u003e ${MRUBY_ROOT}/mrbgems/GEMS.active\ncd ${MRUBY_ROOT}\nmake\n./bin/mruby ${MRUBY_ROOT}/mrbgems/g/mruby-zabbix/example/zabbix-api-cient.rb\n```\n\n## example\n\n```ruby\nconfig = {\n  :url  =\u003e \"http://127.0.0.1/zabbix/api_jsonrpc.php\", \n  :ua   =\u003e \"mruby-zabbix\",\n  :user =\u003e \"api-admin\",\n  :pass =\u003e \"api-admin\",\n}\n\nz = Zabbix::Client.new(config)\n\ndata = {\n  :method =\u003e \"get\",\n  :object =\u003e \"host\",\n  :params =\u003e {\n               :output =\u003e \"extend\",\n               :filter =\u003e {\n                            :host    =\u003e  \"example.com\",\n                          },\n             },\n}\n\nputs \"request:  #{JSON::stringify(data)}\"\nputs \"response: #{z.post(data)[\"body\"]}\"\n```\n\n# License\nunder the MIT License:\n\n* http://www.opensource.org/licenses/mit-license.php\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsumotory%2Fmruby-zabbix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsumotory%2Fmruby-zabbix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsumotory%2Fmruby-zabbix/lists"}