Commit Graph

18402 Commits

Author SHA1 Message Date
PipoCanaja
9635f88c00
basic support for zyxelac_xmg3927 (#12740) 2021-04-12 10:43:19 +02:00
Tony Murray
0f1c4734d4
Load device relationship from device cache (#12712)
* Load device relationship from device cache

* unrelated should be null, not a null object
2021-04-12 02:55:39 +02:00
Tony Murray
0b617db7f5
Fix alert rules display when creating new alert template (#12731)
Doesn't clear rules from default template...
2021-04-12 02:47:08 +02:00
Tony Murray
c36fe928e4
Fix mini graphs (#12738)
Remove the polyfill, if the noscript tag isn't removed it breaks graphs
Ajax tables should not use lazy loading anyway...
2021-04-12 02:40:47 +02:00
Tony Murray
dec1ed1e45
Split port_groups migration to prevent issues (#12732)
* Split port_groups migration to prevent issues

* split out to individual tables

* fix class names

* Fix the hasTable check
don't need separate foreign key migrations since they are both on the same table.
2021-04-12 02:39:46 +02:00
PipoCanaja
ba23ee3999
Added support Cisco CBS350 (#12737)
* support Cisco CBS350

* hardware collect
2021-04-12 02:37:36 +02:00
craig-nokia
99795eafca
Added basic Delta Orion Controller support (#12741)
* Added basic Delta Orion Controller support

* Updated files.
2021-04-12 01:31:12 +02:00
Tony Murray
0e79413a5b
escape user editable field (#12739) 2021-04-11 15:08:41 +02:00
Jellyfrog
643c1ca3aa
Correct snmp function usage (#12714)
* Use snmp_translate correctly

* use snmp_get correctly

device array instead of object

* Update snmp.inc.php
2021-04-09 11:11:57 -05:00
Jake
21dcd3eed9
Update Dashboards.md (#12733)
Corrected a couple typos.
2021-04-09 11:11:03 +02:00
Tony Murray
6d40871395
Fix mempools divide by 0 (#12734) 2021-04-09 11:10:02 +02:00
Tommy Andre Mikkelsen
8eda073da9
Corrected OID for c3GsmSimStatus (#12724)
* Update cisco.inc.php

Wrong OID used for c3GsmSimStatus

* add test data for iosxe

* Update ios_ir809.json

* Update iosxe_ir1101.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-08 18:53:07 +02:00
Torch
687ee5df54
feature: Added support for Infinera XTM (#12710)
* added Infinera wdm defination

* fixed discovery & poller location

* removed poller and discover modules, added HW
2021-04-08 10:46:44 -05:00
Tony Murray
78dd6f305c
Fix bug in component table (#12730)
* Fix bug in component table

* use !empty
2021-04-08 10:27:20 -05:00
Tony Murray
6f02ddfe7b
Fix js error (#12729) 2021-04-08 10:14:45 -05:00
Jellyfrog
edb36fd69d
More cleanups (#12715)
* PHPDoc

* Replace Auth > Illuminate\Support\Facades\Auth

* Return inside when()

* use str_replace correct

* Misc

* dead code

* use int $port

* styleci
2021-04-08 08:14:49 -05:00
Jellyfrog
c147be4505
Revert "Remove snmp2ipv6 (#12683)" (#12725)
This reverts commit f5f72dd398.
2021-04-08 14:57:17 +02:00
Tony Murray
04407db85b
Use native browser lazy load (#12720)
* Use native browser lazy load
Polyfill for older

* Add intersection polyfill for IE and older browsers
2021-04-08 11:24:53 +02:00
Tony Murray
500f50e867
JS fixes for IE (#12721)
* JS fixes for IE
just a couple that caused the issues with graph loading and widget settings not saving.

* remove polyfill

* Update ports.inc.php
2021-04-08 11:22:44 +02:00
Tony Murray
d34cd0a1b8
Fix ports table when unpolled ports exist (#12722)
* Fix ports table when unpolled ports exist

* fix another divide by 0
2021-04-08 11:17:53 +02:00
dependabot[bot]
19032b33a5
Bump phpseclib/phpseclib from 2.0.30 to 3.0.7 (#12723)
Bumps [phpseclib/phpseclib](https://github.com/phpseclib/phpseclib) from 2.0.30 to 3.0.7.
- [Release notes](https://github.com/phpseclib/phpseclib/releases)
- [Changelog](https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md)
- [Commits](https://github.com/phpseclib/phpseclib/compare/2.0.30...3.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 11:16:11 +02:00
Tony Murray
f5f72dd398
Remove snmp2ipv6 (#12683)
* Remove snmp2ipv6

* Fill in bgpPeerRemoteAddr too update test data
2021-04-07 16:57:57 -05:00
Rob Schultz
40517f695a
Cisco AES256 support (#12717)
* Add support for net-snmp AES-256-C option

* Add AES-256-C to tests and config definition
2021-04-06 22:07:41 -05:00
Jellyfrog
dedc46b548
Fix SQL injection in rediscover-device (#12716)
Closes #12697
2021-04-06 21:57:50 -05:00
Jellyfrog
a70d55bfd8
Add feature to capture a full snmprec (#12706) 2021-04-06 17:26:31 -05:00
SourceDoctor
4b9e480118
Define Port Groups (#12402)
* Define Port Groups

* .

* .

* .

* API Calls

* .

* .

* .

* minor changes

* .

* update forms

* remove link

* .

* change column settings

* change migration

* change update position

* db migration fix

* .

* .

* .

* add missing doc reference

* update test data

* update test data

* update test data

* .

* .

* .

* .

* .

* .

* .

* .

* port group association in seperate table

* .

* .

* show all found groups on port

* select multiple Portgroups per Port

* change on migration file

* change query to eloquent

* Code changes

* move port group menu to ports main menu

* port group update to eloquent

* .

* .

* update to new setting way

* add missing merge parameter

* Use select2 and port some things to Laravel
some fixes, hopefully no new added bugs

* schema

* don't use on update restrict unfortunately

* remove unused import and revert changes

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-04-06 17:25:08 -05:00
Wooboy
ecb87d9671
Added support for Canon printer model TM TX series (#12667)
* Update canonprinter.yaml

ADD support printer model TM TX series

* Create canonprinter_tm.snmprec

upload test file

* Update canonprinter_tm.snmprec

* Create canonprinter_tm.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-06 14:37:05 -05:00
Antonio Almeida
d80c19d0dd
WebUI - Display interface errors per second instead of accumulated (#12613)
* Display delta errors instead of accumulated
* Interface errors rate based on polling time and with units
* After some googling changed Eps to EPS to represent errors per second

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-06 20:40:23 +02:00
Jellyfrog
c97e49db3b
Fix doc building (#12711)
And upgrade
2021-04-06 19:22:58 +02:00
Simon Smith
f0bef36b16
fix adding discrete ipmi sensors (#12709) 2021-04-06 18:44:35 +02:00
Tony Murray
7788c19256
Fix mempool tags (#12705)
Does not affect rrd, only external tsdb
2021-04-06 00:50:48 +02:00
PipoCanaja
8c2a5d5a16
Issue with snmpwalk_group string splitting (#12701)
* handling invalid data for snmpwalk_group

* style

* new approach

* new guess

* split trim

* cleaning
2021-04-05 22:47:11 +02:00
Misha Komarovskiy
61b4c35ab1
Update IOS with 4948 variant hardware detection (#12685)
* Update IOS with 4948 variant hardware detection

* Use entPhysicalModelName if Switch System match
* Add test data for 4948e and 4948-10ge variants

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Fix bracket error

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>

* Add json test data

Signed-off-by: Misha Komarovskiy <zombah@gmail.com>
2021-04-05 22:26:38 +02:00
hartred
339227280a
BDCOM update support (#12696)
* tests snmprec

* add snmprec test

* test json

* discovery json

* json test

* snmprec

* add mib files
2021-04-05 10:21:49 -05:00
O Palivan
cedb0570eb
TAIT - Add entity physical support (#12703)
* Add entity discovery out of proprietary mibs
2021-04-04 17:13:11 +02:00
cjsoftuk
43ea55bcf3
Better firebrick support (#12600)
* Add Firebrick MIBs, temperatures and voltages.

* Add missing $sysOid checks.

* Add fan speed for FB6000 series.

* Add sane limits.

* Update Firebrick MIBs.

* Make BGP peers work.

* Better support for Firebricks.

* Add more firebrick support.

* Add BGP Peer States.

* Fix fan speed divisor now that Cliff has fixed the code.

* Fixes for BGP and sensors.

* Add Firebrick IPSec module.

* Add IPSec Tunnels (Base).

* Sort out the IPSec states (although they're still green for no real reason).

* Code style fixes.

* Add missing config definition.

* Fix code style issues.

* Move bgp-peers to its own file.

* Do fan speeds with yaml, not PHP.

* Add Firebrick 6000 snmprec.

* Move Firebrick tests to be FB6000 tests.

* Revert "Move Firebrick tests to be FB6000 tests."

This reverts commit 426c1db980.

* Add tests for specific firebrick variants (2900, 6000) rather than generic.

* Add the firebrick-ipsec-tunnels poller config option.

* Switch to cipsec-tunnels for Firebrick.

* Unnecessary as it's now in cipsec-tunnels.

* Add extra MIB fields for Firebrick BGP MIB.

* Minor fix for AS text.

* Fix the tests.

* Exclude build timestamp from the version.

* Fix a couple of careless errors.

* Code style fix.

* Better version strings.

* Fixes for BGP, and add "Routing Table" support (VRF).

* Add more test data for BGP peers.

* Fix test data for BGP.

* Remove processors for now - as we can't get the data sensibly.

* Fix code style.

* Update firebrick.inc.php

Force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-04-04 16:17:49 +02:00
Jellyfrog
14a95f47c9
Bump php-amqplib to support PHP8 (#12698) 2021-04-02 13:00:48 +02:00
Jellyfrog
c025c55a03
Regression from e00eba327d (#12699)
Use Device object instead of array
2021-04-02 11:00:57 +02:00
Jellyfrog
26d3404bbc
Update php dependencies (#12692)
asm89/stack-cors (v2.0.2 => v2.0.3)
barryvdh/laravel-ide-helper (v2.9.0 => v2.9.1)
composer/composer (2.0.9 => 2.0.11)
composer/xdebug-handler (1.4.5 => 1.4.6)
doctrine/annotations (1.11.1 => 1.12.1)
doctrine/dbal (2.12.1 => 2.13.0)
doctrine/deprecations (v0.5.3)
facade/flare-client-php (1.3.7 => 1.5.0)
facade/ignition (2.5.11 => 2.7.0)
fakerphp/faker (v1.13.0 => v1.14.1)
filp/whoops (2.9.2 => 2.12.0)
friendsofphp/php-cs-fixer (v2.18.2 => v2.18.4)
guzzlehttp/guzzle (7.2.0 => 7.3.0)
guzzlehttp/promises (1.4.0 => 1.4.1)
guzzlehttp/psr7 (1.7.0 => 1.8.1)
laravel/dusk (v6.11.3 => v6.14.0)
laravel/framework (v8.27.0 => v8.35.1)
laravel/tinker (v2.6.0 => v2.6.1)
league/commonmark (1.5.7 => 1.5.8)
mockery/mockery (1.4.2 => 1.4.3)
nesbot/carbon (2.45.1 => 2.46.0)
phar-io/version (3.0.4 => 3.1.0)
php-webdriver/webdriver (1.9.0 => 1.10.0)
phpmailer/phpmailer (v6.2.0 => v6.4.0)
phpspec/prophecy (1.12.2 => 1.13.0)
phpunit/php-code-coverage (9.2.5 => 9.2.6)
phpunit/phpunit (9.5.2 => 9.5.4)
psr/container (1.0.0 => 1.1.1)
psy/psysh (v0.10.6 => v0.10.7)
swiftmailer/swiftmailer (v6.2.5 => v6.2.7)
symfony/console (v5.2.3 => v5.2.6)
symfony/css-selector (v5.2.3 => v5.2.4)
symfony/debug (v4.4.19 => v4.4.20)
symfony/error-handler (v5.2.3 => v5.2.6)
symfony/event-dispatcher (v5.2.3 => v5.2.4)
symfony/filesystem (v5.2.3 => v5.2.6)
symfony/finder (v5.2.3 => v5.2.4)
symfony/http-foundation (v5.2.3 => v5.2.4)
symfony/http-kernel (v5.2.3 => v5.2.6)
symfony/mime (v5.2.3 => v5.2.6)
symfony/options-resolver (v5.2.3 => v5.2.4)
symfony/polyfill-ctype (v1.22.0 => v1.22.1)
symfony/polyfill-iconv (v1.22.0 => v1.22.1)
symfony/polyfill-intl-grapheme (v1.22.0 => v1.22.1)
symfony/polyfill-intl-idn (v1.22.0 => v1.22.1)
symfony/polyfill-intl-normalizer (v1.22.0 => v1.22.1)
symfony/polyfill-mbstring (v1.22.0 => v1.22.1)
symfony/polyfill-php72 (v1.22.0 => v1.22.1)
symfony/polyfill-php73 (v1.22.0 => v1.22.1)
symfony/polyfill-php80 (v1.22.0 => v1.22.1)
symfony/process (v5.2.3 => v5.2.4)
symfony/routing (v5.2.3 => v5.2.6)
symfony/stopwatch (v5.2.3 => v5.2.4)
symfony/string (v5.2.3 => v5.2.6)
symfony/translation (v5.2.3 => v5.2.6)
symfony/var-dumper (v5.2.3 => v5.2.6)
symfony/yaml (v4.4.19 => v4.4.21)
webmozart/assert (1.9.1 => 1.10.0)
2021-04-02 00:01:02 +02:00
Jellyfrog
777b78cca1
Cleanup (#12695)
* Use true/false to return booleans

* Misc fixes
2021-04-01 17:35:18 +02:00
Jellyfrog
6616727a95
Fix alert template variable ping_timestamp (#12690)
* Fix RunAlerts typo

* Update Template.php

* Update QueryBuilderFluentParser.php

* Update QueryBuilderParser.php
2021-03-31 18:06:07 -05:00
Jellyfrog
a0a3a1c8d8
PHPDoc fixes (#12693) 2021-04-01 00:35:19 +02:00
Jellyfrog
24c8513029
Replace Auth > Illuminate\Support\Facades\Auth (#12664)
Helps phpstan
2021-03-31 21:30:04 +02:00
Jellyfrog
58af994c6b
Linting (#12677)
* Fix Canopsis Transport

* Lint Hipchat

* Lint IRCBot.php

* Misc

* Update Hipchat.php

* Update Notification.php
2021-03-31 17:29:22 +02:00
Jellyfrog
4b6efba040
Type hint all device model relations (#12686) 2021-03-31 17:28:47 +02:00
Jellyfrog
dc160c6813
PHPDoc fixes (#12687) 2021-03-31 17:18:43 +02:00
TheGracens
9b627eceb0
Update latency.blade.php (#12684)
Fix devices latency tab calendar position
2021-03-31 02:02:40 +02:00
PipoCanaja
90b43b3210
VRP - fix global VRF being NULL and not '' for cbgp, support for NetEngine devices (#12676)
* fix global VRF being NULL and not '' for cbgp

* continued

* clonky testfile

* fix regex
2021-03-30 19:02:00 -05:00
Jellyfrog
535ce5eb20
Fix deviceUrl check (#12682) 2021-03-30 16:10:20 -05:00
Tony Murray
2b6b8df4b5
Fix printer state error (#12681) 2021-03-30 15:26:01 -05:00