-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #499 from NetApp/node_status_change
fix: consuming node status from diagnosis-config-get-iter zapi for 7mode
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# API provides over system health of a cluster | ||
|
||
name: Status_7mode | ||
query: diagnosis-config-get-iter | ||
object: node | ||
|
||
counters: | ||
diagnosis-config-info: | ||
- ^health => health | ||
- ^^monitor => monitor | ||
- mon-version => monitor_version | ||
|
||
collect_only_labels: true | ||
|
||
plugins: | ||
- LabelAgent: | ||
# metric label zapi_value rest_value `default_value` | ||
value_to_num: 7mode_status health ok todo `0` | ||
|
||
export_options: | ||
instance_keys: | ||
- monitor | ||
- health |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ objects: | |
Status: status.yaml | ||
Subsystem: subsystem.yaml | ||
Lun: lun.yaml | ||
Status_7mode: status_7.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters