using the php frontend for zabbix occasionally leaves a bad taste in my mouth - lots of clicking and scrolling...
i think that applying some ajax techniques (asychronous javascripting interfaces) would really smooth out the experience
for example, here's some place where it would really help out:
- the triggers and items lists could allow you to edit their values in place. right now you have to do the "click change - modify value(s) and hit update" loop (with 2+ page reloads involved) for each value you want to change. instead you could edit values in the table, and update each item you want to change very quickly and simply, while the interface asynchronously updates the database as you change things (or whenever you hit the "update" button for that row, which would replace the "change" link that is currently there)
- sometimes the "modify" box (which if using ajax properly we could actually get rid of!) you make a change to a drop-down box and the page reloads, if instead of a reload it javascriptly changed the interface to correspond to the new value, that would be much nicer - this shouldn't involve any DB or server interaction and should be done anyway, this is almost not even an ajax technique but a basic use of JS/DHTML to improve the user experience (for example, on the items page, you change the "type" from "zabbix agent" to "snmpv1 agent" and all the fields change - this should NOT require a page reload, but should happen "in place")
- graph reloading on the graph or screen pages could be done ajax style, with each graph updating itself based on the update interval of the values it's reporting on (lowest common denominator if there are several values on a graph, of course) - no page reloads, just image reloads.
...i'm sure there's more, you get the idea
i have a lot of experience with javascript and may even do some of this to our set of php pages if we decide to go full out with zabbix, right now i'm just trying zabbix out with a few hosts, but if i go for it and you want to see the result i'm happy to share it with the rest of the community - anybody else feeling this way?
i think that applying some ajax techniques (asychronous javascripting interfaces) would really smooth out the experience
for example, here's some place where it would really help out:
- the triggers and items lists could allow you to edit their values in place. right now you have to do the "click change - modify value(s) and hit update" loop (with 2+ page reloads involved) for each value you want to change. instead you could edit values in the table, and update each item you want to change very quickly and simply, while the interface asynchronously updates the database as you change things (or whenever you hit the "update" button for that row, which would replace the "change" link that is currently there)
- sometimes the "modify" box (which if using ajax properly we could actually get rid of!) you make a change to a drop-down box and the page reloads, if instead of a reload it javascriptly changed the interface to correspond to the new value, that would be much nicer - this shouldn't involve any DB or server interaction and should be done anyway, this is almost not even an ajax technique but a basic use of JS/DHTML to improve the user experience (for example, on the items page, you change the "type" from "zabbix agent" to "snmpv1 agent" and all the fields change - this should NOT require a page reload, but should happen "in place")
- graph reloading on the graph or screen pages could be done ajax style, with each graph updating itself based on the update interval of the values it's reporting on (lowest common denominator if there are several values on a graph, of course) - no page reloads, just image reloads.
...i'm sure there's more, you get the idea
i have a lot of experience with javascript and may even do some of this to our set of php pages if we decide to go full out with zabbix, right now i'm just trying zabbix out with a few hosts, but if i go for it and you want to see the result i'm happy to share it with the rest of the community - anybody else feeling this way?
Comment