Commit Graph

379 Commits

Author SHA1 Message Date
SourceDoctor f6e3397a80 Cleanup generate_sensor_link (#12154)
* Cleanup generate_sensor_link

* Cleanup generate_sensor_link

* remove fixifname on sensor function

* Update functions.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-10-04 20:45:41 -05:00
Anders Lowinger 56852380cc Additional fix for Cisco Crossbar overview missing (#12185)
* Additional fix for Cisco Crossbar overview missing

* Fix code style
2020-10-04 19:51:21 -05:00
SourceDoctor 9ade71d20c API Calls to list Device Outages, calculated Availability (#12103)
* API Calls to list Device Outages, calculated Availability

* switch to eloquent

* style correction
2020-09-24 00:21:08 +02:00
Jellyfrog bef67751a3 Add PHP CS Fixer (#12128)
* Add PHP CS Fixer

Based on https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Apply PHP CS
2020-09-21 19:52:01 -05:00
Jellyfrog 29f45ca352 Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
Jellyfrog 0d56bbd946 Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
Jellyfrog 2fc3a21211 Apply fixes from StyleCI (#12121) 2020-09-21 15:43:38 +02:00
Jellyfrog 82f43cb98d Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
SourceDoctor 65b294c7cb Fix to show Routing Count in Pagemenu Selector (#12111) 2020-09-20 01:24:53 +02:00
Avinash Kumar 78fa539628 Icecast, Opensips and Voip monitor Application (#12070)
* Icecast added

* Opensips added

* Voip Monitor added

* Icecast documentation

Icecast corrections

* Opensips documentation added

Opensips corrections

* Voip monitor documentation added

Voip monitor corrections

* Icecast corrections

* Opensips corrections

* Voip monitor corrections

* test data added for icecast

* test data added for opensips
2020-09-18 16:49:20 +02:00
Tony Murray 941037e44e Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00
louis-oui d2d1e18925 Fix editing schedule maintenance (#12079) 2020-09-18 01:42:13 -05:00
pobradovic08 736169d4e1 WebUI: Fixed URL of detailed graphs for jitter SLA probe (#11984)
* Fix single SLA page

* Update slas.inc.php

blank lines at the start and end of control structure
2020-09-18 00:58:20 -05:00
Negatifff 072ede4ea3 Speedup vlans list in device VLANS tab (#11805)
* init

* spaces and commas fix
2020-09-18 00:43:31 -05:00
Cirno the Strongest 5e63c34d19 Fix billing showing estimated transfer based on total of 1 days if billing day is first (#10445) 2020-09-17 23:21:25 -05:00
Jellyfrog 0c0e64d909 Fix arp-search search (#12075) 2020-09-09 18:20:31 -05:00
Marcus van Dam 6b396d0be7 Handle unknown device_type's. (#12031)
* Handle unknown device_type's.

If a device is not one of the default configuration, add its type to the
list and make it selected. Add 'Other' only as a fallback.

Signed-off-by: Marcus van Dam <marcus@marcusvandam.nl>

* fix whitespace

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-08-26 13:03:11 -05:00
SourceDoctor a4d1f5e1c8 Show Device Outages as Log List (#12011) 2020-08-18 20:02:56 +02:00
Negatifff 71d27de3c9 Convert LastSync date for oxidized config info (#11779)
* Convert LastSync date for oxidized config info. Add format in settings.

* commas and spaces fix

* commas and spaces fix2

* fixed time if oxidized returned null

* commas and spaces fix

* datetime format fix

* UTC is already in the string

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-08-18 11:18:54 -05:00
SourceDoctor 06889c4a0f Set RRD minimum to 0 to see the real change relation (#11986) 2020-08-01 06:22:08 +02:00
Tony Murray 3ebed45d81 Fix netflow links (#11971) 2020-07-29 07:53:26 -05: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
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
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
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
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
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 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
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
Tony Murray a82018698e Restore device alert tab 2020-07-05 20:05:30 +01:00
louis-oui ad6348af42 Add alert rule error on invert map selected but no selection in device, group or location list (#11894)
* error on invert map selected but no selection

* error on invert map selected but no selection

* error on invert map selected but no selection
2020-07-03 11:54:12 +02:00
Tony Murray a312436bca Edit maintenance schedule, handle timezone properly (#11889)
Was not properly formatting to user's timezone
Also handle the case where the browser and server timezone don't match
don't show incorrect values in dialog then pop to the correct ones.
Update title on modal to be appropriate
2020-07-02 17:46:16 -05:00
Tony Murray 98502325db fix devices missing from graph view (#11886)
devices without a location were not showing
2020-07-01 17:47:23 +02:00
Tony Murray a5fbf853c9 validation fixes 2020-06-27 07:47:08 -05:00
Tony Murray 5f0388f0e3 Remove DB credentials from config.php
Better validation when config.php does not exist

Update docs and quote password

only populate legacy vars in config_to_json
drop .travis.yml config copy
remove credentials from config.php.default

Check for existance of .env instead of config.php in python scripts

legacy credential cleanup

tiny cleanups

consistent env for artisan server and artisan dusk
2020-06-27 07:47:08 -05:00
Tony Murray ad2da9fcdb Install to Laravel WIP 2020-06-27 07:47:07 -05:00
Tony Murray 92153e1307 Merge pull request #11863 from murrant/fix-recurring-days
Fix recurring maintenance days
2020-06-26 07:57:20 -05:00
Tony Murray 04251cdc94 Fix recurring maintenance days 2020-06-25 22:12:21 -05:00
SourceDoctor ed70b2636a RRD Float Precision Customization (#11853) 2020-06-25 21:51:55 +02:00
SourceDoctor ea58060b16 Hotfix CustomOID visibility (#11861) 2020-06-25 20:53:21 +02:00
SourceDoctor 08b849d999 round for tab availability showing 2020-06-23 20:00:40 +02:00
SourceDoctor 4e6a7291a2 Device Availability Calculation (#11784)
* Device Availability Calculation

* Travis fix

* .

* schema corrections

* flexible duration

* travis

* .

* .

* .

* .

* remove not needed code

* line Text to RRD

* update humantime

* .

* only set up again if device was marked as down

* set RRD area transparency

* save uptime also, to keep last availability as good as possible

* file description correction

* look for outages even if uptime > duration
2020-06-22 22:57:30 +02:00
Tony Murray fa024e3e4e Merge pull request #11839 from murrant/fix-c6kxbar-overview
Fix Cisco Crossbar overview missing
2020-06-21 21:19:31 -05:00
Tony Murray 9372074b6d Merge pull request #11728 from yac01/master
Feature: F5 LTM bandwidth controller
2020-06-19 13:39:36 -05:00