{"id":19152821,"url":"https://github.com/datacentred/datacentred-icinga","last_synced_at":"2025-04-19T16:33:08.361Z","repository":{"id":17597669,"uuid":"20401367","full_name":"datacentred/datacentred-icinga","owner":"datacentred","description":"Framework for Icinga and Icinga-Web deployments","archived":false,"fork":false,"pushed_at":"2015-11-09T15:48:33.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-09-02T00:43:01.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datacentred.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}},"created_at":"2014-06-02T11:14:22.000Z","updated_at":"2015-04-28T10:50:40.000Z","dependencies_parsed_at":"2022-08-31T12:01:03.683Z","dependency_job_id":null,"html_url":"https://github.com/datacentred/datacentred-icinga","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/datacentred%2Fdatacentred-icinga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacentred%2Fdatacentred-icinga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacentred%2Fdatacentred-icinga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datacentred%2Fdatacentred-icinga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datacentred","download_url":"https://codeload.github.com/datacentred/datacentred-icinga/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223801973,"owners_count":17205213,"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-11-09T08:19:30.519Z","updated_at":"2024-11-09T08:19:31.222Z","avatar_url":"https://github.com/datacentred.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"datacentred-icinga\n==================\n\n#### Table of Contents\n\n1. [Overview](#overview)\n2. [Module Description - What the module does and why it is useful](#module-description)\n3. [Usage - Configuration options and additional functionality](#usage)\n4. [Limitations - OS compatibility, etc.](#limitations)\n5. [Testing - Guide for contributing to the module](#testing)\n\n## Overview\n\nThis module provides a basic frame work for rolling out Icinga monitoring for your network.\n\n## Module Description\n\nThis class as it stands creates a standalone monolithic install of the Icinga monitoring daemon, along with a MySQL backed IDO2DB and the Icinga Web front end.  It also provides wrappers around the puppet nagios types which work around known deficiencies.\n\n## Usage\n\n#### Server Installation\n\nThe base installation is simply done via\n\n    include icinga::server\n\nIt can be configured via puppet data bindings\n\n    icinga::server::allow_empty_hostgroup_assignment: 1\n    icinga::server::use_timezone: 'Europe/London'\n\nOr explicitly\n\n    class { 'icinga::server':\n      allow_empty_hostgroup_assignment =\u003e 1,\n      use_timezone                     =\u003e 'Europe/London',\n    }\n\nYou can then define resources to populate the configuration files\n\n    icinga::timeperiod { 'timeperiod_24x7':\n      description =\u003e '24 hours a day, 7 days a week',\n      sunday      =\u003e '00:00-24:00',\n      monday      =\u003e '00:00-24:00',\n      tuesday     =\u003e '00:00-24:00',\n      wednesday   =\u003e '00:00-24:00',\n      thusday     =\u003e '00:00-24:00',\n      friday      =\u003e '00:00-24:00',\n      saturday    =\u003e '00:00-24:00',\n    }\n\n#### Client Installation\n\nThe basic nagios plugins are installed via\n\n    include icinga::client\n\nHosts can then be defined as such, and will be collected on the server\n\n    @@icinga::host { $::hostname:\n      ensure          =\u003e present,\n      alias           =\u003e $::fqdn,\n      address         =\u003e $::ipaddress,\n      use             =\u003e 'dc_host_generic',\n      hostgroups      =\u003e template('dc_icinga/hostgroups.erb'),\n      icon_image      =\u003e 'base/ubuntu.png',\n      icon_image_alt  =\u003e 'Ubuntu 14.04 LTS (trusty)',\n      notes           =\u003e 'Ubuntu 14.04 LTS servers',\n      statusmap_image =\u003e 'base/ubuntu.gd2',\n      vrml_image      =\u003e 'ubuntu.png',\n    }\n\nPlease refer to my [blog post](http://datacentred.co.uk/dynamic-nagios-host-groups-with-puppet/) on dynamically creating hostgroups if the above makes little sense\n\n## Limitations\n\nThis class has been tested on Ubuntu 14.04 LTS only.\n\n## Testing\n\nNo testing is provided.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacentred%2Fdatacentred-icinga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatacentred%2Fdatacentred-icinga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatacentred%2Fdatacentred-icinga/lists"}