aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeLines
* Bump us over to TG maps and layoutsKristian Lyngstol2016-11-04-2/+2
|
* Big broken push of graphingKristian Lyngstol2016-10-22-0/+2
| | | | | | | | | | | - 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.
* Remove debug output and fix linknet-adding in nightmodeKristian Lyngstol2016-07-01-0/+1
|
* Implement tags and various other minor tweaksKristian Lyngstol2016-07-01-0/+2
|
* Add serial numbers (cisco) and fix snmp viewKristian Lyngstol2016-06-30-0/+6
| | | | No longer updates SNMP view when you're looking at it.
* Get cisco temperatures too and mix other tweaksKristian Lyngstol2016-06-28-0/+1
|
* Adjust for dx prodKristian Lyngstol2016-06-28-2/+2
|
* Ensure local config is loadedKristian Lyngstol2016-06-28-0/+5
|
* lolwhat + snmp: Performance tweaks and better collision detectionKristian Lyngstol2016-06-10-1/+1
| | | | | | | | | | | | 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
|
* lldpdiscover importedroot2016-06-02-0/+217
|
* 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.
* api: Fix bad hash-logic, front: Performance and moreKristian Lyngstol2016-05-31-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* dx: Switch base map and adjust placementKristian Lyngstol2016-05-28-10/+10
| | | | | | | | | | | | | 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.
* Fix numerous time-travel issues in front and APIKristian Lyngstol2016-05-28-1/+1
| | | | | | | | | | | | | | | | | 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-10/+10
| | | | | | References #53 #52 #54 It's hardcoded, but I can live with that for now.
* front: More visual tweaks and tuneupsKristian Lyngstol2016-05-28-2/+2
| | | | | | | - 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
* Support at least one MAC-address logging thingKristian Lyngstol2016-05-27-1/+2
| | | | | | | | | Might have to re-think how we do this in the long run, possibly providing some richer config to avoid hard-coding it in the collector. But for now: Fixes #28
* Start tinkering with DX autoplacement.Kristian Lyngstol2016-05-23-3/+70
| | | | Just want to give whoever takes over a starting point.
* Add system-generated op logsKristian Lyngstol2016-05-20-2/+35
| | | | | | | | First up: Add a switch, get a log entry. This might require some filtering in the GUI eventually. This is why the user is set to 'system', even when we have an actual user that triggered the event.
* Add first iteration of dbconfig packageKristian Lyngstol2016-05-20-0/+29
| | | | | | Should do a better job of the naming and the actual $dbh maintenance. I'm thinking that including nms::db should contain a $dbh perhaps.
* Increase area used by random fallback placement of switchesKristian Lyngstol2016-05-19-2/+2
| | | | Got tired of hogging the upper left corner
* Working test! It's amazing!Kristian Lyngstol2016-04-13-0/+0
| | | | | | | | 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-4/+4
|
* Remove nms::snmp, it's not actually used any more.Kristian Lyngstol2016-04-12-91/+0
|
* Walk through include/ somewhatKristian Lyngstol2016-04-12-216/+38
|
* Actual initial importKristian Lyngstol2016-04-12-0/+639
Fetched from tgmanage.