{"id":27353596,"url":"https://github.com/i-ky/sheepskin","last_synced_at":"2025-09-11T13:08:21.067Z","repository":{"id":43722243,"uuid":"393483714","full_name":"i-ky/sheepskin","owner":"i-ky","description":"Zabbix loadable module for monitoring website certificates","archived":false,"fork":false,"pushed_at":"2025-01-01T19:51:53.000Z","size":52,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T21:06:23.224Z","etag":null,"topics":["certificate","certificates","hacktoberfest","monitoring","zabbix","zabbix-agent","zabbix-loadable","zabbix-proxy","zabbix-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i-ky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-06T19:37:07.000Z","updated_at":"2025-01-06T12:51:53.000Z","dependencies_parsed_at":"2022-08-25T23:01:52.966Z","dependency_job_id":"2ab23aca-ecf0-48f6-9220-f442406ed7f7","html_url":"https://github.com/i-ky/sheepskin","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/i-ky%2Fsheepskin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-ky%2Fsheepskin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-ky%2Fsheepskin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i-ky%2Fsheepskin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i-ky","download_url":"https://codeload.github.com/i-ky/sheepskin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631685,"owners_count":21136562,"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":["certificate","certificates","hacktoberfest","monitoring","zabbix","zabbix-agent","zabbix-loadable","zabbix-proxy","zabbix-server"],"created_at":"2025-04-12T21:06:27.141Z","updated_at":"2025-09-11T13:08:21.057Z","avatar_url":"https://github.com/i-ky.png","language":"Go","readme":"# sheepskin [![Build Status](https://app.travis-ci.com/i-ky/sheepskin.svg?branch=main)](https://app.travis-ci.com/i-ky/sheepskin) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/i-ky/sheepskin)\n\n[Zabbix](http://www.zabbix.com)\n[loadable module](https://www.zabbix.com/documentation/current/manual/config/items/loadablemodules)\nfor monitoring\nwebsite\n[certificates](https://en.wikipedia.org/wiki/Public_key_certificate)\n\n## summary\n\nThis module provides\n[Zabbix agent 2 feature of monitoring certificates](https://support.zabbix.com/browse/ZBXNEXT-6708)\nin the form compatible with Zabbix server / proxy\n[as was originally requested](https://support.zabbix.com/browse/ZBXNEXT-5931).\nAgent (the \"old\" one) is supported too.\n\nModule uses some of Zabbix code completely unchanged,\nso the behaviour should be identical to native `web.certificate.get` item and\n[templates designed for agent 2](https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/certificate_agent2)\nshould require only minor modifications.\n\n## compile\n\nYou will need an environment with working\n[C](https://en.wikipedia.org/wiki/List_of_compilers#C_compilers)\nand\n[Go](https://golang.org/doc/install)\ncompilers.\n\n1. [Download](https://www.zabbix.com/download_sources)\nZabbix source or check it out from\n[Git repository](https://git.zabbix.com/):\n```bash\ngit clone https://git.zabbix.com/scm/zbx/zabbix.git --depth 1 /path/to/zabbix/source\n```\nNote that you need to compile module using sources of the version you will be using it with!\n\n2. Configure Zabbix sources:\n```bash\ncd /path/to/zabbix/source\n./bootstrap.sh\n./configure\n```\n\n3. Get module sources,\npoint them to Zabbix source directory\nand run `make` to build,\nit should produce `sheepskin.so` and `sheepskin-cgo.so` shared libraries.\n```bash\ncd /path/to/sheepskin/source\nexport ZABBIX_SOURCE=/path/to/zabbix/source\nmake\n```\n\n## install\n\nCopy `sheepskin.so` and `sheepskin-cgo.so` to a desired location, set up necessary permissions.\nNote that both have to be located in the same directory!\n\n## configure\n\nSet `LoadModulePath` and `LoadModule` parameters in Zabbix\n[agent](https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_agentd#loadmodule) /\n[proxy](https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_proxy#loadmodule) /\n[server](https://www.zabbix.com/documentation/current/en/manual/appendix/config/zabbix_server#loadmodule)\nconfiguration file.\n```\nLoadModulePath=/path/to/modules/\nLoadModule=sheepskin.so\n```\nor\n```\nLoadModulePath=/path/to/modules/sheepskin.so\n```\nRestart Zabbix agent / proxy / server.\n\nNote that you _don't need_ to mention `sheepskin-cgo.so` in Zabbix configuration file.\nIt will be loaded in runtime using [`dlopen()`](https://man7.org/linux/man-pages/man3/dlopen.3.html).\n\n## use\n\nConfigure `web.certificate.get` checks:\n* use item type\n[_Simple check_](https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/simple_checks)\nif the module is loaded by server or proxy;\n* use item type\n[_Zabbix agent_ or _Zabbix agent (active)_](https://www.zabbix.com/documentation/current/manual/config/items/itemtypes/zabbix_agent)\nif the module is loaded by agent.\n\nPlease refer to\n[official documentation of `web.certificate.get`](https://www.zabbix.com/documentation/current/en/manual/config/items/itemtypes/zabbix_agent/zabbix_agent2#web.certificate.get)\nfor further details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-ky%2Fsheepskin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi-ky%2Fsheepskin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi-ky%2Fsheepskin/lists"}