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
+7-4
Original file line number
Diff line number
Diff line change
@@ -20,19 +20,20 @@ On Raspbian, this can be done with:
20
20
21
21
apt-get install jq
22
22
23
-
## Install mca-dump-short script as a Zabbix external script
23
+
## Install mca-dump-short and ssh-run scripts as a Zabbix external script
24
24
25
-
You need to install mca-dump-short.sh in Zabbix's external script directory
25
+
You need to install mca-dump-short.sh and ssh-run in Zabbix's external script directory
26
26
27
27
Please confirm where that directory is from the variable ExternalScripts in your zabbix server conf at /etc/zabbix/zabbix_server.conf. On my system this is set to:
28
28
29
29
ExternalScripts=/usr/lib/zabbix/externalscripts
30
30
31
-
After cp-ing the script to that directory, make sure you have the permissions necessary for zabbix to execute this script:
31
+
After cp-ing the scripta to that directory, make sure you have the permissions necessary for zabbix to execute this script:
@@ -143,6 +144,9 @@ The file name for your private key in SSHKeyLocation. For me this is set to zb_
143
144
### {$UNIFI_PUB_KEY}
144
145
The file name for your public key in SSHKeyLocation. For me this is set to zb_id_rsa.pub
145
146
147
+
### {$UNIFI_SSHPASS_PASSWORD_PATH}
148
+
If you are having trouble geting ssh going with public/private key pair authentication, you can optionally supply the path of a file that contains the SSH password to your Unifi devices. If supplied, the template will use sshpass to provide the password to ssh. There are more security implications to doing this than using the keypair method..
149
+
146
150
### {$UNIFI_CHECK_FREQUENCY}
147
151
I have this set to '1m'
148
152
@@ -176,7 +180,6 @@ The load average value above which to issue a info. The consensus is 1 for this
176
180
The load average value above which to issue a warning. I have this set to 2. Note that for switches and APs this value has less meaning since they process packets with specialized HW and this macro is overridden in the template to avoid too many warnings
177
181
178
182
179
-
180
183
# SUCCESS!
181
184
182
185
If you got this far, congratulations the install is complete! Now for the funner part:
0 commit comments