aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* More tweaks on template-examples/documentationKristian Lyngstol2016-11-15-6/+33
|
* Templating: Merge GET and POST and smarten error-handlingKristian Lyngstol2016-11-15-37/+43
| | | | Fixes #153
* templates/HOWTO tweakingKristian Lyngstol2016-11-15-12/+20
|
* Tweak template UI slightlyKristian Lyngstol2016-11-14-11/+6
|
* More GUI for the templating frontendKristian Lyngstol2016-11-14-5/+23
| | | | | | | | Fixes #151 While there are certainly more things that can be done - such as reading the list of templates dynamically, it wouldn't be horrible to go into production with the GUI the way it is right now.
* Templating: Always initialize optionsKristian Lyngstol2016-11-14-0/+1
| | | | Fixes #152
* Templating GUI: Show errors tooKristian Lyngstol2016-11-14-1/+5
|
* Provide basic UI for template-testingKristian Lyngstol2016-11-14-3/+51
| | | | | | Still leaves a lot to be desired, but is a good start. References #151
* Add a templating-HOWTOKristian Lyngstol2016-11-14-0/+88
| | | | This is just a teaser.
* ... Templating: Fix POST to actually have objectsKristian Lyngstol2016-11-14-1/+1
| | | | Templating without the API objects....
* Templating with POST supportKristian Lyngstol2016-11-14-25/+49
| | | | | | Probably has to be tweaked a bit, but it works. Fixes #146
* Return templating-errors to the callerKristian Lyngstol2016-11-14-4/+5
| | | | Fixes #140
* Tweak build-order to reduce itchynessKristian Lyngstol2016-11-11-4/+4
|
* Various build-tweaks and cache tweaksKristian Lyngstol2016-11-11-6/+13
| | | | | | | | | - mibs are moved to data/, update gitignore - Adjust cache for switches and switches-management to improve responsiveness when adding new content. - Ensure mibs are correctly loaded if the data directory doesn't exist - Add a small timer to the startup of ping collector/snmp to avoid starting before graphite.
* Move mibs into data directory and automatically fetch themKristian Lyngstol2016-11-11-3/+8
|
* Remove now unused password-filesKristian Lyngstol2016-11-11-2/+0
|
* Add NEWS.rst to keep some sort of trackKristian Lyngstol2016-11-10-0/+36
|
* Push all numerical snmp-data to graphiteKristian Lyngstol2016-11-10-8/+15
| | | | Fixes #126
* Nuke default login/password thing. Needs to be moved anyway.Kristian Lyngstol2016-11-10-12/+0
|
* Use dynamic size for the top-tickerKristian Lyngstol2016-11-09-1/+5
|
* Test distro-tree tooKristian Lyngstol2016-11-09-0/+1
|
* Add a few simple test-casesKristian Lyngstol2016-11-09-0/+4
| | | | | | - Templates (rendered and raw) - Graphs - raw
* Force graph reloading ... sigh...Kristian Lyngstol2016-11-09-2/+2
| | | | | There really should be a way to make it obey cache-control instead of this rubbish.
* Add distro-tree endpointKristian Lyngstol2016-11-08-0/+25
| | | | | | | Fixes #139 References #148 New problem: Test data is insufficient.
* Move templating URLs aroundKristian Lyngstol2016-11-08-3/+3
| | | | | Fixes #143 Fixes #141
* Tweak graphs slightly for size and moreKristian Lyngstol2016-11-07-2/+2
|
* Templating: Add variable-support and provide demoKristian Lyngstol2016-11-07-2/+32
| | | | | This SHOULD resolve everything needed for FAP from a templating perspective.
* Fill up switches.txt templateKristian Lyngstol2016-11-07-2/+7
|
* Scaffolding for functional templating :DKristian Lyngstol2016-11-07-4/+27
|
* Add basic templating engineKristian Lyngstol2016-11-07-0/+47
| | | | | | It works fine. Build scaffolding incoming
* Tweak title-text for the overview graphKristian Lyngstol2016-11-07-1/+1
|
* Graph ALL the thingsKristian Lyngstol2016-11-07-5/+21
| | | | | | | Tweaks background colors on graphs. Adds a funky "ticker" to the navbar that may or may not break small screens. Graphs average latency and total bandwidth for all equipment.
* Build: Varnish, not apache, should be exposed by defaultKristian Lyngstol2016-11-07-2/+2
| | | | This is particularly important now that Varnish also proxies graphite.
* Change order of in/out bytes on overview port-graphKristian Lyngstol2016-11-06-1/+1
| | | | Needs to match with the drill-down graphs so the colors match up.
* Front: Add "reset"-button for placementKristian Lyngstol2016-11-06-0/+8
| | | | | | | Perhaps not the most intuitive name, but it'll have to do for now or until someone complains. Fixes #124
* Remove Score Card-pageKristian Lyngstol2016-11-06-77/+0
| | | | | | | | It doesn't do any good in its current implementation. If it were to make sense, we'd need to drastically enrich it. Closes #128
* Minor README-updateKristian Lyngstol2016-11-06-11/+22
|
* Simplify graphite dockerfileKristian Lyngstol2016-11-06-10/+1
| | | | Now that we're on graphite-api, things are a lot simpler.
* Remove "Details"/"Settings" pane of switchesKristian Lyngstol2016-11-06-48/+3
| | | | | | It was identical to settings/edit. Fixes #123
* Switch from graphite-web to graphite-apiKristian Lyngstol2016-11-06-17/+12
| | | | | | | Closes #130 Closes #131 Could clean it up more, I suppose.
* More graph normalizationKristian Lyngstol2016-11-06-4/+4
|
* Add size styling to graphsKristian Lyngstol2016-11-04-0/+7
| | | | | | | ♥ SVG I don't have to figure out the exact pixel count on the width to make it fit well :D
* Make time horizon on graphs configurableKristian Lyngstol2016-11-04-5/+25
| | | | | | | | I'd do the same thing on all graphs as on the summary, but I have no idea how to trigger an update on the ports pane right now. Lets you cycle between pre-set time windows of 60 minutes, 6 hours, 24 hours and 7 days.
* Bump us over to TG maps and layoutsKristian Lyngstol2016-11-04-4/+4
|
* Further graph tweaks, now with graphite 0.9.15Kristian Lyngstol2016-11-03-19/+30
| | | | | | | | | - Upgrade to 0.9.15 (that was a lot more work than the commit reveals) - Numerous color tweaks to make it prettier - Use SVG instead of PNG - Use correct perSecond() provided in 0.9.14 instead of derivative() Still more to come I suppose
* Drastically improving graphing and port drill-downKristian Lyngstol2016-11-03-27/+40
| | | | | | | | | | | | | | | | | | | | | - Nightmode - Aliases for sensible legends - Two layers of collapse on ports - Toggle/expand all feature to show graphs for all ports - Show human readable variant of very large numbers in port drill-down in addition to raw value (e.g.: 4800000000 (4.8G)) Still to do: - Ability to click on a stat to get graphs for it - Upgrade to graphite 0.9.15. Most of the following depends on that: - Use perSecond() instead of derivative() for traffic - Use SVG instead of PNG - Get rid of extra )'s in legends - Evaluate using SVG + CSS to get nightmode. Not sure if that'll work at all, as it depends on whether the SVG context is isolated or not from the DOM at large (e.g.: is #nightmode visible) - Consider generalizing graphs
* Use graphite bandwidth graphs in snmp and nuke "traffic"Kristian Lyngstol2016-10-23-62/+14
| | | | | | | | | | | The "traffic" thing should be integrated in the snmp/ports overview. All that's missing is a two-step drill-down per port. E.g.: Click a port and you get graphs, click the next drill down and get full snmp-data. When that's done, all we need is an "expand all" button. And a pony.
* More PoC-style graphite integration + grafanaKristian Lyngstol2016-10-22-2/+27
| | | | | | | | | | | The grafana-bit is ok, but needs to be configured by hand (once). Also tweaks graphite to write new stuff faster. I suspect I will need a better way to handle the graphite/carbon insertion for both ping and snmp, but maybe UDP would solve it... Running tests tonight to get some data regardless.
* Big broken push of graphingKristian Lyngstol2016-10-22-9/+431
| | | | | | | | | | | - Adds latency graphs everywhere, even where they shouldn't be. For PoC. - Fixes a frontend leakage of handlers - Adds a nasty way of getting latency-data into graphite (needs to be improved) - Adds working graphite integration in varnish - Adds config for graphite Lots of things broken here, but it's a half-decent start.
* DOCKER + ANSIBLE == PAIN (also: graphite)Kristian Lyngstol2016-09-20-8/+49
| | | | | | | | | | | | | | | | | 3 hours. THREE HOURS. The extra "Expose" statements are to workaround an issue introduced in Ansible 2.1 with the addition of the docker_* modules that replaces the "docker" module. THREEEEEEE HOURS. The graphite container is so far not ued for anything, but is provided to get things rolling. It does do persistent storage, but obviously not the way I originally wanted. Because persistent storage with docker is a pile of frozen piss.