weixin_39761255
weixin_39761255
2020-12-07 02:30

[Bug report] problem with ITEM.VALUE and ITEM.LASTVALUE

Alexander ,

I think there is a problem with display ITEM.VALUE in grafana-zabbix

Side zabbix i have itemlastvaluezabbix

and side grafana-zabbix itemlastvaluegrafana

In my trigger name in red equal to macro {ITEM.LASTVALUE} and in blue equal to { ITEM.VALUE}

This is my exact trigger name SNMPTRAP: bouygues - ERROR valista multiple - {{ITEM.LASTVALUE}.regsub("^(.{19})", [Last: \1])} [First: {ITEM.VALUE}]

For information , i use regsub function to keep only the 19 first characters about {ITEM.LASTVALUE}

Thanks for your help

zabbix-server 3.2.5 grafana version 3.1.1 grafana-zabbix app 3.3.0

Benoit

该提问来源于开源项目:alexanderzobnin/grafana-zabbix

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39761255 weixin_39761255 5月前

    alexander,

    I ask to zabbix more information about {ITEM.VALUE} and {ITEM.LASTVALUE} Their response The same value in you case - it's not a problem, it's expected. Because when the alert was generated - the value caused it and it was latest value came to trigger before alert generation. For traps I can recommend to use only {ITEM.VALUE} macro because {ITEM.LASTVALUE} may mislead in some cases.

    _thumb_50570

    In Attachment you can see in trigger {ITEM.VALUE} = {ITEM.LASTVALUE} so i suppose zabbix plugin trigger information so there isn't problem side zabbix plugin

    Howerer , an interesting information is in event information . (please see in attachment file )

    So is it possible to have this information in plugin zabbix ( new column events )

    Thanks Benoit

    点赞 评论 复制链接分享
  • weixin_39928787 weixin_39928787 5月前

    Unfortunately, an image was compressed. Can you attach high-res picture?

    点赞 评论 复制链接分享
  • weixin_39761255 weixin_39761255 5月前

    Alexander,

    Please find new image

    Benoit

    De : Alexander Zobnin [mailto:notifications.com] Envoyé : vendredi 26 mai 2017 09:12 À : alexanderzobnin/grafana-zabbix Cc : DESFEUX Benoit DMGP/WHA; Author Objet : Re: [alexanderzobnin/grafana-zabbix] [Bug report] problem with ITEM.VALUE and ITEM.LASTVALUE (#396)

    Unfortunately, an image was compressed. Can you attach high-res picture?

    — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/alexanderzobnin/grafana-zabbix/issues/396#issuecomment-304210079, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AR3lTRJxCyk0IMMTDNBDeNIgZYSFIjdxks5r9ntdgaJpZM4Ne3Sx.

    Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

    This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.

    点赞 评论 复制链接分享
  • weixin_39928787 weixin_39928787 5月前

    Can you trace api request for this case? Because for triggers I just use api flags for expanding macros.

    点赞 评论 复制链接分享

相关推荐