Skip to content

Commit 194feed

Browse files
author
rincewind
committed
Increment version, add config and a little documentation
1 parent b516abe commit 194feed

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ optional arguments:
4343
--password PASSWORD, -p PASSWORD
4444
Password for Basic Auth
4545
--mode MODE, -m MODE Check mode
46+
--insecure Do not verify TLS certificate. Be careful with this option, please
4647
```
4748

4849
```

check_vmware_nsxt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from urllib.parse import urljoin
4141

4242

43-
VERSION = '0.1.0'
43+
VERSION = '0.1.1'
4444

4545
OK = 0
4646
WARNING = 1

icinga2/command.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ object CheckCommand "vmware_nsxt" {
88
"--mode" = "$vmware_nsx_mode$"
99
"--password" = "$vmware_nsx_password$"
1010
"--username" = "$vmware_nsx_username$"
11+
"--insecure" = {
12+
set_if = "$vmware_nsx_insecure$"
13+
}
1114
}
1215

1316
vars.vmware_nsx_api = "https://$host.name$"

0 commit comments

Comments
 (0)