aboutsummaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeLines
* Update psql schema to match tg19 changestg19_psql_schemaOle Mathias Aa. Heggem2019-10-13-91/+13
|
* Copy current schema.sql to ansible roleLasse Haugen2019-02-13-1/+1
|
* Add basic collector-implementationKristian Lyngstol2019-02-13-4/+109
| | | | | | | | | | | | | | | References #195 This is the first dumb-ass implementation of the collector-api. It actually works fine for write AS IS, but has 0 safties. But I'm thinking the API itself is reasonably stable and ready for testing. I will need to extend it for dhcp-specific stuff, and the plan is to create a secondary table with metadata (hidden from the user) and a few other nice things. Also, indexes. We need indexes. Obviously.
* Added slight rewrite of template webserverMorten Linderud2019-01-21-2/+4
| | | | | | Moved to flask for more "free" things. Possibly easier to extend in the future. Added argparser so we are able to define settings from the command line.
* Update schemaKristian Lyngstol2019-01-03-158/+203
|
* Further tidying upKristian Lyngstol2017-04-20-719/+0
|
* TG17 stuff ?Kristian Lyngstøl2017-04-10-5/+10
|
* Use proxy for grafana-authenticationKristian Lyngstol2016-11-23-0/+2
|
* Use grafana 4.0.0-beta2Kristian Lyngstol2016-11-23-3/+3
|
* Use persistent postgres storage and make grafana use postgres backingKristian Lyngstol2016-11-22-4/+26
| | | | | Still need to fix session storage for Grafana. After that, the container is stateless.
* Tweak various graphite/grafana integrationsKristian Lyngstol2016-11-18-0/+10
| | | | s3 is currently disabled as it's bugged.
* Make the varnish include a persistent configKristian Lyngstol2016-11-18-3/+5
| | | | | | E.g.: For authorization. We bootstrap the file as empty by default, which means 0 authentication.
* Expose grafana tooKristian Lyngstol2016-11-15-1/+1
|
* Use grafana 4.0.0-beta1Kristian Lyngstol2016-11-15-1/+1
|
* SQL: Nuke more unused relics of the pastKristian Lyngstol2016-11-15-89/+1
|
* Remove switch_temp table relic....Kristian Lyngstol2016-11-15-30/+0
| | | | Hasn't been used since tg15 afaik.
* Start clean switches-tableKristian Lyngstol2016-11-15-5/+1
| | | | Lots of cruft
* Various build-tweaks and cache tweaksKristian Lyngstol2016-11-11-3/+4
| | | | | | | | | - 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-0/+5
|
* Scaffolding for functional templating :DKristian Lyngstol2016-11-07-0/+10
|
* Simplify graphite dockerfileKristian Lyngstol2016-11-06-10/+1
| | | | Now that we're on graphite-api, things are a lot simpler.
* Switch from graphite-web to graphite-apiKristian Lyngstol2016-11-06-17/+12
| | | | | | | Closes #130 Closes #131 Could clean it up more, I suppose.
* Further graph tweaks, now with graphite 0.9.15Kristian Lyngstol2016-11-03-4/+10
| | | | | | | | | - 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
* More PoC-style graphite integration + grafanaKristian Lyngstol2016-10-22-1/+3
| | | | | | | | | | | 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-0/+374
| | | | | | | | | | | - 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-0/+24
| | | | | | | | | | | | | | | | | 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.
* Last tweak of schemat:Kristian Lyngstol2016-09-10-1/+1
|
* Schema-updateKristian Lyngstol2016-09-10-0/+1
|
* sql: Bump schema to include multi-dhcpd-supportKristian Lyngstol2016-06-30-2/+3
|
* snmpfetcher: use IPv6 if available.Kristian Lyngstol2016-05-23-0/+1
| | | | Also fixes snmpd.conf config to expose it...
* Add a suicidal postgresql.confKristian Lyngstol2016-05-22-0/+617
| | | | | | | | My laptop was catching fire. If you enjoy keeping data around, then this is not a config you should deploy. If you are using this in a docker container that discards data on restart anyway, then it makes perfect sense.
* Remove comments from SQLKristian Lyngstol2016-05-18-69/+0
|
* Add SQL for backlog stuff too (ops)Kristian Lyngstol2016-05-18-0/+43
|
* Add config read-api and use it to detect public accessKristian Lyngstol2016-05-16-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently no way to modify the settings except by manual SQL, but it's coming. This allows us to have event-specific configuration in the database. This commit adds js that uses this to detect if the frontend is a public vhost or not. There are currently only three columns provided in addition to ID. publicvhost: The domain name of the publicly accessible version of Gondul. shortname: code name for the vent. e.g dx16, tg17, etc. data: jsonb to contain most other settings as we see fit. Most settings will be stored in 'data' if it's only or mainly used by the frontend. This will allow frontend developers to supply arbitrary configuration options without the need for API or database changes in the future. Fixes #51 References #54 Still need the GUI for it.
* Move stuff from /opt/nms to /opt/gondul etcKristian Lyngstol2016-05-13-8/+8
| | | | Still lots to do
* Move ansible stuff away from build/testKristian Lyngstol2016-05-12-110/+0
| | | | | | It's not just test... References #56
* Add tags to ansible to allow selective jobsKristian Lyngstol2016-05-12-0/+18
| | | | | | This is far better than a separate playbook. Closes #60
* Ansible: Start splitting test and "prod" logicKristian Lyngstol2016-05-11-76/+77
|
* Add test case for populating switchesKristian Lyngstol2016-05-10-0/+9
|
* Tweak SNMP fetch testerKristian Lyngstol2016-05-10-0/+25
|
* Add misc build/test filesKristian Lyngstol2016-05-10-0/+215
|
* Update README for development and fix typo in playbookKristian Lyngstol2016-04-14-1/+1
|
* Test: use volume and local connectionKristian Lyngstol2016-04-14-12/+9
| | | | Somewhat dirty pwd-hack
* Unit tests and README update to matchKristian Lyngstol2016-04-14-13/+50
|
* ping: Don't break with zero switchesKristian Lyngstol2016-04-13-1/+14
|
* test collectors (ping for now)Kristian Lyngstol2016-04-13-1/+1
|
* test: Simplify playbookKristian Lyngstol2016-04-13-64/+24
|
* test: Introduce/link varnishKristian Lyngstol2016-04-13-0/+35
|
* Working test! It's amazing!Kristian Lyngstol2016-04-13-1/+16
| | | | | | | | Never been so happy to see a single switch in the nms. Missing: Varnish and collectors and better deplist. Also: this is mainly _test_ stuff, not meant for development OR production.
* More work on adapting /opt and testsKristian Lyngstol2016-04-13-1/+1
|