| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
Also gets rid of color_from_latency() (?) as it was basically worthless by
now, and adds switch info to the combo-map so you can quickly identify why
a switch is colored a certain way without clicking on it.
|
| |
|
|
|
|
|
|
|
|
|
| |
Still not very happy with this, but it's inching closer to acceptable every
day.
Should probably redo the whole set_handler() logic with regards to the
anchor to always use the views-logic where a comman-separated list is
acceptable, then get rid of nms.views all together.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
You can now use "foo" to find a switch called foo, but not also the ones
called foobar foobar1, etc
|
| |
|
|
|
|
|
|
|
|
| |
Fixes #15
Still lots of things that _should_ be done, but this is the groundwork
needed for a combined map. Theoretically, all map handlers should just
expose getInfo somehow now.
|
|
|
|
|
|
| |
Should get rid of the get_gradient_from_latency entirely.
PS: jocke, you read too many commit logs.
|
|
|
|
|
|
|
|
|
|
| |
Only combines SNMP and ping for now, but the "API" it establishes should do
what we need.
References #15
Before I consider this done we need to add the infomration in the info-box,
and also remove the manual information present there.
|
|
|
|
| |
Needs a lot of work, including the API side, possibly also the schema.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
A thousand ways to override front_ports and varnish_ports now, so this
concept should work well. Might just move the variables into the inventory
file itself, we'll see.
|
|
|
|
| |
Fixes #79
|
|\ |
|
| |\
| | |
| | | |
Fix for finding ip when docker outputs multiple lines
|
| |/ |
|
|/
|
|
|
|
| |
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.
|
|
|
|
| |
Got tired of hogging the upper left corner
|
| |
|
|
|
|
| |
Also: onclick handler for log entries.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It still needs to be integrated with switches/info box, but this is a good
start.
Shows the last 5 log messages in an overlay on the map, with the rest
visible in an oplog tab.
Fixes #20
|
|
|
|
| |
Fixes #41
|
|
|
|
|
|
|
|
|
| |
- Shadow for map title text (color matches background, so only visible when
background interferes with readability)
- SNMP map is private too
- Remove 'map' from a bunch of titles
- Fix z-index and position for map title (z-index is lower than the input
canvas, but higher than everything else).
|
|
|
|
| |
Probably a few more items that needs to be added here.
|
|
|
|
| |
It's still not very good, but this doesn't have to be precision work.
|
|
|
|
| |
References #54
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
The admin-tab is currently empty. That is besides the point.
Closes #18
|
|
|
|
|
| |
Don't want to export it by default to avoid development laptops exposing
stuff you don't want exposed to the world.
|
| |
|
|
|
|
| |
Still lots to do
|
| |
|
|
|
|
|
|
|
|
|
| |
Makes FRONTEND development easier since you can just bypass the cache.
Be warned: If you are doing backend/api-development, you should use the
varnish-URL to ensure your caching rules are sensible. This
apache-frontend-ip is provided mainly for tinkering with javascript and
HTML.
|
|
|
|
|
|
|
|
|
|
| |
Fixes #68
References #67
There's still a few bits missing for #67 since there is no UI for it yet.
On the bright side, this will store arbitrary options.
|
| |
|
|
|
|
|
|
| |
It's not just test...
References #56
|
|
|
|
|
|
| |
This is far better than a separate playbook.
Closes #60
|
| |
|
|
|
|
| |
References #55
|
| |
|
| |
|
| |
|