jq_json_check_mk
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
jq_json_check_mk [2017/04/18 13:13] – admin | jq_json_check_mk [2017/04/18 13:30] – [jq - Command-line JSON processor / Check_MK] admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
* Extract all configured hosts from Check_MK and print hostname and folder:< | * Extract all configured hosts from Check_MK and print hostname and folder:< | ||
curl " | curl " | ||
- | | jq ' | + | | jq ' |
+ | </ | ||
+ | * Extract CSV:< | ||
+ | | jq -r '.[] | map([.hostname, | ||
</ | </ |
jq_json_check_mk.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1