Added new nagios checks
This commit is contained in:
parent
7c167c4814
commit
20a3b7755d
1 changed files with 27 additions and 0 deletions
|
@ -887,6 +887,12 @@ class nagios_monitor {
|
||||||
description => 'Scriptherder Status',
|
description => 'Scriptherder Status',
|
||||||
contact_groups => ['alerts']
|
contact_groups => ['alerts']
|
||||||
}
|
}
|
||||||
|
nagioscfg::service {'check_apt':
|
||||||
|
hostgroup_name => ['nrpe'],
|
||||||
|
check_command => 'check_nrpe_1arg!check_apt',
|
||||||
|
description => 'Packages available for upgrade',
|
||||||
|
contact_groups => ['alerts']
|
||||||
|
}
|
||||||
nagioscfg::service {'metadata_aggregate_age':
|
nagioscfg::service {'metadata_aggregate_age':
|
||||||
hostgroup_name => ['md_publisher'],
|
hostgroup_name => ['md_publisher'],
|
||||||
check_command => 'check_nrpe_1arg!check_fileage_metadata_aggregate',
|
check_command => 'check_nrpe_1arg!check_fileage_metadata_aggregate',
|
||||||
|
@ -910,6 +916,27 @@ class nagios_monitor {
|
||||||
description => 'check https certificate validity on port 443',
|
description => 'check https certificate validity on port 443',
|
||||||
contact_groups => ['alerts']
|
contact_groups => ['alerts']
|
||||||
}
|
}
|
||||||
|
nagioscfg::command {'check_website':
|
||||||
|
command_line => "/usr/lib/nagios/plugins/check_http -H '\$HOSTNAME\$' -S -u '\$ARG1\$'"
|
||||||
|
}
|
||||||
|
nagioscfg::service {'check_metadata_eIDAS':
|
||||||
|
host_name => ['md.eidas.swedenconnect.se'],
|
||||||
|
check_command => 'check_website!https://md.eidas.swedenconnect.se/',
|
||||||
|
description => 'check metadata for eIDAS',
|
||||||
|
contact_groups => ['alerts'],
|
||||||
|
}
|
||||||
|
nagioscfg::service {'check_metadata_swedenconnect':
|
||||||
|
host_name => ['md.swedenconnect.se'],
|
||||||
|
check_command => 'check_website!https://md.swedenconnect.se/',
|
||||||
|
description => 'check metadata for Sweden Connect',
|
||||||
|
contact_groups => ['alerts'],
|
||||||
|
}
|
||||||
|
nagioscfg::service {'check_connector':
|
||||||
|
host_name => ['connector.eidas.swedenconnect.se'],
|
||||||
|
check_command => 'check_website!https://connector.eidas.swedenconnect.se/idp/metadata/sp',
|
||||||
|
description => 'check metadata for Sweden Connect',
|
||||||
|
contact_groups => ['alerts'],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class redis_cluster_node {
|
class redis_cluster_node {
|
||||||
|
|
Loading…
Add table
Reference in a new issue