Commit Graph

17813 Commits

Author SHA1 Message Date
Tony Murray
7822293da4 Fix USW detection again (#11978)
* Fix USW detection again
Please UBNT fix your SNMP.  sysObjectID for each model is all I ask.

* Add test data
2020-07-30 00:04:35 -05:00
Tony Murray
38cfab612b Dispatch Service Fix maintenance issues (#11973)
If daily.sh exited with non-zero it would kill the maintenance thread, stopping daily.sh
The maintenance lock was never released, this wouldn't cause an issue in normal operation as it should expire.
2020-07-29 23:12:13 -05:00
kleinem86
a4f5af069c Added Proxy support for Api Transport (#11968) 2020-07-29 16:00:55 +02:00
Tony Murray
b0b62aa999 Fix .env path (#11972) 2020-07-29 07:58:54 -05:00
Tony Murray
3ebed45d81 Fix netflow links (#11971) 2020-07-29 07:53:26 -05:00
Hans Erasmus
fe79029494 Update RRDCached.md (#11967)
Tested the steps for CentOS 7 on CentOS8 today, worked for me?
2020-07-28 23:09:55 +02:00
Wooboy
35488d89be Update canonprinter.yaml (#11959)
add definition for Canon iPF series
2020-07-24 19:39:02 +02:00
Nick Peelman
57362c1ff5 Refresh device_bits graph; align column headers, use wider descriptio… (#11922)
* Refresh device_bits graph; align column headers, use wider description on wider graphs

* Fix a couple of code climate issues...

* use float_precision variable like we do everywhere else...

* remove unnecessary substr
2020-07-23 23:14:36 -05:00
Jellyfrog
6dba2555a7 Convert blade to panel component (#11957) 2020-07-23 23:13:00 -05:00
Tony Murray
020c5fd7e1 Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global

* remove unused things

* fix some additional graphs

* Fix graphs persisting too soon

* correct name for poller module performance graph

* only one type of graph is used here
2020-07-23 09:57:22 -05:00
Jellyfrog
2fc037ab23 Convert device notes to blade (#11952) 2020-07-22 09:18:56 -05:00
Anael Mobilia
0b5a9106d8 Update Smokeping.md (#11956)
* Update Smokeping.md

Add smokeping URL path on the config example

* fix quote
2020-07-22 16:01:14 +02:00
Jellyfrog
86220eed9e Add more types to settings page (#11918)
* Add a executable type to settings page

This allow us to validate the value is a valid executable

* Add a directory type to settings page

This allow us to validate the value is a valid directory

* fixes
2020-07-21 20:51:23 -05:00
Jellyfrog
3c78e0ccc7 Add permission support to Oxidized config search (#11928) 2020-07-21 20:34:42 -05:00
SourceDoctor
dba165c49e Sort Neighbors by ifName, not bei ifAlias (#11951) 2020-07-21 20:23:44 -05:00
Henry
224f423ced Fix wrong str::finish (#11955)
As per https://laravel.com/docs/7.x/helpers#method-str-finish

Fixes UI errors (for example wrong base href).
2020-07-22 01:32:23 +02:00
SourceDoctor
b4d149b4af Show SysName in Availability Widget (#11953) 2020-07-22 00:22:12 +02:00
Tony Murray
a4c5502066 Make sure base_url always ends with / (#11949) 2020-07-21 07:27:21 -05:00
SourceDoctor
5a45060e57 LLDP Neighbour List - alphabetic sort (#11944) 2020-07-20 18:32:18 +02:00
SourceDoctor
e8f2c2e396 Show Location on Poller Log (#11945)
* Show Location on Poller Log

* .

* .
2020-07-20 18:23:28 +02:00
NotARobotDude
912247f2f0 Change text from black to white availability-map (#11946)
Before :
https://pasteboard.co/JiqHdlA.jpg

After : 
https://pasteboard.co/JiqIsoT.jpg
2020-07-20 00:54:10 +02:00
Cirno the Strongest
6448682b21 Fix missing Munin controller tab definition (#11943) 2020-07-18 18:15:19 -05:00
dependabot[bot]
2886f8b210 Bump lodash from 4.17.15 to 4.17.19 (#11942)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-18 16:02:41 +02:00
seros1521
389b271073 CBQoS improvement (#11926)
* Deduplicate CBQoS code

* Additional CBQoS metrics
2020-07-18 00:36:27 +02:00
SourceDoctor
dcab027c1f Enhance AlertLog Table View (#11936) 2020-07-18 00:26:17 +02:00
TheGreatDoc
1a8c4df880 Fix QNAP os polling (#11938)
* Remove old qnap code.

* Fixed test
2020-07-18 00:14:16 +02:00
Tony Murray
334d50467c Simpler Python requirements check (#11939)
Don't require the full requirements.txt
If we do that we are likely to send users back to the python2 support branch when new dependencies arise.
2020-07-18 00:12:18 +02:00
arrmo
c1418c12af Correct link for Rule, Location (Alerts, and several other pages) (#11937)
- wherever generate_url is used
- does not address hostname (device), separate PR for that
2020-07-17 15:32:30 +02:00
Tony Murray
0e96589879 Fix bug when timeout exceeded (#11934)
Uncaught exception probably causing some of the "unpolled" reports.
2020-07-15 07:45:09 -05:00
Hans Erasmus
a5bb437216 Added basic EndRun support (#11932)
* Added basic EndRun support

* Fixed spaces as indicated by Travis

* Changes applied as per request and suggestions

Incorporated @murrant's suggestions.

* Update Endrun.php

* Update endrun.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-14 11:22:40 -05:00
TheGreatDoc
8235860ab8 QNAP NAS - Added state rules to collection (#11931) 2020-07-14 17:37:25 +02:00
TheGreatDoc
95c52308e5 Added RAID states for each volume. (#11930) 2020-07-14 17:33:24 +02:00
twelch24
5d2fe2e8c5 Black legend text in dark theme (#11933)
using the dark theme the legend text is the same color as background on the latency page. Change to black.
2020-07-14 17:31:09 +02:00
Jellyfrog
3759a03b0f Only flush if there is something to flush (#11927) 2020-07-13 16:24:31 +02:00
Tony Murray
514b3efd01 Pull in fixed string blade (#11925)
* Work around force string blade to register

* better app access

* Fixed upstream, pull in new hash
2020-07-10 14:18:54 -05:00
Jellyfrog
32f72bc1ab Fix SQL injections in ajax_table.php (#11920)
* Fix SQL injections via searchPhrase parameter

* Fix SQL injections via address parameter

* Fix sort injection

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-10 09:17:09 -05:00
Tony Murray
290398bd9b Fix missing doc OpenWRT (#11924) 2020-07-10 08:35:17 -05:00
Tony Murray
6e6fde94c3 Fix sql injection (#11923)
in custom oid code

Thanks to loginsoft p.v.t l.t.d india for the report!
Website: https://www.loginsoft.com/
2020-07-10 10:45:39 +02:00
Nick Peelman
8af976a951 Mult graphs bits spacing (#11907)
* Make Multiport-Bits-Separated graph Description field wider for larger and medium graphs

* Fix Aggregate Graph In/Out Alignment; make Consistent with Interface I/O Alignment

* Remove misplaced slashes

* Align headers...

* Fix Total units

* Fix code climate gripe
2020-07-10 10:45:01 +02:00
arrmo
8899ad6d5a Initial Release, wireless sensor support for Openwrt (#11768)
* Initial Release, wireless sensor support for Openwrt

* Extend Openwrt support, add more sensors

* Add documentation for Openwrt Wireless Sensor support

* Moved location of Openwrt.md

* Update openwrt.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-09 16:13:58 -05:00
Tony Murray
0c334f130d Fix users that set a non-array for cors (#11921)
* Fix users that set a non-array for cors
combine two Env util classes

* Used the wrong thing.
2020-07-09 15:03:12 -05:00
Jellyfrog
a3ae3805d1 Sanitize graph title input (#11919) 2020-07-09 12:48:36 -05:00
Andreas
98d6fc1ace Fix graphing with generic_v3_multiline_float (#11916)
#11853 introduced a bug which broke graphing (e.g. for the pi-hole app)
2020-07-09 08:29:56 -05:00
Adam Bishop
d075915a75 Dell included a typo in their sysDescr (#11917)
The latest firmware revision drops the 'T' from COMPELLENT. Maybe it'll come back at some point, but for now it's gone.
2020-07-09 08:27:47 -05:00
Jellyfrog
f526ba326b Laravel 7.x Shift (#11676)
* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Shift Laravel dependencies
Add laravel/ui dependency
Use our fork of string-blade-compiler

* Shift config files

Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

Restore config header comment

* Remove duplicate named routes

* add basic trust host middleware

* Trusted proxies should be default null

* Fix missed rename

* wip

* Rename routes

* Update trustedproxy.php

* Update Kernel.php

* revert trustedproxy.php

It only accepted '*' and not ['*']

* Fix tests

fake request was causing the error

Co-authored-by: Laravel Shift <shift@laravelshift.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-09 08:22:50 -05:00
Tony Murray
e5bb6d80bc Fix settings access (#11915)
normal users could access
2020-07-08 18:04:48 -05:00
javier
a30fcbde0a Support NetMan 204 (#11913)
* Update riello.yaml

Fix NetMan 204 snm cards not always identified as Power bug Generic devices

* Update riello.snmprec
2020-07-08 22:32:22 +02:00
KodApa85
a3cd90da05 newdevice: Added support for Fortinet FortiVoice devices (#11914)
* newdevice: added supprot for Fortinet FortiVoice

* Renamed fortivoice yaml file

* Added test date for FortiVoice OS

* Matching Fortinet to be like FortiSwitch

* Corrected test data...
2020-07-08 17:55:50 +02:00
craig-nokia
db7ac390b2 Added check for incorrect ifConnectorPresent truth values, if invalid… (#11634)
* Added check for incorrect ifConnectorPresent truth values, if invalid, save it as false

* Added space after comma line 629

* Update ports.inc.php

Updated per murrant and tested.

* Update ports.inc.php

* Update ports.inc.php

Changed to check if ifConnector is set and if the response is not true or false, set it to null.

* Update ports.inc.php

* Update ports.inc.php

Fixed the codeclimate space issue

* Update test data

* fix differing escapes

* fix ciena-sds eol

* Revert timos.json

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-07-08 08:44:45 -05:00
Tony Murray
560fd71ef6 CORS settings in webui (#11912)
* Change CORS implementation
allows for upstream integration of Laravel 7

* migrate config

* skip implementing patterns for now

* Expose settings to the webui

* Make db settings apply
2020-07-08 07:36:51 -05:00