Ad Widget

Collapse

Templated HTML in screens

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kees
    Junior Member
    • Apr 2009
    • 5

    #1

    Templated HTML in screens

    I've search quite a bit, but i din't find this functionality in Zabbix, but i would love to have it.

    In a screen, i would like to have the ability to insert (templated) HTML. The reason for this is that i sometime just want to show current values, to support graphs or other tables. Or just be able to put a table containing PortID <> PortName mappings i pulled from SNMP.

    For example; Above a graph with out powerusage, it'd like to have something like this: "Currently using <h1>{Template_Servertech_Sentry3:sentry3.systemTot alPower.last()}<h1>Watt"

    Or something like:
    <table><th><td>ID</td><td>Name</td><td>Current Power</td><td>Average Power</td></th>
    <td>{Template_Servertech_Sentry3:sentry3.outletI D-111.last()}</td>
    <td>{Template_Servertech_Sentry3:sentry3.outletNam e-111.last()}</td>
    <td>{Template_Servertech_Sentry3:sentry3.outletPow er-111.last()}</td>
    <td>{Template_Servertech_Sentry3:sentry3.outletPow er-111.avg(86400)}</td>
    ... etc
    Which would display a nice table in the screencell i'd put it in.

    Or another usecase: you could use different javascript charts like http://code.google.com/apis/chart/in...s/gallery.html in your screen so you aren't limited to zabbix graphs.

    Is this possible, or is it something that wouldn't be considered useful?
    Last edited by kees; 01-12-2011, 15:50.
Working...