{"id":21400270,"url":"https://github.com/oefenweb/ansible-snmpd","last_synced_at":"2025-08-16T12:11:48.752Z","repository":{"id":20149540,"uuid":"23419940","full_name":"Oefenweb/ansible-snmpd","owner":"Oefenweb","description":"Ansible role to set up snmp(d) in Debian-like systems","archived":false,"fork":false,"pushed_at":"2025-01-08T12:32:11.000Z","size":132,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T18:21:56.245Z","etag":null,"topics":["ansible","debian","monitoring","snmpd","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2014-08-28T07:56:20.000Z","updated_at":"2025-01-08T12:31:47.000Z","dependencies_parsed_at":"2023-01-13T09:44:59.033Z","dependency_job_id":"d5dd1159-6cac-4bf7-a68f-b895e2850000","html_url":"https://github.com/Oefenweb/ansible-snmpd","commit_stats":null,"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/Oefenweb/ansible-snmpd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-snmpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-snmpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-snmpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-snmpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-snmpd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-snmpd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270709029,"owners_count":24631992,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ansible","debian","monitoring","snmpd","ubuntu"],"created_at":"2024-11-22T15:20:29.568Z","updated_at":"2025-08-16T12:11:48.698Z","avatar_url":"https://github.com/Oefenweb.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"## snmpd\n\n[![CI](https://github.com/Oefenweb/ansible-snmpd/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-snmpd/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-snmpd-blue.svg)](https://galaxy.ansible.com/Oefenweb/snmpd)\n\nSet up snmp(d) in Debian-like systems.\n\n#### Requirements\n\n\nOn **Debian** the **non-free** repository must be enabled to download the `snmp-mibs-downloader` package,\non **Ubuntu** this package is in **multiverse**. See the *\"Recommended\"* section below.\n\n#### Variables\n\n* `snmpd_install` [default: `[lm-sensors]`]: Additional packages to install\n* `snmpd_mibs` [default: `UCD-SNMP-MIB`]: MIBs to load\n* `snmpd_run` [default: `true`]: Snmpd control (true means start daemon)\n* `snmpd_opts` [default: `'-LS4d -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'`]: Snmpd options (use syslog, close stdin/out/err)\n* `snmpd_trapd_run` [default: `false`]: Snmptrapd control (true means start daemon)\n* `snmpd_trapd_opts` [default: `'-Lsd -p /var/run/snmptrapd.pid'`]: Snmptrapd options (use syslog)\n* `snmpd_snmpd_compat` [default: `false`]: Create symlink on Debian legacy location to official RFC path\n\n* `snmpd_agent_address` [default: `['udp:161', 'udp6:[::1]:161']: Agent address\n\n* `snmpd_internal_user`: [default: see defaults.yml]: Internal user. **Make sure to change!**\n\n* `snmpd_users`: [default: see defaults.yml]: Additional users. **Make sure to change!**\n* `snmpd_sys_location` [default: `''`]: System location\n* `snmpd_sys_contact` [default: `Root \u003croot@localhost\u003e`]: System contact\n* `snmpd_sys_description` [default: `{{ inventory_hostname }}`]: System description\n\n* `snmpd_disks_include_all`: [default: `false`]: Include all disks mounted on the system in the SNMP table\n* `snmpd_disks_include_all_threshold_minpercent`: [default: `10%`]: Minimum free space specified as a percentage\n* `snmpd_disks`: [default: `[]`]: List of disk paths and their corresponding thresholds to be included in the SNMP table\n* `snmpd_disks.{n}.path`: [required]: The disks mountpoint (e.g. `/`)\n* `snmpd_disks.{n}.threshold`: [required]: The disks minimum threshold either be specified in kB (MINSPACE) or as a percentage of the total disk (MINPERCENT% with a '%' character) (e.g. `10%`)\n\n* `snmpd_load` [optional]: Unacceptable `1`, `5` and `15`-minute load averages (e.g. `12 10 5`)\n\n* `snmpd_default_monitors` [default: `true`]: Configure the Event `MIB` tables to monitor the various `UCD-SNMP-MIB` tables for problems\n* `snmpd_link_up_down_notifications` [default: `true`]: Configure the Event `MIB` tables to monitor the `fTable` for network interfaces being taken up or down, and triggering a `linkUp` or `linkDown` notification as appropriate\n\n* `snmpd_extensions`: [default: `[]`]: Extension MIB declaration(s)\n* `snmpd_extensions.{n}.name`: [required]: An identifying string for the extension\n* `snmpd_extensions.{n}.prog`: [required]: The program to run\n* `snmpd_extensions.{n}.args`: [default: `[]`]: The arguments to give the program\n\n* `snmpd_passes`: [default: `[]`]: Pass MIB declaration(s)\n* `snmpd_passes.{n}.name`: [required]: An identifying string for the extension (OID)\n* `snmpd_passes.{n}.prog`: [required]: The program to run\n\n## Dependencies\n\nNone\n\n## Recommended\n\n* `ansible-apt` ([see](https://github.com/Oefenweb/ansible-apt), to manage `apt` repositories (in `/etc/apt/sources.list`)\n\n#### Example\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.snmpd\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-snmpd/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-snmpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-snmpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-snmpd/lists"}