Skip to content
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

Not work BBU recovery triggers #1

Closed
xraynor opened this issue Jun 13, 2019 · 2 comments
Closed

Not work BBU recovery triggers #1

xraynor opened this issue Jun 13, 2019 · 2 comments

Comments

@xraynor
Copy link

xraynor commented Jun 13, 2019

I have BBU and not have cachevault.
And not work recovery trigger LSI controller {#CTLID} battery state is {ITEM.LASTVALUE} -

({Template LSI JSON discovery:lsi.ctl.bbustate.["{#CTLID}"].str(Optimal)}=0 and {Template LSI JSON discovery:lsi.ctl.bbustate.["{#CTLID}"].strlen()}>0) or ({Template LSI JSON discovery:lsi.ctl.cvstate.["{#CTLID}"].str(Optimal)}=0 and {Template LSI JSON discovery:lsi.ctl.cvstate.["{#CTLID}"].strlen()}>0)

because key lsi.ctl.cvdata.["0"] has status Not supported with error "Status" : "Failure"
and trigger expression lsi.ctl.cvstate.["{#CTLID}"].strlen()}>0 causes an error
Cannot evaluate expression: "Cannot evaluate function "SERVER:lsi.ctl.cvstate.["0"].strlen()": not enough data.".

Same errors with triggers:
LSI controller {#CTLID} battery was replaced
LSI controller {#CTLID} battery is need to be replaced

Zabbix server 4.2.3

@mykolq
Copy link
Owner

mykolq commented Jun 13, 2019

hmm, i will check it. will create more simple triggers. separately bbu and cachevault. thank you for information

@mykolq
Copy link
Owner

mykolq commented Jun 13, 2019

fixed

@mykolq mykolq closed this as completed Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants