Ad Widget

Collapse

Embedding Graphs in Trigger Notificatoins

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wylde
    Junior Member
    • Sep 2016
    • 10

    #1

    Embedding Graphs in Trigger Notificatoins

    Greetings Zabbix Community

    I'm curious if it is possible to embed graphs in trigger based notifications " Actions -> Triggers ". For example and forgive the likely incorrect referencing of the graph if there is a method to do this at all. This would be an incredibly quick and handy way for my support department to determine frequency of the alert.

    Thanks for reading

    Customer Name: {$CUST_NAME}
    Customer Location: {$CUST_LOCATION}
    Customer ISP: {$CUST_ISP}
    Customer VPN Name: {HOST.NAME}
    Customer TT Account: {$CUST_TT}

    Trigger: ICMP, SSH, Zabbix Agent
    Trigger: {TRIGGER.NAME}
    Trigger status: {TRIGGER.STATUS}
    Trigger severity: {TRIGGER.SEVERITY}
    Trigger URL: <link to wiki article to troubleshoot>

    Item values:

    1. {ITEM.NAME1} ({HOST.NAME1}:{ITEM.KEY1}): {ITEM.VALUE1}
    2. {ITEM.NAME2} ({HOST.NAME2}:{ITEM.KEY2}): {ITEM.VALUE2}
    3. {ITEM.NAME3} ({HOST.NAME3}:{ITEM.KEY3}): {ITEM.VALUE3}

    Smokeping for the last 24 hours
    {host}:{template Smokeping}:{graph:something blah}


    Original event ID: {EVENT.ID}
    Last edited by wylde; 30-01-2017, 08:50.
  • GPegel
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2015
    • 113

    #2
    Do you mean something like this?

    GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

    Comment

    • wylde
      Junior Member
      • Sep 2016
      • 10

      #3
      yes and no .. this script links the image which will not work for users that get the alerts and are not on a network where zabbix is accessible. Also this script utilizes the itemid which my notifications are sent when a series of items have been triggered.

      I'd like to be able to just grab the {host} var from the host that is alerting and always display an embeded image of smokeping for that host for example.

      Thanks for the suggestion .. perhaps i can build off of it

      Comment

      Working...