aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Uplink logic for DXKristian Lyngstol2016-06-30-3/+32
|
* sql: Bump schema to include multi-dhcpd-supportKristian Lyngstol2016-06-30-2/+3
|
* Merge branch 'master' of github.com:tech-server/gondulKristian Lyngstol2016-06-30-9/+5
|\
| * Update collector for dxLasse Haugen2016-06-29-9/+5
| |
* | Adjust severity of DHCP and special-case snmp disableKristian Lyngstol2016-06-30-2/+10
| | | | | | | | | | The latter allows you to set 'disable' as community and the front end (!) will not be as critical about the results.
* | Adjust ping interval/timeouts to be slightly more sensibleKristian Lyngstol2016-06-30-3/+3
| |
* | Add DHCP-based client counter in front-endKristian Lyngstol2016-06-30-0/+20
|/
* js: Oplog tweaks for datesKristian Lyngstol2016-06-29-1/+1
| | | | Firefox....
* Get cisco temperatures too and mix other tweaksKristian Lyngstol2016-06-28-7/+8
|
* Adjust for dx prodKristian Lyngstol2016-06-28-5/+5
|
* Ensure local config is loadedKristian Lyngstol2016-06-28-0/+5
|
* Ansible: Playbook for prod tooKristian Lyngstol2016-06-28-0/+19
| | | | Just skips the db
* Add DX prod ansible-stuffKristian Lyngstol2016-06-28-0/+5
|
* Merge branch 'master' of github.com:tech-server/gondulKristian Lyngstol2016-06-19-1/+1366
|\
| * Merge pull request #98 from torstehu/masterKristian Lyngstøl2016-06-19-1/+3
| |\ | | | | | | README.rst: Add absolute link to the API for pure convenience
| | * README.rst: Add absolute link to the API for pure convenienceTorstein Husebø2016-06-08-1/+3
| | |
| * | lolwhat: Add deep comparison of duplicate resultsKristian Lyngstol2016-06-12-4/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | When a device replies from two or more IPs we can't assume it actually knows what IPs it replied from... (great, right?). This adds a fall-back when that happens where we compare the actual interfaces. We require a minimum of 10 matching MAC addresses and skip the once that are blank to gain confidence in the result.
| * | lolwhat + snmp: Performance tweaks and better collision detectionKristian Lyngstol2016-06-10-4/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Truns out people suck at making sensible network hardware. Lots of replies on IPs that the devices didn't know they had. I discard these now, but should keep some sort of map. The reason this is a problem is that we later "Deduplicate" results by comparing IP lists - but that doesn't work when the devices don't know about all of the IPs they listen to. I might have to revisit this since the IPs are obviously valid...
| * | libs: Load JUNIPER mibs by defaultKristian Lyngstol2016-06-10-0/+1
| |/
| * lolwhat: More tweaks on the map and dataKristian Lyngstol2016-06-05-4/+27
| | | | | | | | | | Now also populates snmpresults artificially with data from LLDP when needed.
| * lolwhat: Once again populate maps and whatnotKristian Lyngstol2016-06-05-60/+116
| | | | | | | | | | | | | | Still need to populate the ipmap with results from LLDP somehow. E.g.: If we can't contact a switch over SNMP that we see over LLDP we know the sysname and IP.
| * lolwhat: Start making lolwhat great againKristian Lyngstol2016-06-05-96/+267
| | | | | | | | | | | | | | This removes the actual mapping, but introdcues crawling. All the data for mapping is there, and now the collision detection and fixing is starting to look actually sensible.
| * lolwhat: Add magic collision-workaround for chassis idKristian Lyngstol2016-06-04-2/+15
| |
| * lolwhat: Cleanup and tweakKristian Lyngstol2016-06-04-186/+50
| |
| * lolwhat: Further improve accuracy and do lldp-only mapKristian Lyngstol2016-06-04-19/+91
| | | | | | | | | | The lldp-only map ensures we aren't fooled by vlans and other logical links, but if lldp is disabled it obviously doesn't tell the whole story.
| * dotnet: use a folder for output.Kristian Lyngstol2016-06-04-4/+6
| |
| * tools: redo discovery in the form of lolwhatKristian Lyngstol2016-06-04-14/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | what? lol... just figure it out for me. Ok, so the tool isn't entirely done, but it departs from the simple lldpdiscver.pl method that was very limited when things weren't working as they should. The long-term idea of lolwhat is that it should be able to do all sorts of discovery. Right now it just takes a list of IPs and figures out how things are connected by SNMP. It uses LLDP info from SNMP, but it does not _currently_ traverse new hosts based on what it finds.
| * Gradually enrich the lldpdiscover dataKristian Lyngstol2016-06-02-15/+24
| | | | | | | | | | | | | | | | Still needs lots of work, but mainly with regards to gluing it all together. Possibly populate a nice little "local macs" hash to map mac addresses to systems/ports easily.
| * tweak lldpdiscover (more info)root2016-06-02-2/+18
| |
| * lldpdiscover importedroot2016-06-02-0/+563
| |
* | README: The Gathering 2106 has not, yet, been held.Kristian Lyngstol2016-06-19-1/+1
|/
* front: Introduce a tiny heart that pulses....Kristian Lyngstol2016-05-31-1/+34
| | | | | | | | | The HTML/detail should probably be tweaked, but I think we need a way to show that Gondul is still alive now that we are hiding the time stamp by default. Feel free to throw the HTML/CSS away in favor of some other subtle but noticeable "animation".
* API: Explode max-age as the final act when time travelingKristian Lyngstol2016-05-31-1/+3
| | | | | | | Without this the individual endpoints' local overrides would... well... override it. The idea is that any historic data is cached for a very long time.
* Merge branch 'master' of github.com:tech-server/gondulKristian Lyngstol2016-05-31-9/+75
|\
| * front: Remove text-shadow from main logbook viewNicolai Tellefsen2016-05-29-2/+2
| |
| * front: Adjust preview of switch-edit request textNicolai Tellefsen2016-05-29-6/+32
| |
| * front: Make info-box draggableNicolai Tellefsen2016-05-29-1/+41
| |
* | api: Fix bad hash-logic, front: Performance and moreKristian Lyngstol2016-05-31-22/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #93 Fixes #92 Fixes #91 The hash logic with FreezeThaw wasn't consistent, which broke a lot of optimizations. This might be slower (?) but it's consistent which means we'll make up for it by better cache utilization. To utilize this I also added delayed JSON parsing (#91) with a big description of why we want it. This also means that #90 and #89 is a lot less important. One issue right now is that "time" isn't part of the ETag. This is both a blessing and a curse. If we are going through time we will actually use in-app cache (not browser cache - the URL changes). This makes for nice CPU savings, but ultimately means we can't tell that the data for two distinct times is identical because we only see one. Oh well... On the simpler side, I fixed/improved the clearBox logic to fix the artifacts. Might need to tune this. I also added some optimizations to avoid redrawing identical text. This is what pointed out to me that the hash was broken too: The resizeEvent was triggering all the time, forcing redraws all the time. This happened because nmsData.switches "updated" frequently which should only happen if someone adds/moves/removes a switch or linknet - regardless of time travel. This was caused by the inconsistent hash causing a false cache miss. Anyway, if you are still reading this, you almost got a patch with "kjell magne bondevik uten mellomnavn" as a literal text string... TOO BAD.
* | front: Only bother updating "Now" if it's freshKristian Lyngstol2016-05-31-2/+3
|/
* front: Greatly improve health map and moreKristian Lyngstol2016-05-29-15/+85
| | | | | | | | | | | | | As a result of testing with TG16-data, I was able to find and fix a few outstanding issues and tune the health map to make more sense. Also introduced both temperature and dhcp into the health map and info box. Removed the switchInfo text on the health map unless the score is above a threshold. Still more tuning needed. After introducing dhcpInfo it's become even more important to address #88
* front: Tweak logbook and info-box styles and feelKristian Lyngstol2016-05-28-5/+20
| | | | | | - Don't overload the logbook overlay - Neater date formatting (ugh, I hate that we need to do this) - Caption for the logbook in the info box
* front: Tweak info-box looks/widthKristian Lyngstol2016-05-28-2/+14
| | | | Makes it more snug and look the same all over
* dx: Switch base map and adjust placementKristian Lyngstol2016-05-28-11/+11
| | | | | | | | | | | | | I think we can say this Fixes #53 and Fixes #52 still should add support for making it configurable, that that's not a must for DX16 to take place.
* Merge pull request #87 from lasseh/masterKristian Lyngstøl2016-05-28-0/+0
|\ | | | | DX16 salkart
| * DX16 salkartLasse Haugen2016-05-28-0/+0
| |
* | front: A few more time travel tweaksKristian Lyngstol2016-05-28-14/+11
| | | | | | | | | | | | | | I can never get it all in a single commit. But I compensate by some times putting multiple unrelated things in the same commit.
* | Fix numerous time-travel issues in front and APIKristian Lyngstol2016-05-28-251/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #69 #11 #5 Introduces nmsTime which unifies the time travel code a bit. It still needs some work, but this is much better. All conversion is now done by native JavaScript methods, freeing us from the hell that is parsing it ourself. One thing should be added: The backend should discard any now=values that are not 5-minute intervals. We don't want to kill the cache and the database by extension. Still need to re-implement the "replay event" shorthand, but that ties in to #54
* | Add dx16 early graphics and adjust placementKristian Lyngstol2016-05-28-11/+51
| | | | | | | | | | | | References #53 #52 #54 It's hardcoded, but I can live with that for now.
* | front: More visual tweaks and tuneupsKristian Lyngstol2016-05-28-33/+37
| | | | | | | | | | | | | | - Time in oplog is now localtime and properly padded (00:10, not 0:10) - Health map instead of combo/aggregated - Tweak the menu slightly - Rotate and resize the random switch in guess_placement
* | front: Tweak various aestheticsKristian Lyngstol2016-05-28-13/+19
| |