-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue on new setup #104
Comments
take a look at /tmp/mcaDumpShort.err on your Zabbix server.. |
I don't have that file under tmp. Lots of the triggers are "unsupported". Couple examples below Cannot evaluate function: item "/10.1.0.35/cpu" is not supported at "avg(//cpu,{$UNIFI_SMOOTHING_PERIOD})". Preprocessing failed for: /usr/local/share/zabbix/externalscripts/mca-dump-short.sh: 9: Syntax error: newline unexpected
|
Result: /usr/local/share/zabbix/externalscripts/mca-dump-short.sh: 9: Syntax error: newline unexpected
Looks like your mca-dump-short.sh might be damaged.. Can you make sure it’s as on the repository?
-P
… On Jun 13, 2023, at 9:35 AM, athornfam2 ***@***.***> wrote:
I don't have that file under tmp. Lots of the triggers are "unsupported". Couple examples below
Cannot evaluate function: item "/10.1.0.35/cpu" is not supported at "avg(//cpu,{$UNIFI_SMOOTHING_PERIOD})".
Preprocessing failed for: /usr/local/share/zabbix/externalscripts/mca-dump-short.sh: 9: Syntax error: newline unexpected
Result: /usr/local/share/zabbix/externalscripts/mca-dump-short.sh: 9: Syntax error: newline unexpected
Failed: cannot extract value from json by path "$.sys_stats.loadavg_1": invalid object format, expected opening character '{' or '[' at: '/usr/local/share/zabbix/externalscripts/mca-dump-short.sh: 9: Syntax error: newline unexpected'
—
Reply to this email directly, view it on GitHub <#104 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJFHTJ2HPF4DGGBJPN6IE4LXLCJDZANCNFSM6AAAAAAZDWA6LM>.
You are receiving this because you commented.
|
This is the log from the .err file Tue Jun 13 17:01:24 UTC 2023 10.x.x.x
|
from my understanding, though, the ssh key information shouldn't be necessary anymore for switches and aps
It is most definitely needed for the script to be able to retrieve info from the switch..
-P
… On Jun 13, 2023, at 11:42 AM, athornfam2 ***@***.***> wrote:
This is the log from the .err file
Tue Jun 13 17:01:24 UTC 2023 10.x.x.x
{ "at":"17:01:24", "r":"Remote pb: Warning: Identity file {$UNIFI_SSH_PRIV_KEY_PATH} not accessible: No such file or directory.Permission denied, please try again.Permission denied, please try again.{$>
from my understanding, though, the ssh key information shouldn't be necessary anymore for switches and aps
—
Reply to this email directly, view it on GitHub <#104 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJFHTJ35MT3LBJUU3J5BFQDXLCYBDANCNFSM6AAAAAAZDWA6LM>.
You are receiving this because you commented.
|
I'm struggling a little bit setting this up on Zabbix 6.4.3. jq and expect are installled. mca-dump-short and ssh-run are setup in the externalscripts folder with it uncommented from the .config file. Templates are imported too. While followed the steps I still can't get the host to graph with these templates (switches that is). I seem to be getting errors on the mca-dump script.... With that I guess I'm confused as it says that you don't need al these other add-ins as it should just work.
The text was updated successfully, but these errors were encountered: