{"id":13522540,"url":"https://github.com/jason-dour/net-snmp-aws-lambda-layer","last_synced_at":"2026-01-12T13:31:25.334Z","repository":{"id":88715488,"uuid":"234185331","full_name":"jason-dour/net-snmp-aws-lambda-layer","owner":"jason-dour","description":"AWS Lambda Layer for Net SNMP Tools","archived":false,"fork":false,"pushed_at":"2021-09-15T00:34:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-02T06:33:40.840Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-layer","cloud","lambda","lambda-layer","snmp"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jason-dour.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":"2020-01-15T22:22:52.000Z","updated_at":"2021-09-15T00:34:48.000Z","dependencies_parsed_at":"2023-05-01T21:00:46.900Z","dependency_job_id":null,"html_url":"https://github.com/jason-dour/net-snmp-aws-lambda-layer","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/jason-dour%2Fnet-snmp-aws-lambda-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fnet-snmp-aws-lambda-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fnet-snmp-aws-lambda-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fnet-snmp-aws-lambda-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jason-dour","download_url":"https://codeload.github.com/jason-dour/net-snmp-aws-lambda-layer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552655,"owners_count":20795828,"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":["aws","aws-lambda","aws-lambda-layer","cloud","lambda","lambda-layer","snmp"],"created_at":"2024-08-01T06:00:48.713Z","updated_at":"2026-01-12T13:31:25.133Z","avatar_url":"https://github.com/jason-dour.png","language":"Shell","readme":"# net-snmp-aws-lambda-layer\n\nAWS Lambda Layer for Net SNMP Tools.\n\n## Why SNMP?!\n\nBecause.\n\nTo be more clear: because I needed it as a cloud guy who works hard to integrate on-premises infrastructure with cloud.  And SNMP is a reasonable way for a Lambda to extract information from decades of existing on-premises infrastructure.\n\nThis is why SNMP.  :)\n\n## Building the Layer\n\n1. Make certain you have the `jasondour/amazonlinux-gcc-devel` Docker image needed to build the layer.\n\n    ``` shell\n    $ docker images\n    REPOSITORY                                                    TAG                 IMAGE ID            CREATED             SIZE\n    jasondour/amazonlinux-gcc-devel                               latest              64ff20963c0a        7 minutes ago       668MB\n    ```\n\n    1. If you do not have the images, just pull them with a `docker pull` command.\n\n1. Confirm the build directory is clean.\n\n    ``` shell\n    $ ls -1\n    Dockerfile\n    LICENSE\n    README.md\n    build.sh\n    ```\n\n1. Then execute the docker `jasondour/amazonlinux-gcc-devel` image to run the build script.\n\n    ``` shell\n    docker run --rm -it -v `pwd`:/tmp/repo jasondour/amazonlinux-gcc-devel /tmp/repo/build.sh\n    ```\n\n## Deploy the Layer\n\nOnce the layer zip file is created, you can deploy it to your AWS account with the following command:\n\n``` shell\naws lambda publish-layer-version --layer-name \"net-snmp-58\" --description \"Net-SNMP Utilities for All Runtimes\" --license-info \"BSD-2-Clause\" --zip-file \"fileb://net-snmp-5.8.zip\"\n```\n","funding_links":[],"categories":["Layers"],"sub_categories":["Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason-dour%2Fnet-snmp-aws-lambda-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjason-dour%2Fnet-snmp-aws-lambda-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason-dour%2Fnet-snmp-aws-lambda-layer/lists"}