Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coredns prometheus health and ksm cronjob sc #3903

Merged
merged 3 commits into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion coredns/assets/service_checks.json
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
[]
[
{
"agent_version": "6.11.0",
"integration":"coredns",
"check": "coredns.prometheus.health",
"statuses": ["ok", "critical"],
"groups": ["endpoint"],
"name": "CoreDNS prometheus health",
"description": "Returns `CRITICAL` if the check cannot access the metrics endpoint. Returns `OK` otherwise."
}
]
9 changes: 9 additions & 0 deletions kubernetes_state/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,14 @@
"groups": ["host", "node"],
"name": "Node Network Unavailable",
"description": "Returns `CRITICAL` if a cluster node is in a network unavailable state. Returns `UNKNOWN` if status is unknown. Returns `OK` otherwise."
},
{
"agent_version": "5.6.0",
"integration":"kubernetes",
"check": "kubernetes_state.cronjob.next_schedule_time",
"statuses": ["ok", "unknown", "critical"],
"groups": ["host", "node"],
"name": "CronJob next scheduled time",
"description": "Returns `CRITICAL` if a cron job does not have a next scheduled time for execution. Returns `UNKNOWN` if the scheduled time is unknown. Returns `OK` otherwise."
}
]