| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
Fixes broken class list when the description was stuff like "worst:
management info" (where the "info" would end up as a class and change the
look).
|
|
|
|
| |
Management IP up top seems sensible.
|
|
|
|
| |
KEK
|
|
|
|
|
|
|
|
| |
regex search on distro is mainly to include it in extended searches, e.g.:
^(distro0|row21-\d)$
This means "" is now, again, needed to match only one switch.
|
|
|
|
|
|
|
|
|
| |
No need to expose 'switch' id in the API - it's internal to the db.
The entire edit-logic should be cleaned up, but at least this fixes the
immediate problem.
Fixes #74
|
|
|
|
| |
Fixes #76
|
|
|
|
|
|
|
|
|
|
| |
Fixes #82
nms.views is gone, and if the anchor (http://.../#anchor) is a
comma-separated list, "tvmode" will be used.
Also ensures that the anchor already contains the updater tag, it wont be
changed. This means that for tvmode the anchor wont change constantly.
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes #78
Introduces nightmode to the infobox and everything else too.
Also exaggerates the drop shadows greatly and reduces the alpha on the
overlay oplog. With the exaggerated drop shadow, the text is largely
readable even with noise underneath. Without noise underneath, the drop
shadow is invisible.
|
|\ |
|
| |\ |
|
| | | |
|
| |/
|/|
| |
| |
| | |
Mainly for future use. To avoid notifications if we just loaded up
recently, for example.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
creates some interesting opportunities, as searches can be combined.
E.g.: '(row\d+-2|distro0|presse) can be used to mark multiple different
switches now. Or '(::1$|^noc$|127.*\.14$) etc. Could probably get rid of
the ""-hack now too. It was mainly meant for the automatic oplog entry on
switch-creation, which can now use "^switch$" instead.
|
| | |
|
| |
| |
| |
| | |
Just want to give whoever takes over a starting point.
|
| |
| |
| |
| | |
Not _exactly_ dx16 data, but....
|
| | |
|
| |
| |
| |
| | |
Perl, you're one bad decision after an other.
|
|/
|
|
| |
That was supposed to be a debug thing...
|
|
|
|
| |
Also does ipv6 now.
|
|
|
|
| |
Also fixes snmpd.conf config to expose it...
|
|
|
|
|
|
|
|
|
|
| |
Fixes #80
I should go to bed.
Also: Fixes a tiny little issue where we didn't take into account the
nature if the OPing timeout? Or has it changed? Either way, no longer do we
store thousands of ping replies - per second.
|
|
|
|
|
|
|
|
| |
Fixes #2
Also, since I didn't bother splitting the commits, this tweaks the
information provided from the snmp handler and management handler. Notably
treating IPv4 and IPv6 management addresses as equals.
|
|
|
|
| |
Ooops...
|
| |
|
|
|
|
|
|
|
|
|
|
| |
handlerInfo is getting slightly extensive, but it might be worth it.
This also introduces a "map" handler that .... doesn't handle the map.
If/when namespaces are introduced properly in nms-map-handlers.js, we
should also rename it to nms-data-logic.js or something else that signifies
that this is what makes data useful one way or an other.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|