We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3296787 commit 43b3784Copy full SHA for 43b3784
2 files changed
README.md
@@ -28,6 +28,8 @@ Then copy the file to your plugin dir:
28
cp check_vmware_nsxt.py /usr/lib*/nagios/plugins/check_vmware_nsxt
29
chmod 755 /usr/lib*/nagios/plugins/check_vmware_nsxt
30
31
+Also see the [Icinga 2 example command](icinga2/command.conf).
32
+
33
## Usage
34
35
```
icinga2/command.conf
@@ -0,0 +1,15 @@
1
+object CheckCommand "vmware_nsxt" {
2
+ import "plugin-check-command"
3
4
+ command = [ PluginDir + "/check_vmware_nsxt" ]
5
6
+ arguments += {
7
+ "--api" = "$vmware_nsx_api$"
8
+ "--mode" = "$vmware_nsx_mode$"
9
+ "--password" = "$vmware_nsx_password$"
10
+ "--username" = "$vmware_nsx_username$"
11
+ }
12
13
+ vars.vmware_nsx_api = "https://$host.name$"
14
+ vars.vmware_nsx_mode = "alarms"
15
+}
0 commit comments