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

Zabbix 6.0 Services #1408

Closed
Midas1989 opened this issue Mar 5, 2022 · 11 comments
Closed

Zabbix 6.0 Services #1408

Midas1989 opened this issue Mar 5, 2022 · 11 comments
Labels
Milestone

Comments

@Midas1989
Copy link

Midas1989 commented Mar 5, 2022

Hello,

zabbix 6.0 have big changes in services.

In the API are new methods for this.

[Object]()
[status:500]()
[statusText:"Internal Server Error"]()
[data:Object]()
[error:"Internal Server Error"]()
[message:"Method not found. Incorrect method \"service.getsla\"."]()
[config:Object]()
[url:"api/datasources/1/resources/zabbix-api"]()
[method:"POST"]()
[headers:Object]()
[hideFromInspector:false]()
[data:Object]()
[retry:0]()
[message:"Method not found. Incorrect method \"service.getsla\"."]()

Can you check this for the next version?

Thank you for this Grafana Plugin :)

@jbew81
Copy link

jbew81 commented Mar 5, 2022

Hello,

This extension will be a must have !

Thank you!

@i-ky
Copy link

i-ky commented Mar 6, 2022

Duplicates #1396 and #1398.

@mbuyukkarakas
Copy link

Same problem. Needs fixing.

@1vicente
Copy link

Hi Dears,

The method "service.getsla" was changed to "sla.getsli".

With this change, some fields changed in response result, such as sla to sli.

I think that criticals informations in both method are:

service.getsla.....->....sla.getsli
sla .....................->...sli
okTime...............->...uptime
problemTime......->...error_budget
downtimeTime...->...downtime

May these pieces of information help you to fix it.

Through fix, we'll can to create beautiful dashboards again.

Thanks to keep development!

@RemiVucher
Copy link

must have for me too

@isaqueprofeta
Copy link

@alexanderzobnin breaking changes in 6.0

@br-andremello
Copy link

@alexanderzobnin Por favor, ajude-nos

@isaqueprofeta
Copy link

@br-andremello Tente estudar e se acostumar com a estrutura de banco de dados do zabbix e faça as consultas direto via banco. Mesmo a versão anterior do SLA era bem simples e faltava bastante coisa para ilustrar os dados.

@br-andremello
Copy link

@isaqueprofeta
Eu preciso de algo muito simples para esse projeto.
Quando vc falar de via banco, eu criaria outro datasource apontando para o banco MYSQL do Zabbix?

Qual query eu usaria para pegar essa informação do SLA:
image

Consegue me ajudar?

@isaqueprofeta
Copy link

@br-andremello "muito simples" não existe. Sim, falo de criar uma conexão pelo mysql, e a query você mesmo deve estudar. Use o schema.sql do zabbix para entender as ligações entre as tabelas e vá fazendo seus testes. Infelizmente não tenho como te ajudar mais. Bons estudos!

@alexanderzobnin
Copy link
Collaborator

I pushed a workaround 7442807 for new SLA feature that should fix this issue. Unfortunately, SLA is not 100% compatible with IT services (there might be multiple SLAs for each service and SLI object contains a bit different set of data), so I think I need to add full support of SLA in next minor version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants