@@ -40,8 +40,38 @@ OK: No entries found|'count'=0;0;0 'problem_count'=0;0;0
40
40
## Program help
41
41
```
42
42
Usage of ./check_nsc_web:
43
- -f int
44
- Round performance data float values to this number of digits
43
+
44
+ check_nsc_web is a REST client for the NSClient++ webserver for querying
45
+ and receiving check information over HTTPS.
46
+
47
+ Copyright 2016 Michael Kraus <Michael.Kraus@consol.de>
48
+
49
+ This program is free software: you can redistribute it and/or modify
50
+ it under the terms of the GNU General Public License as published by
51
+ the Free Software Foundation, either version 3 of the License, or
52
+ (at your option) any later version.
53
+
54
+ This program is distributed in the hope that it will be useful,
55
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
56
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57
+ GNU General Public License for more details.
58
+
59
+ You should have received a copy of the GNU General Public License
60
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
61
+
62
+ Example:
63
+ check_nsc_web -p "password" -u "https://<SERVER_RUNNING_NSCLIENT>:8443" check_cpu
64
+
65
+ Usage:
66
+ check_nsc_web [options] [NSClient query parameters]
67
+
68
+ check_nsc_web can and should be built with CGO_ENABLED=0
69
+
70
+ Options:
71
+ -V Print program version.
72
+ -f int
73
+ Round performance data float values to this number of digits. (default -1)
74
+ -j Print out JOSN response body.
45
75
-k Insecure mode - skip TLS verification.
46
76
-p string
47
77
NSClient++ webserver password.
@@ -50,4 +80,6 @@ Usage of ./check_nsc_web:
50
80
-u string
51
81
NSCLient++ URL, for example https://10.1.2.3:8443.
52
82
-v Enable verbose output.
83
+ -x string
84
+ Extra text to appear in output.
53
85
```
0 commit comments