You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,10 +89,14 @@ optional arguments:
89
89
(key,UnitOfMeasure,Min,Max).
90
90
-s, --ssl HTTPS mode.
91
91
-f SEPARATOR, --field_separator SEPARATOR
92
-
Json Field separator, defaults to "."
92
+
Json Field separator, defaults to "." ; Select element
93
+
in an array with "(" ")"
93
94
-d, --debug Debug mode.
94
95
```
95
96
97
+
Access a specific JSON field by following this syntax: `alpha.beta.gamma(3).theta.omega(0)`
98
+
Dots are field separators (changeable), parantheses are for entering arrays.
99
+
96
100
More info about Nagios Range format and Units of Measure can be found at [https://nagios-plugins.org/doc/guidelines.html](https://nagios-plugins.org/doc/guidelines.html).
parser.add_argument('-f', '--field_separator', dest='separator', help='Json Field separator, defaults to "."')
204
+
parser.add_argument('-f', '--field_separator', dest='separator', help='Json Field separator, defaults to "." ; Select element in an array with "(" ")"')
0 commit comments