Commit Graph

18696 Commits

Author SHA1 Message Date
Noah Roufus
ebb582f0f2
Updated OS Support: Dragonwave Horizon (#13193)
* Removed older Horizon definitions

* Added Horizon Compact definitions via YAML.

* Added Horizon Duo definitions via YAML.

* Added Horizon Compact Plus definitions via YAML.

* Fixed issue with OID name casing for Horizon Duo EnetPort2CRC sensor

* Moved SNR/RSL/Tx Power to wireless sensor definitions.

* Reordered use statements to make StyleCI happy.
2021-09-08 08:40:23 -05:00
Tony Murray
4bdc80d634
no object shorthand (#13205) 2021-09-08 08:28:48 -05:00
Tony Murray
539efcf011
IE doesn't support templates (#13204)
* IE doesn't support templates

* extra space
2021-09-08 08:19:22 -05:00
Tony Murray
b55316c512
IE doesn't support JS default parameters (#13203) 2021-09-08 08:02:49 -05:00
Jellyfrog
232b9a414c
Apply fixes from StyleCI (#13201) 2021-09-07 20:33:54 -05:00
Kevin Wallace
f3b92ce313
Add skip_values to Liebert capacity sensor definitions (#13200)
Capacity sensors can read as MAX_INT% for functions that are not used.
Filter them out at discovery time rather than collect and graph them.

Co-authored-by: Kevin Wallace <kevinwallace@users.noreply.github.com>
2021-09-08 01:22:00 +02:00
Kevin Zink
eacca2ff91
Procurve add SysDescr Regex (#13196)
* Add sysDescrRegex

* Add testdata

* fix graph
2021-09-06 15:29:41 -05:00
Niklas Vartiainen
1797f5c04a
Change automatic widget updates to use bootgrid when possible (#13159)
* Changed widget data updates to use bootgrid.

* Fix widget settings page not displaying.

* Don't call both ajax method and bootgrid.

* Apply fixes from StyleCI

* remove commented code

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-09-04 21:16:50 -05:00
SourceDoctor
ada7bae84c
default port group in Settings (#13175)
* default port group in Settings

* .

* wrap query with try catch

* update config schema

* change to select2

* .

* .

* inject no default port group choice

* Paginator

* .
2021-09-03 15:58:09 +02:00
Jellyfrog
4f50c3c05d
Rename nobulk -> snmp_bulk (#13098) 2021-09-01 19:01:41 -05:00
Jellyfrog
57cedd5158
Add support for description texts in Settings page (#13104) 2021-09-01 18:58:51 -05:00
Tony Murray
e2822d7eaa
Increase config value length limit (#13178)
Up to 16MB of text now
2021-09-01 14:15:25 +02:00
Tony Murray
79de1ca28e
Select dynamic fixes (#13187)
* Fix select-dynamic changes
require validation for select-dynamic
allow 0 in config:set

* fix zero_or_exists

* validate, not validation :D
2021-08-31 20:43:02 +02:00
Tony Murray
e81ee98b31
Validate schema in utc (#13182)
if timestamp is off, prepend sql query to set UTC for session
2021-08-30 11:02:48 -05:00
Negatifff
9a635232dc
add serial search in ajax search process (#13185) 2021-08-30 14:49:10 +02:00
Simon Smith
272713f95d
Update Applications.md (#13183)
fix numbering in application docs
2021-08-29 17:19:22 +02:00
mzacchi
71cd81269a
Update Api.php to include Options variable in the Body for POST requests (#13167)
* Update Api.php
* Update Api.php
Correct syntax for variable replacement : '{{ $' . $metric . ' }}'
* style
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-08-28 23:19:06 +02:00
Tony Murray
d646562e4e
Dynamic Select setting (#13179)
* Dynamic Select setting
embeds select2 and uses ajax to call to backend for options
poller-group included

* fix validation a bit

* fix typehint

* move minProperties into the select schema

* Change dashboard-select to select-dynamic
Love deleting code

* Change dashboard-select to select-dynamic
Love deleting code
wire up a few select2 options

* fix whitespace

* Not a model, just an object

* Suggestion from @SourceDoctor autocomplete values of select and select-dynamic

Got a little creative with InternalHttpRequest...
2021-08-28 06:46:53 -05:00
Tony Murray
94ee737f3d
Allow device actions to appear in device list and improve docs (#13177)
* Improve Device menu links and documentation

* device list actions functionality

* phpstan :/
2021-08-27 22:48:57 -05:00
Tony Murray
9b8b1b814a
Validate APP_KEY (#13171)
* Validate APP_KEY
key:rotate command to rotate keys, only rotates validation data for now

* fixes, swapped encrypters, not saving new value to db, check that key exists first

* add confirmation

* Option to generate new key, re-encrypt data and then save it to .env
A lot more text to try to prevent disaster.  Print out both keys 1-2 times.
Fix bug in EnvHelper (when key is commented but not empty)

* fix style

* oops, good phpstan
2021-08-27 22:48:21 -05:00
Tony Murray
1ec694595e
Docs link to webui settings in user's install (#13176)
* Docs link to webui settings in user's install

* Add note to re-assure users
2021-08-27 06:48:17 -05:00
Tony Murray
b3e2309af6
Format port speed changes in the event log (#13174)
* Format port speed changes in the event log

* Delete SettingSelect2.vue
2021-08-26 17:56:55 +02:00
Tony Murray
676bb8c5a7
Change default graph view to zoom in on traffic. (#13173)
People like to see their tiny utilization.
2021-08-25 06:33:17 -05:00
Tony Murray
5a1988a4c9
Fix port zoom traffic, remove question mark accidentally left in (#13172) 2021-08-24 22:43:06 -05:00
SourceDoctor
1544eadd37
default port_group for new ports (#13166)
* default port_group for new ports

* .

* adding Docs, default Value, change keyname

* .

* Update Configuration.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-24 20:28:18 +02:00
ottorei
c08b203ed7
Do not poll passive ISIS-circuits (#13168)
* Do not poll passive interfaces

* Apply fixes from StyleCI

* discovering with mib active returns true/false

Co-authored-by: ottorei <ottorei@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-24 12:21:49 -05:00
Tony Murray
8e409ba051
Rewrite ISIS Adjacency discovery/polling (#13155)
* Rewrite ISIS Adjacency discovery/polling
hopefully much faster now, do most work in discovery and just check up/down in poller.

* unused variable

* Implement option for OS override

* fix an incorrect typehint

* test data

* work around stupid migration name

* update schema

* better handling for the on-demand discovery

* more detailed phpdoc

* fix when adjacency is not found

* don't clear out data when adjacency goes away

* Adjust nullable fields

* fixes

* fix class name

* correct migration

* fix bug causing adjacency data to always be blank

* port popups for port links

* isisISAdjState does not need to be nullable

* remove extra space

* default off

* If port is missing return $text

* update schema

* Cleanup old components

* correc copy paste error
2021-08-23 21:19:55 -05:00
Kevin Zink
456c5d2fae
Dell Network Virtual Link Trunk Status (#13162)
* DELL ForceTen add VLT States

* DELL Network (dnos) VIRTUAL-LINK-TRUNK

* add testfiles

* Update dnos_z9100-on.json

Fix merge comments

* Refresh Testdata

* add num_oids

* Remove unused skip_values
2021-08-23 19:11:49 -05:00
Tony Murray
dc1b5bd2d7
Update configuration docs to use lnms config:set (#13157)
* Update configuration docs to use lnms config:set
don't show slashes input
still need to test them all

* fixup broken commands
os array type a little broken

* bash

* fix lnms config:set os append

* enable os append test
(and small correction)

* fix whitespace
2021-08-23 19:07:26 -05:00
Tony Murray
07415ced77
Fix DB Inconsistent friendly error message (#13163)
Exception was causing an exception due to a type error, fix that so the nice message works.
2021-08-23 19:06:56 -05:00
SourceDoctor
62d440a0dc
show count of Ports in PortGroup display (#13164) 2021-08-23 19:06:36 -05:00
Tony Murray
d74bb37971
Show port speed on port graphs, optionally set scale (#11858)
* Show ifSpeed on Graph
Drop ifHighSpeed, we really don't want to store that value.

* safer truth check

* Allow global setting and per-graph variable

* match surrounding case

* Style fixes

* Remove old function usage

* update schema

* remove some old usages

* cleanup more ifHighSpeed references

* update test data to remove ifHighSpeed

* fix down migration

* Add button on graph page
Change default
tweak wording
2021-08-23 06:47:44 -05:00
Tony Murray
d8d0ccd03d
Common contexts for polling (#13158)
* Common contexts for polling
Don't store contexts on the device array, use the device model
Also should be easier to add different contexts later.

* rename variables for consistency
2021-08-23 01:22:28 -05:00
Tony Murray
54964e0c42
Release script updates (#13161)
add mibs category
revert changelog when exiting to prevent double log
2021-08-22 19:46:06 -05:00
Valery Kartel
64e91aa809
Update syslog.php (#13150)
* Update syslog.php

Clean code - removed some unused stuff

* Update syslog.php
2021-08-22 19:07:07 -05:00
Tony Murray
e5e2633fbb Bump version to 21.8.0 2021-08-22 15:49:45 -05:00
Tony Murray
93180ce4f0 Changelog for 21.8.0 2021-08-22 15:49:44 -05:00
Facundo Caselles
8bb6eec732
Dark mode improvements (#13141)
* Changes to dark theme.
- Tables with white background now has dark background.
- Listbox in searchbar now has dark background.

* Minor change to internal css to modify all tables without 'table' class applied. (view screenshot)

* -Transparency on mini graphs on ports

* bootgrid-table td.no-results now has dark background

* Changes suggested by @Talkabout
2021-08-21 20:06:13 +02:00
Arjit Chaudhary
1fcf58a7a4
Fix layout width (#13115)
* Fix layout width

* Update services.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-21 00:25:13 -05:00
tikitaru
500a699797
Fix polling current on ICT2000DB-12IRC (#12529)
* Update ict-pdu.inc.php

Lines 7&8 fixes an issue seen when polling current on ICT2000DB-12IRC .

* Create ict-pdu_ict200db-12irc.snmprec

* More generic fix

* Create ict-pdu_ict200db-12irc.json

* Update ict-pdu.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-08-20 23:54:50 -05:00
Talkabout
1de372ca1b
Priority filtering for syslog widget (#13134)
* Update SyslogController.php

* Update SyslogController.php

* Update syslog.blade.php

* Update syslog.blade.php

* Update web.php

* Create PriorityController.php

* Update SyslogController.php

* Update SyslogController.php

* changed priority controller to static list

* Update PriorityController.php

* Update PriorityController.php

* Update PriorityController.php

* using static list directly with standard select box without backend logic

* removed not required if statement
avoided array_flip by flipping foreach arguments
2021-08-20 22:52:15 -05:00
paulierco
d6fee82e1a
Add OSAG OS (#13156) 2021-08-20 19:25:07 +02:00
ottorei
bc56f94f8f
PagerDuty transport: Add EU service region (#13154) 2021-08-20 10:04:51 +02:00
Tony Murray
e2d1bfff54
lnms config:set ability to set os settings (#13151)
* lnms config:set works for os settings
validate against os schema (gives us path and value validation)
fix unset in config:set
json formatted output in config:get to match input parsing

* inline errors

* Check that OS exists

* Fix lock file

* Set param type

* correct method name, it no longer returns a boolean

* rename --json to --dump
tests and fixes

* fix whitespace

* missed one whitespace

* typehints

* add connection typehint

* try again
2021-08-19 18:34:19 -05:00
fbourqui
fcb1f2d6fa
Revert to port description on port_link in Ports-Type pages after #13143 (#13149)
* Add Port description first to Ports-Type pages
Consistent with Customers pages.
For a port to be in a Ports-Type page it needs a parsed description
(Transit, Peering, Core, Custom, ...)

* make styleci.io happy

* Revert back to display Description like b4 #13143
2021-08-19 18:14:04 -05:00
Kevin Wallace
e981570c34
enclose IPv6 literal in [brackets] for snmpget and unix-agent (#13130)
Co-authored-by: Kevin Wallace <kevinwallace@users.noreply.github.com>
2021-08-19 18:00:06 -05:00
Tony Murray
3c6f9fd60f
Update docs for controlling modules (#13147)
* update docs for controlling modules

* text update

* clarify

* typo

* add missing word
2021-08-19 17:32:08 +02:00
Valery Kartel
4609da6db2
Fix issue #13146 (#13148)
* Fix issue #13146

fixed issue #13146 - Syslog :: syslog_xlate does not work with hostnames with dots

* Update syslog.php
2021-08-19 17:31:32 +02:00
Tony Murray
f0f0a05dd1
Change PHPStan target to PHP 7.3 (#13153)
* Change PHPStan target to PHP 7.3

* ignore lines

* Update LoginTest.php

* Update LoginTest.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-08-19 16:20:13 +02:00
Tony Murray
ca4a9e7ccf
More specific grandstream-ht detection (#13152)
fixes #13138
2021-08-18 12:28:01 -05:00