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 server default group for all monitor special cases #10976

Merged
merged 1 commit into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion apache/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"integration": "Apache",
"groups": [
"host",
"port"
"port",
"server"
],
"check": "apache.can_connect",
"statuses": [
Expand Down
6 changes: 4 additions & 2 deletions elastic/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Cluster Health",
"description": "Returns the `status` from the Elasticsearch [Cluster Health API](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-health.html). Additional information about shard status at the time of collection is included in the check message."
Expand All @@ -25,7 +26,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored Elasticsearch instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion lighttpd/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to and collect metrics from the monitored Lighttpd instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion mcache/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored Memcached instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion mongo/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"groups": [
"host",
"port",
"db"
"db",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored MongoDB instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion mysql/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored MySQL instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion nginx/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to and collect metrics from the monitored Nginx instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion pgbouncer/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"groups": [
"host",
"port",
"db"
"db",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored PGBouncer instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion sqlserver/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"groups": [
"host",
"db"
"db",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored SQL Server instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion tokumx/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"groups": [
"host",
"port",
"db"
"db",
"server"
],
"name": "Can Connect",
"description": "Returns `CRITICAL` if the Agent is unable to connect to the monitored TokuMX instance. Returns `OK` otherwise."
Expand Down
3 changes: 2 additions & 1 deletion windows_service/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
],
"groups": [
"host",
"windows_service"
"windows_service",
"server"
],
"name": "Service state",
"description": "Returns `OK` if the windows service is in Running state, `CRITICAL` if it is Stopped, `UNKNOWN` if it is Unknown, and `WARNING` for the other service states."
Expand Down
6 changes: 4 additions & 2 deletions zk/assets/service_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "ruok",
"description": "Sends `ruok` to the monitored node. Returns `OK` with an `imok` response, `WARN` in the case of a different response and `CRITICAL` if no response is received."
Expand All @@ -25,7 +26,8 @@
],
"groups": [
"host",
"port"
"port",
"server"
],
"name": "Expected Mode",
"description": "Compares the current mode given by the `stat` command to the expected mode configured in `zk.yaml`. Returns `OK` when the modes match and `CRITICAL` otherwise. Only returns a status when there's a value for `expected_mode` in `zk.yaml`"
Expand Down