{"id":15290304,"url":"https://github.com/npm/ansible-nagios","last_synced_at":"2025-10-07T03:32:46.343Z","repository":{"id":16607213,"uuid":"19361923","full_name":"npm/ansible-nagios","owner":"npm","description":"Ansible role for building Nagios 4.","archived":true,"fork":false,"pushed_at":"2018-08-01T17:42:19.000Z","size":28,"stargazers_count":31,"open_issues_count":4,"forks_count":30,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-10-01T16:06:50.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npm.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}},"created_at":"2014-05-02T00:30:39.000Z","updated_at":"2024-02-25T22:42:50.000Z","dependencies_parsed_at":"2022-07-26T06:02:11.188Z","dependency_job_id":null,"html_url":"https://github.com/npm/ansible-nagios","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fansible-nagios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fansible-nagios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fansible-nagios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npm%2Fansible-nagios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npm","download_url":"https://codeload.github.com/npm/ansible-nagios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235586087,"owners_count":19014028,"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-09-30T16:06:54.107Z","updated_at":"2025-10-07T03:32:41.033Z","avatar_url":"https://github.com/npm.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Nagios\n==============\n\nAnsible role to install Nagios from source.\n\nFeatures\n--------\n\n* Installs and configures Nagios 4 (not currently available through a PPA).\n* Installs the [Pagerduty integration](https://www.pagerduty.com/docs/guides/nagios-integration-guide/)\n* Support for sending notifications via [SES](http://github.com/npm/notify-by-ses)\n* Installs NRPE, for performing remote checks.\n* Installs a recent build of nagios-plugins.\n\nInstallation\n------------\n\nAnsible Nagios has some dependencies on other roles, checkout [librarian-ansible](https://github.com/bcoe/librarian-ansible)\na great tool for managing Ansible dependencies.\n\nConfiguration\n-------------\n\nTo get things up and running on an Ubuntu machine, here are the variables you will need to set:\n\n```yaml\nnagios_user: nagiosadmin\nnagios_password: nagiosadmin\nnagios_host: nagios.example.com\nnagios_pagerduty_key: xxxxxxxxxxxxxxxxxxxxx\nnagios_admin_email: ops@example.com\nnagios_amdin_name: 'Nagios Admin'\n\nnagios_aws_access_key_id: xxxxxxxxxxxxxxxx\nnagios_aws_access_key_secret: xxxxxxxxxxxxxxx\nnagios_ses_region: email.us-east-1.amazonaws.com\n\nnagios_enable_pagerduty_notifications: true\nnagios_enable_ses_notifications: true\n\nlegacy: false # set to true, for older builds of Ubuntu like Precise.\n```\n\n* See `/vars/main.yml` for more configuration options.\n\nHow it Works?\n------------\n\n* Create a playbook that references the nagios role.\n* Set the appropriate variables.\n* Run this role on a clean server.\n* You will now be able to access nagios on the host at **https://your-host/nagios**.\n\nAnsible-Nagios-Config\n---------------------\n\nThis Ansible role is designed to be used along with [Ansible-Nagios-Config](http://github.com/npm/ansible-nagios-config).\nUse this role to set up Nagios' configuration.\n\nCompatibility\n---------\n\nThis role has been tested on the following Linux distributions:\n\n**Ubuntu:**\n\n* Precise.\n* Trusty.\n\nPlease open an issue if you confirm the role works on other distributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Fansible-nagios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpm%2Fansible-nagios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpm%2Fansible-nagios/lists"}