Commit Graph

18718 Commits

Author SHA1 Message Date
paulierco 8fcd13f821 mcafeewebgateway: add ifName (#13242) 2021-09-15 17:44:16 +02:00
Martin a357224465 Update to fix table row color and hover color (#13244)
The last update changed row color for all rows except the first instead of changing color for every 2nd row.
2021-09-15 17:43:36 +02:00
Tony Murray f3fa2ce1e2 Fix port minigraph (#13240)
missing div close
2021-09-14 11:36:21 -05:00
ottorei 34de9dd77d Sort in SQL (#13238) 2021-09-13 19:12:55 -05:00
Tony Murray 9715fe0e8d another non-integer fix (#13239) 2021-09-13 19:11:49 -05:00
ottorei b2d34cac4a Fix PagerDuty transport's group field (#13235)
* Do not poll passive interfaces

* Bug

* Update payload
2021-09-13 21:14:11 +02:00
Tony Murray 1452ad9889 Fix graph row columns (#13232)
* Fix static alert rule creation failing in api

* fix spacing
2021-09-12 19:48:57 -05:00
Tony Murray 055895e4a5 Fix static alert rule creation failing in api (#13222) 2021-09-11 21:35:11 +02:00
Orsiris de Jong b561ebbc3f Increase RestartSec time to a reasonable value (#13217) 2021-09-11 21:27:02 +02:00
Fehler12 c1846c2f69 Added Cisco CBS 250 Support (#13228)
1003 is for 1G uplink
1005 is for 10G uplink models
2021-09-11 21:25:49 +02:00
Fehler12 df1bf05d1c Add Support for USW-Flex (#13229) 2021-09-11 21:25:03 +02:00
kimhaak e409a22e7d Changed map functionality in device overview (#13225)
Changed map in overview page for devices so that it is possible to move and drop the marker to update position, and possible to pan/move map without marker being stuck in center, marker stays in its fixed position.
2021-09-11 16:09:57 +02:00
Jellyfrog 258505ed44 Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
Galileo77 ad52701603 Update geist-watchdog.yaml (#13223)
To prevent the recognition of Geist-PDU MG02E4W1 as Geist-Watchdog.
2021-09-10 19:59:18 +02:00
Orsiris de Jong d42444b4ae Add security context service (#13218)
* Make sure we add bin_t type to service for restricted SELinux policies

* Make sure we add bin_t type to service for restricted SELinux policies
2021-09-10 08:19:35 -05:00
Tony Murray c5b63bde86 New Blade Components: x-device-link, x-port-link, x-graph-row, x-popup (#13197)
* working popover

* popup component

* cleanup

* finalize device-link component

* attributes WIP

* working graph component

* widgets WIP

* More dynamic configs

* Graph row component

* Build CSS so we can use a dark theme

* graph row set columns

* only one popup visible at a time.

* Just set graph row width statically

* responsive WIP

* rsponsive option for graph-row "working"

* remove @deviceLink and @portLink

* fix non-responsive graph row

* update js/css

* fix style

* bad type?

* types

* types

* types #3

* remove testing code

* full rebel, no closing tags for meta and link

* match previous formatting

* fix vlans display

* restore newline

* remove silly comment

* remove unused line

* style I guess
2021-09-10 08:07:08 -05:00
Tony Murray 0a76ca444b name zxr10 files correctly (#13210) 2021-09-08 19:45:58 -05:00
Tony Murray 8ef70f8bec Fix snmp_bulk setting not being applied (#13209) 2021-09-08 19:04:16 -05:00
Jellyfrog 26b95c0ccc Apply fixes from StyleCI (#13208) 2021-09-08 23:35:56 +02:00
Valery Kartel c6d2385c3a ZTE ZXR10 define discovery for mempool and processor (#13192)
* Add mibs/zte/ZXR10-MIB

ZTE ZXR10 vendor-specific mibs

* Update zxr10.yaml

add mib_dir
change top-line view like in cisco

* Create zxr10.yaml

define mempool and processor discovery for zxr10

* Update zxr10.yaml

fix discovery.php "error in mempools module. Unable to translate oid ZXR10-MIB::zxr10SystemMemSize"

* Update zxr10.yaml

ZXR10-MIB::zxr10SystemMemUsed is in percent not in bytes.

* zxr10.yaml :: fixed mempools data

fixed mempools data

* TESTS :: Add snmprec

* TEST :: Add data/json

* Change group from zxr10 to zte

* Remove mib_dir

With group: zte it works without mib_dir: zte

* Rename zxr10_zxr10.json to zte_zxr10.json

* Rename zxr10_zxr10.snmprec to zte_zxr10.snmprec
2021-09-08 11:19:19 -05:00
Tony Murray d496c228d4 Discovery: mark snmp disabled devices as skipped (#13202) 2021-09-08 18:15:08 +02:00
PipoCanaja 05ce3d1858 Allow more compatibility in STP port discovery/polling (#13109)
* allow more variety in STP port discovery/polling

* style
2021-09-08 08:57:22 -05:00
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