gitlab: Add icinga checks to verify the gitlab production availability
-
Review changes -
-
Download -
Patches
-
Plain diff
Ref infra/sysadm-environment#4063
octocatalog-diff
pergamon
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Concat::Fragment[icinga2::object::Host::Gitlab - production] =>
parameters =>
"content": "\nobject Host \"gitlab.softwareheritage.org\" {\n import \"gene...
"order": 50,
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat::Fragment[icinga2::object::Service::Production gitlab instance - HTTPs] =>
parameters =>
"content": "\nobject Service \"Production gitlab instance - HTTPs\" {\n imp...
"order": 60,
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat::Fragment[icinga2::object::Service::Production gitlab instance - SSH] =>
parameters =>
"content": "\nobject Service \"Production gitlab instance - SSH\" {\n impor...
"order": 60,
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat_fragment[icinga2::object::Host::Gitlab - production] =>
parameters =>
"content": "\nobject Host \"gitlab.softwareheritage.org\" {\n import \"gene...
"order": 50,
"tag": "_etc_icinga2_conf.d_static-checks.conf",
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat_fragment[icinga2::object::Service::Production gitlab instance - HTTPs] =>
parameters =>
"content": "\nobject Service \"Production gitlab instance - HTTPs\" {\n imp...
"order": 60,
"tag": "_etc_icinga2_conf.d_static-checks.conf",
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Concat_fragment[icinga2::object::Service::Production gitlab instance - SSH] =>
parameters =>
"content": "\nobject Service \"Production gitlab instance - SSH\" {\n impor...
"order": 60,
"tag": "_etc_icinga2_conf.d_static-checks.conf",
"target": "/etc/icinga2/conf.d/static-checks.conf"
*******************************************
+ Icinga2::Object::Host[Gitlab - production] =>
parameters =>
"address": "gitlab.softwareheritage.org",
"check_command": "dummy",
"ensure": "present",
"host_name": "gitlab.softwareheritage.org",
"import": [
"generic-host"
],
"order": 50,
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false,
"vars": {
"dummy_state": 0,
"dummy_text": "HTTP-only host",
"noping": true
}
*******************************************
+ Icinga2::Object::Service[Production gitlab instance - HTTPs] =>
parameters =>
"apply": false,
"assign": [
],
"check_command": "http",
"ensure": "present",
"host_name": "gitlab.softwareheritage.org",
"ignore": [
],
"import": [
"generic-service"
],
"order": 60,
"prefix": false,
"service_name": "Production gitlab instance - HTTPs",
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false,
"vars": {
"http_vhost": "gitlab.softwareheritage.org",
"http_uri": "/",
"http_ssl": true,
"http_sni": true,
"http_string": "<title>Sign in"
}
*******************************************
+ Icinga2::Object::Service[Production gitlab instance - SSH] =>
parameters =>
"apply": false,
"assign": [
],
"check_command": "ssh",
"ensure": "present",
"host_name": "gitlab.softwareheritage.org",
"ignore": [
],
"import": [
"generic-service"
],
"order": 60,
"prefix": false,
"service_name": "Production gitlab instance - SSH",
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false,
"vars": {
"ssh_address": "gitlab.softwareheritage.org"
}
*******************************************
+ Icinga2::Object[icinga2::object::Host::Gitlab - production] =>
parameters =>
"apply": false,
"assign": [
],
"attrs": {
"address": "gitlab.softwareheritage.org",
"check_command": "dummy",
"vars": {
"dummy_state": 0,
"dummy_text": "HTTP-only host",
"noping": true
}
},
"attrs_list": [
"address",
"address6",
"groups",
"display_name",
"check_command",
"max_check_attempts",
"check_period",
"check_timeout",
"check_interval",
"retry_interval",
"enable_notifications",
"enable_active_checks",
"enable_passive_checks",
"enable_event_handler",
"enable_flapping",
"enable_perfdata",
"event_command",
"flapping_threshold_low",
"flapping_threshold_high",
"volatile",
"zone",
"command_endpoint",
"notes",
"notes_url",
"action_url",
"icon_image",
"icon_image_alt",
"vars",
"Acknowledgement",
"ApiBindHost",
"ApiBindPort",
"ApiEnvironment",
"ApplicationType",
"Array",
"AttachDebugger",
"BuildCompilerName",
"BuildCompilerVersion",
"BuildHostName",
"Checkable",
"Command",
"Concurrency",
"ConfigObject",
"Configuration",
"Critical",
"Custom",
"CustomVarObject",
"DateTime",
"Deprecated",
"Dictionary",
"Down",
"DowntimeEnd",
"DowntimeRemoved",
"DowntimeStart",
"Environment",
"FlappingEnd",
"FlappingStart",
"Function",
"HostDown",
"HostUp",
"IncludeConfDir",
"Internal",
"Json",
"LocalStateDir",
"LogCritical",
"LogDebug",
"Logger",
"LogInformation",
"LogNotice",
"LogWarning",
"Math",
"MaxConcurrentChecks",
"ModAttrPath",
"Namespace",
"NodeName",
"OK",
"ObjectsPath",
"PerfdataValue",
"PidPath",
"PkgDataDir",
"PlatformArchitecture",
"PlatformKernel",
"PlatformKernelVersion",
"PlatformName",
"PlatformVersion",
"PrefixDir",
"Problem",
"Recovery",
"Reference",
"RunAsGroup",
"RunAsUser",
"RunDir",
"ServiceCritical",
"ServiceOK",
"ServiceUnknown",
"ServiceWarning",
"StatePath",
"StreamLogger",
"SysconfDir",
"System",
"Type",
"Types",
"Unknown",
"Up",
"UseVfork",
"VarsPath",
"Warning",
"ZonesDir",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name"
],
"ensure": "present",
"ignore": [
],
"import": [
"generic-host"
],
"object_name": "gitlab.softwareheritage.org",
"object_type": "Host",
"order": 50,
"prefix": false,
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false
*******************************************
+ Icinga2::Object[icinga2::object::Service::Production gitlab instance - HTTPs] =>
parameters =>
"apply": false,
"assign": [
],
"attrs": {
"host_name": "gitlab.softwareheritage.org",
"check_command": "http",
"vars": {
"http_vhost": "gitlab.softwareheritage.org",
"http_uri": "/",
"http_ssl": true,
"http_sni": true,
"http_string": "<title>Sign in"
}
},
"attrs_list": [
"display_name",
"host_name",
"check_command",
"check_timeout",
"check_interval",
"check_period",
"retry_interval",
"max_check_attempts",
"groups",
"enable_notifications",
"enable_active_checks",
"enable_passive_checks",
"enable_event_handler",
"enable_flapping",
"enable_perfdata",
"event_command",
"flapping_threshold_low",
"flapping_threshold_high",
"volatile",
"zone",
"command_endpoint",
"notes",
"notes_url",
"action_url",
"icon_image",
"icon_image_alt",
"vars",
"Acknowledgement",
"ApiBindHost",
"ApiBindPort",
"ApiEnvironment",
"ApplicationType",
"Array",
"AttachDebugger",
"BuildCompilerName",
"BuildCompilerVersion",
"BuildHostName",
"Checkable",
"Command",
"Concurrency",
"ConfigObject",
"Configuration",
"Critical",
"Custom",
"CustomVarObject",
"DateTime",
"Deprecated",
"Dictionary",
"Down",
"DowntimeEnd",
"DowntimeRemoved",
"DowntimeStart",
"Environment",
"FlappingEnd",
"FlappingStart",
"Function",
"HostDown",
"HostUp",
"IncludeConfDir",
"Internal",
"Json",
"LocalStateDir",
"LogCritical",
"LogDebug",
"Logger",
"LogInformation",
"LogNotice",
"LogWarning",
"Math",
"MaxConcurrentChecks",
"ModAttrPath",
"Namespace",
"NodeName",
"OK",
"ObjectsPath",
"PerfdataValue",
"PidPath",
"PkgDataDir",
"PlatformArchitecture",
"PlatformKernel",
"PlatformKernelVersion",
"PlatformName",
"PlatformVersion",
"PrefixDir",
"Problem",
"Recovery",
"Reference",
"RunAsGroup",
"RunAsUser",
"RunDir",
"ServiceCritical",
"ServiceOK",
"ServiceUnknown",
"ServiceWarning",
"StatePath",
"StreamLogger",
"SysconfDir",
"System",
"Type",
"Types",
"Unknown",
"Up",
"UseVfork",
"VarsPath",
"Warning",
"ZonesDir",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name"
],
"ensure": "present",
"ignore": [
],
"import": [
"generic-service"
],
"object_name": "Production gitlab instance - HTTPs",
"object_type": "Service",
"order": 60,
"prefix": false,
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false
*******************************************
+ Icinga2::Object[icinga2::object::Service::Production gitlab instance - SSH] =>
parameters =>
"apply": false,
"assign": [
],
"attrs": {
"host_name": "gitlab.softwareheritage.org",
"check_command": "ssh",
"vars": {
"ssh_address": "gitlab.softwareheritage.org"
}
},
"attrs_list": [
"display_name",
"host_name",
"check_command",
"check_timeout",
"check_interval",
"check_period",
"retry_interval",
"max_check_attempts",
"groups",
"enable_notifications",
"enable_active_checks",
"enable_passive_checks",
"enable_event_handler",
"enable_flapping",
"enable_perfdata",
"event_command",
"flapping_threshold_low",
"flapping_threshold_high",
"volatile",
"zone",
"command_endpoint",
"notes",
"notes_url",
"action_url",
"icon_image",
"icon_image_alt",
"vars",
"Acknowledgement",
"ApiBindHost",
"ApiBindPort",
"ApiEnvironment",
"ApplicationType",
"Array",
"AttachDebugger",
"BuildCompilerName",
"BuildCompilerVersion",
"BuildHostName",
"Checkable",
"Command",
"Concurrency",
"ConfigObject",
"Configuration",
"Critical",
"Custom",
"CustomVarObject",
"DateTime",
"Deprecated",
"Dictionary",
"Down",
"DowntimeEnd",
"DowntimeRemoved",
"DowntimeStart",
"Environment",
"FlappingEnd",
"FlappingStart",
"Function",
"HostDown",
"HostUp",
"IncludeConfDir",
"Internal",
"Json",
"LocalStateDir",
"LogCritical",
"LogDebug",
"Logger",
"LogInformation",
"LogNotice",
"LogWarning",
"Math",
"MaxConcurrentChecks",
"ModAttrPath",
"Namespace",
"NodeName",
"OK",
"ObjectsPath",
"PerfdataValue",
"PidPath",
"PkgDataDir",
"PlatformArchitecture",
"PlatformKernel",
"PlatformKernelVersion",
"PlatformName",
"PlatformVersion",
"PrefixDir",
"Problem",
"Recovery",
"Reference",
"RunAsGroup",
"RunAsUser",
"RunDir",
"ServiceCritical",
"ServiceOK",
"ServiceUnknown",
"ServiceWarning",
"StatePath",
"StreamLogger",
"SysconfDir",
"System",
"Type",
"Types",
"Unknown",
"Up",
"UseVfork",
"VarsPath",
"Warning",
"ZonesDir",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name",
"NodeName",
"ZoneName",
"TicketSalt",
"PluginDir",
"PluginContribDir",
"ManubulonPluginDir",
"name"
],
"ensure": "present",
"ignore": [
],
"import": [
"generic-service"
],
"object_name": "Production gitlab instance - SSH",
"object_type": "Service",
"order": 60,
"prefix": false,
"target": "/etc/icinga2/conf.d/static-checks.conf",
"template": false
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
Edited by Nicolas Dandrimont
Merge request reports
Activity
Filter activity
- Approvals
- Assignees & reviewers
- Comments (from bots)
- Comments (from users)
- Commits & branches
- Edits
- Labels
- Lock status
- Mentions
- Merge request status
- Tracking
Please register or sign in to reply
There are currently no pipelines.
To run a merge request pipeline, the jobs in the CI/CD configuration file must be configured to run in merge request pipelines and you must have sufficient permissions in the source project.
Loading