Commit Graph

19020 Commits

Author SHA1 Message Date
Tony Murray
3c0831c821 Use display name in alerts (#13650)
* Use display name in alerts

* remove error from baseline
2022-01-04 23:40:42 +00:00
Tony Murray
785b0bae53 Disable VRP VLANs, seems to be a bug in snmpsim snmpbulkwalk (#13649) 21.12.1 2022-01-04 07:30:27 -06:00
Tony Murray
4b64d33d13 API detect if new location should be fixed by default (#13637) 2021-12-27 17:32:50 -06:00
Tony Murray
0eccd1aac3 Fix SnmpQuery bulk boolean backwards (#13636) 2021-12-27 16:19:13 -06:00
VTS
1ac60e3b1d set fixed_coordinates via api (#13593)
* set fixed_coordinates via api

* update api doc

* fix style problem

* Update Locations.md

* Update api_functions.inc.php

* Update api_functions.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-12-23 15:32:02 -06:00
Tony Murray
b38a8e2b5a Remove extra rows with duplicate keys in SyncsModels trait (#13632)
Fixes issues with bad data being left in the DB if it has a duplicate key somehow.
2021-12-23 15:24:53 -06:00
Tony Murray
b27efefb91 Bump version to 21.12.0 21.12.0 2021-12-21 19:57:55 -06:00
Tony Murray
137644e404 Changelog for 21.12.0 2021-12-21 19:57:44 -06:00
Peca Nesovanovic
dc73154ae6 VLANs sort in GUI (#13628) 2021-12-20 12:01:39 +01:00
johnstruse
b84e471587 Fix EdgeOS hardware detection (#13629)
* Fix EdgeOS hardware detection

* Add EdgeRouter Lite test data
2021-12-20 09:19:07 +01:00
johnstruse
bb9abd67d6 Add additional ICX 7150 devices (#13627)
* Update Brocade root MIB

* Add additional ICX 7150 devices
2021-12-19 16:58:02 +01:00
Tony Murray
df123c62c2 Fix broken links (#13625)
fixes #13624
2021-12-15 19:49:02 -06:00
Tony Murray
d5656d826e Tests dont include empty tables (#13619)
* Do not include empty tables in test data

* empty data is simpler to check now

* Update test data

* revert comment options that block update all test data

* clean existing data

* fixes

* another fix

* remov extra sensors???

* why is that using that ip...

* missed an empty table

* missed one

* restore ftos

* revert another ftos

* revert ird

* restore timos

* restore timos_7705

* oops

* double oops

* timos mpls

* timos_hc

* another timos_hc fix
2021-12-15 19:48:44 -06:00
Tony Murray
478f3d80d9 Fix axiscam serial format (#13620) 2021-12-14 23:45:57 -06:00
Denny Friebe
e24862545d Fix the displayed unit for frequency and distance in the wireless section (#13614)
* Fix the displayed unit for frequency and distance in the wireless menu

* Small style fix
2021-12-13 08:30:57 -06:00
Peca Nesovanovic
fefeceb0d0 Luminato: CPU, HW type, HW ver, Fan state discovery (#13608)
* Luminato: CPU, HW type, HW ver, Fan state discovery

* CPU / yaml

* test data
2021-12-12 23:22:03 -06:00
Tony Murray
a0de9083b5 Fix Cisco WLC AP cleanup (#13615)
* Fix Cisco WLC AP cleanup

* missing space
2021-12-12 22:33:54 -06:00
Tony Murray
edd645264c Regenerate app.js (#13613) 2021-12-10 22:28:20 -06:00
martinberg
9e6590104b Add more device fields to oxidized map configuration (#13604)
* fixed typo and added sources

* Updated app.js

* Add mix-manifest.json
2021-12-09 13:45:00 -06:00
Tony Murray
bc2be0efc1 Remove accidental dump() (#13607) 2021-12-09 08:53:34 -06:00
Jellyfrog
e803fa57ac use http for proxy urls via guzzle (#13601)
Fixes #13598
2021-12-08 08:22:20 -06:00
Tony Murray
a046420888 Revert "RRD Allow specifying a source file and ds to fill data (#13480)" (#13602)
This reverts commit 29328b2e9a.
2021-12-06 12:34:46 -06:00
Tony Murray
a95efd6d2a Global search: search device display (#13583)
* Global search: search device display
Add display field to search (also port_desc_descr, portName, and bgpPeerDescr)
Rewrite backend
update typeahead bundle
update devices and ports indexes
reduce some port field sizes so we can index them

* Style fixes

* remove nonsense
2021-12-06 16:12:24 +01:00
Tony Murray
29328b2e9a RRD Allow specifying a source file and ds to fill data (#13480)
* Allow specifying a source file and ds to fill data

* Need to check if rrd file exists, so delay processing until __toString

* Update RrdDefinition.php
2021-12-06 08:04:57 -06:00
Peca Nesovanovic
528d8e55b4 initial Eltex-mes IPv6 address discovery (#13594)
* initial Eltex-mes IPv6 address discovery

* styleci

* add Eltex-mes devices in group: radlan

* merge two OIDs

* styleci

* ipv6 normalize
2021-12-03 15:48:48 -06:00
Tony Murray
b32524294c collect-snmp-data.php can now capture snmp context test data (#13596)
* collect-snmp-data.php can now capture snmp context test data
This is helpful for devices that use context for multiple data sets such as VLANs and VRFs.  Allows us to test things that use those now, but does make more snmprec files :/

* update typehints on affected methods and baseline
2021-12-03 13:27:06 -06:00
Tony Murray
ef8dd82bc9 Create SECURITY.md 2021-12-03 08:06:33 -06:00
Nocturr
e0774fc677 Add Initial Support for VMware SD-WAN / Velocloud (#13536)
* Add Initial Support for VMware SD-WAN / Velocloud

* change os name to velocloud

* update test data

* rename os definition file

* missed one
2021-12-02 15:27:41 -06:00
Tony Murray
ccda5472c0 Add additional type tag for Bind metrics (#13581)
* Add additional type tag for Bind metrics
Fixes data getting clobbered when exported to external TSDB.
Fixes 13539

* Update bind.inc.php
2021-12-02 08:05:04 -06:00
carranzamarioagustin
1675cd8c17 SmartAX supports IF-MIB, skip custom polling and fix polling GPON ports (#13579)
* Smartax supports IF-MIB, skip custom discovery and fix polling GPON ports in and out traffic

* This file seems to break GPON port polling on SmartAXes firmware versions R017 and R018, deleting the file fixes GPON polling

* Added necessary test files so that polling tests do not fail
2021-12-01 22:54:12 -06:00
Peca Nesovanovic
d4022e2d4e ipv6 discovery switch to new DB syntax (#13591)
* ipv6 discovery switch to Laravel

* styleci

* cleanup

* last dbfetch removed

* styleci & unneeded IF

* switched to updateOrCreate
2021-12-01 22:52:37 -06:00
Simon Smith
c7d00ccc92 Update Applications.md (#13573)
add step to add debian-snmp user to docker group
2021-12-01 07:46:24 -06:00
Peca Nesovanovic
e23ad7947d q-bridge-mib, discover missing VLANs, v2 (#13569)
* q-bridge-mib, discover missing VLANs v2

* copy/paste typo fix

* Use SnmpQuery

* Switch from Vlan_x to VLAN x

* Cleanup
Revert accidental change
Incorrect table depth (even though the outcome is the same)
And test data that was explicitly Vlan_

* fix test data

* update routeros_vlans

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-12-01 07:24:35 -06:00
Tony Murray
5ce7a5ad0e snmp.unescape setting (#13590)
* snmp.unescape setting
Works around issue with (I think net-snmp < 5.8.0) where it adds backslashes.

* Updated test data
2021-11-30 21:33:18 -06:00
Tony Murray
d69674b36e Correct graph row component responsive layout for linked graphs (#13587)
* Correct graph row component responsive layout for linked graphs
Enable pass through height and legend.  Probably need more, but this is just for a start.
Switch Poller performance page

* revert accidental change

* Update Graph.php
2021-11-30 19:21:41 -06:00
Denny Friebe
12a262744e Fix nototal graph option (#13589) 2021-11-30 19:21:09 -06:00
mathieu-artic
49587cccf1 Add better support for Eaton UPS (#13588)
* fix eaton ups

* add serial number

* regex
2021-11-30 22:59:32 +01:00
dependabot[bot]
f9444a14d0 Bump symfony/http-kernel from 5.3.9 to 5.4.0 (#13585)
Bumps [symfony/http-kernel](https://github.com/symfony/http-kernel) from 5.3.9 to 5.4.0.
- [Release notes](https://github.com/symfony/http-kernel/releases)
- [Changelog](https://github.com/symfony/http-kernel/blob/5.4/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-kernel/compare/v5.3.9...v5.4.0)

---
updated-dependencies:
- dependency-name: symfony/http-kernel
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 10:16:59 +01:00
Jellyfrog
29bdfe40a3 Use phpstan-deprecation-rules instead (#13582)
* Replace deprecated functions

* Use phpstan-deprecation-rules instead
2021-11-30 09:33:14 +01:00
Tony Murray
9d2633bf09 Escape net-snmp unformatted strings, try 2 (#13584)
* Escape net-snmp unformatted strings, try 2

* Add some tests
2021-11-30 00:12:42 -06:00
twelch24
4a99b798b5 update Customizing the Web UI doc (#13564) 2021-11-30 02:42:39 +01:00
Martin22
5c62115486 Ray3 - Added memory chart (#13557)
* Memory graph added

* Added test data

* New test data
2021-11-30 02:34:39 +01:00
Tony Murray
0959df53e5 Don't use @lang() it doesn't escape the string (#13566)
* Don't use @lang() it doesn't escape the string
Found an issue where a string contained a single quote and broke the page.

* fix regex errors

* fix another style of mis-replacement

* found another issue
2021-11-28 21:17:11 -06:00
SourceDoctor
5e4e2c423c Availibility Map - show Display Name if set (#13574) 2021-11-28 12:08:44 +01:00
Tony Murray
99fbdeef02 Do not show location in device overview if location is not found (#13572) 2021-11-26 18:54:29 +01:00
Lucas Dousse
22531bee5d update netapp mib (#13571) 2021-11-26 09:15:14 +01:00
TheGreatDoc
82d008ca95 Added support for Himoinsa gensets status state sensors (#13456)
* Fix missing mib_dir in definition

* Added state sensors

* snmprec data

* json data

* delete unused snmprec

* License and Author

* remove unused json data

* Fix style issues

* Fix more style issues coz im blind

* Fix more style issues coz im blind last

* Refactored

* Why do we loop?

* Fix style issues

* Update polling

* Refactor to use methods

* Fix a pair of style issues

* Updated test files

* Convert to yaml

* Wrong description on Mode

* Added another state + fixed some indexes

* Dunno what happened

* Fix for phpstan level 6

* Fix forstyleci

Co-authored-by: Tony Murray <murraytony@gmail.com>
2021-11-26 01:18:49 -06:00
David Girón
364fa540cc Add discovery for APC EPDU1132M (#13545)
* Initial discovery for APC EPDU1132M

* Rename current APC ePDU model to specific

* Add more conditions to test

* Ignore APC ePDU

* Add version field

* Update version in test file

* Add JSON test data

Also remove hostname (was literal question mark), was causing issues
2021-11-25 22:40:33 +01:00
Claude Brown
6bf97c6ac9 API 'list_parents_of_host' - mostly doco, but one small code enhancement (#13567)
* Allow 'list_devices' to query by exact device-id

* Remove 'http://' prefix from --dev-addr in doco for 'mkdocs serve'

* Document 'list_parents_of_host' API call by reference to 'list_devices' call

* Remove possibility of SQL injection attacks

* Remove possibility of SQL injection attacks
2021-11-25 22:38:50 +01:00
Tony Murray
b94f08cfdb Remove color markers when logging to files (#13541)
* Remove color markers when logging to files

* Update lint

* safety checks

* back to simple formatters, but two of them

* more correct comment
2021-11-24 23:33:02 +01:00