Commit Graph

339 Commits

Author SHA1 Message Date
arrmo
752b3e7db3 Updated documentation and Discovery, to match recent findings (#11999)
from review of Asuswrt-Merlin PR.
2020-08-06 13:45:33 +02:00
arrmo
54e5dc3df7 Wireless support for Asuswrt-Merlin (the same as Openwrt) (#11964) 2020-08-05 21:24:55 +02: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
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
d38ce9dbf3 Update FAQ.md 2020-06-30 18:28:11 -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
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
SourceDoctor
63c74bf3e0 Bare Dashoboard Option (#11818)
* Bare Dashoboard Option

* .

* set highlight
2020-06-13 11:56:03 +02:00
Rostislav Kandilarov
d95adf4b98 Added SNMP v3 configuration example for Mikrotik/ROS (#11802)
The setup is tested and is working properly - hope it could save someone else time.
2020-06-11 09:07:37 +02:00
SourceDoctor
73e2649712 Hardware examples SourceDoctor (#11680) 2020-05-25 02:10:16 +02:00
lazyb0nes
e87f590232 Update Example-Hardware-Setup.md (#11611)
* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md
2020-05-14 21:07:33 -05:00
Hans Erasmus
91574c9899 Add php-opcache settings to Performance Tuning (#11452)
* Add php-opcache settings to Performance Tuning

* Updated according to comment made by @murrant

* Changed the content based on discussions in Discord.

* Fixed space.

* Incorporated all changes as per ongoing discussions

* My recommendations.

* My reply to recommendations.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-23 22:42:57 -05:00
Hans Erasmus
a82f0660f0 Updated selected-port-polling explanation (#11435) 2020-04-19 00:30:42 -05:00
PipoCanaja
dd46e15e09 Update FAQ.md (#11423)
Replace issues by community forum in FAQ20
2020-04-15 18:06:21 +02:00
Jellyfrog
daf451cef7 Convert overview page to laravel (#10757)
* Convert overview page to laravel

* Convert more pages

* More fixes
2020-03-31 23:03:02 -05:00
Dag Bakke
cc60d4f16b Update SNMP config example for Eaton MGE UPSe(#11334)
Added SNMP config info for Eaton MGE UPSes.
2020-03-23 18:41:26 +01:00
Dag Bakke
7e7320139a Update Performance.md (#11298)
Added link to the Dispatcher Service
2020-03-22 12:11:02 +01:00
SourceDoctor
4e349efd11 Rewrite Poller Management to Blade/Eloquent (#11277)
* Rewrite Poller Management to Blade/Eloquent

* remove further no more needed file

* Code Climate

* Code Climate

* hardcode tabs

* change URL style

* change prefix from poller-groups to poller

* .

* parameter fix

* Refactor to use more direct routing.
remove switch statement.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-03-13 20:58:37 +01:00
Fredrik Holmberg
6a97862211 Update SSL-Configuration.md (#11223)
Isn't this a typo?
2020-03-06 21:33:59 +01:00
pepperoni-pi
c25551ac98 IOSXE ignore macSecControlledIF and macSecUncontrolledIF ifTypes (#11214)
* Added bad_iftype to iosxe.yaml definition

* Update Configuration.md

Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.

* Added OS Specific example for ignoring interfaces and updated file location.

* Updated bad_if selection documentation
2020-02-27 14:50:36 -06:00
SourceDoctor
6fe840dc8d Added steps to split DB off to its own server (#11130)
I struggled to get this working, so thought I would add my steps to the FAQ to help future users. Thanks to @murrant for the step about the .env file, that was the last piece of the puzzle.

Co-authored-by: Hans Erasmus <erasmushans27@gmail.com>
2020-02-11 15:49:16 +01:00
SourceDoctor
7950893cd1 Alternate Poller IP instead of Hostname (#10981)
* optional alternative poller ip

* add missing schema update

* .

* enhance API Call 'add_device' with overwrite_ip key

* .

* .

* updating docs
2020-01-30 06:20:30 -06:00
louis-oui
063145ebf8 Clarify doc and webui for ignore tag on devices, ports, components and services (#11016) 2020-01-09 16:55:09 -06:00
louis-oui
c03c281b6c Clarify disable, ignore and disable all alerts in device edit section (#11011)
* Clarify disable, ignore tag and disable all alerts in device edit section

* remove alert settings section

* fix device attribs

* update doc

* update doc

* fix checks
2020-01-09 06:07:29 -06:00
dlehman83
a3783c3c95 fix spelling (#10987) 2020-01-01 21:43:56 +01:00
CharlesMAtkinson
03d91e54c1 Clarify Configuration.md (#10960)
* Clarify Configuration.md
Add a note saying that `community` is is used for auto discovery.
2019-12-18 11:44:33 +01:00
CharlesMAtkinson
e047a9ad56 SNMP-Configuration-Examples.md: RouterOS 6.x (#10961)
Add notes
2019-12-18 11:40:24 +01:00
PipoCanaja
bf181b9dc2 Added support for routing table collection in discovery (#10182)
* Clean broken VRF lite code
* Change DB table for route discovery
* Add VRF simple support
* add port_id to db and discovery
* static-fy the translation arrays
* sort and search cleaning
* Sorting refactor and validation
* formatItem shortened
* Handle ifIndex==0 meaning no next hop defined (MPLS)
* Sync all create/updates
* purge in daily
* remove old route table
* get rid of inetCidrRouteNextHop_device_id
* fix wonky column orders
* add route snmprec
* fix sorting by interface
* Move to new config
* rename to route the new table
* Properly display ipv6 compressed addresses
* Translation before merge ./lnms translation:generate
* Update manifest
2019-11-17 16:30:43 +01:00
Wouter Groenewold
335e69c473 Update manual to right path (#10727) 2019-10-21 11:01:12 +02:00
Jellyfrog
c76e95d343 Markdown linting of docs (#10595)
* Remove trailing spaces

* Markdown linting of docs
2019-10-21 00:47:40 +00:00
Anael Mobilia
4cf584b425 Improve migration informations (#10673)
* Improve migration informations

* Generalization for modified files
2019-10-11 05:56:43 -05:00
Brian Peters
ae84049108 Update SNMP-Configuration-Examples.md (#10662)
Minor notes.
Firewalld settings for RHEL 7
2019-10-09 00:32:02 +00:00
Lucas Dousse
d0f8491a00 Added SNMP example for EdgeOs Ubiquiti (#10639)
* Add example for EdgeOs Ubiquiti
* typo
2019-09-30 08:03:44 +02:00
Hans Erasmus
759121e90d Added linear prediction how-to (#10581)
As per twitter request.
2019-09-05 12:18:39 +00:00
Hans Erasmus
a9658e1af9 Update FAQ to clarify adding new device support or requesting new device support (#10513)
* Update FAQ.md

* Update FAQ.md

* Update FAQ.md
2019-08-22 22:26:32 +01:00
PipoCanaja
9dfae2ff14 Allow filtering of Health sensor discovery (#10485)
* Filter sensor types or by regexp

* codeclimate

* codeclimate
2019-08-07 20:01:58 -05:00
voipmeister
3fdfdbab84 Typo fix, minor textual changes in support docs (#10499) 2019-08-07 11:11:36 +02:00
Tony Murray
89fae9be1d Move API routing to Laravel (#10457)
* Add more api helper functions
to centralize code more

* Enable cors

* Initial Legacy route in Laravel

* Force api v0 responses to json
Add a couple more routes

* more paths, pretty print the json response
pass parameters to the api function

* devices basic functions

* Port generic graph function
check permissions function accepts callback to avoid lots of if statements

* move vlans

* links

* graphs

* fdb

* health

* wireless

* port graphs

* ip functions
split em up

* port_stack

* components

* compoment add/edit/delete

* get_device_groups

* port stats

* port graphs

* get_devices_by_group

* port_groups

* api_get_graph

* show_endpoints

* get_bill

* get_bill_graph

* get_bill_graphdata

* get_bill_history

* get_bill_history_graph

* remaining bill functions

* list_alerts

* ack/unmute alert

* Some cleanups

* Some cleanups

* list_alert_rules

* alert rule add/edit/delete

* inventory

* list_cbgp

* vrf

* list_ipsec

* list_fdb

* list_links (fix both usages)

* list_locations

* list_locations

* list_vlans

* list_ip_addresses

* list_arp

* list_ip_networks

* cleanup

* services

* list_logs and fix authlog.......

* cleanup

* cleanup 2

* remove slim

* don't load schema more than once

* basic test

* fix style

* downgrade laravel-cors to a version that supports PHP 7.1
2019-07-29 16:32:37 -05:00
VVelox
06b85f5b07 docs: more md linting (#10371)
* clean 1-Minute-Polling.md formatting

* cleanup formatting for Adding-a-Device.md

* clean up formatting of Cleanup-options.md

* cleanup formatting some for CLI-Tools.md

* cleanup formatting for Syslog.md and Configuration.md

* cleanup formatting for Device-Sensors.md

* cleanup formatting for Device-Troubleshooting.md

* cleanup Discovery Support.md

* cleanup Environment-Variables.md

* cleanup Example-Hardware-Setup.md and FAQ.mg

* update Features.md, Install Validation.md, Perfermance.md, Poller Support.md, and index.md

* cleanup Remote-Monitoring-VPN.md, SNMP-Configuration-Examples.md, and SSL-Configuration.md

* lots of updates for Installation docs

* more installation doc cleanup

* more formatting cleanup

* clean Work-Map.md up some
2019-07-18 21:25:53 -05:00
pobradovic08
2d246097d4 Documentation: Fix broken links and anchors (#10194)
* documentation: Fix broken Templates.md link

* Update AUTHORS.md

* docs: Fix broken anchor in Fast-Ping-Check.md

* docs: Changed Alerting link in Configuration.md
2019-05-06 21:50:45 -05:00
Tony Murray
6e6e54cb98 New User Management (#9348)
* Rewrite user management.

Error management

Revert edituser legacy page

Connect user permissions button to legacy page for now.

Implement user creation
Refine form

Remove PingCheck.php accidental add :)

Fixes for redirection and deletion

More fixes: realname accidental validation setting, hide can modify for read-only auths

Use a panel to improve style

Add icon to panel-title

Not allowed to delete own user (at least via the click of a button)

Use request validation to reduce complexity of controller.
Improve protection against users doing things they should not.

Switch to horizontal form and not nearly as wide of layout :)

delete without refresh.
Fix for buttons

Include all users (not just from this auth)
Hide the auth column if there is only one auth type

Show username if real name isn't set

Don't allow creation of demo users via the webui

a fix to the lnms user:add command, it didn't set auth_id

update edituser.inc.php to current
just redirect to users page

* Remove TwoFactorTest for now

* Update edituser.inc.php

* Update .env.dusk.testing

* Enable 2fa for 2fa test...
2019-04-22 19:01:39 -05:00
TheGreatDoc
f63d7a8bfe Update Example-Hardware-Setup.md (#10115)
* Update Example-Hardware-Setup.md

* Restore DB type
2019-04-17 22:51:49 +02:00
KodApa85
bb883501a9 fix: corrected markup (#10117)
Hadn't noticed the formatting was a little broken...
Looks a lot better now
2019-04-16 22:38:00 +02:00
dmeiser
4e36805eaa Updated SNMP-Configuration-Examples (#10063)
Update snmpd instructions for Linux to reflect the ability to use @reboot declaration in the crontab. This is probably preferable to rc.local, which is apparently not supported or possible deprecated in Ubuntu or CentOS7.
2019-04-03 13:39:02 +02:00
TheGreatDoc
0cc5de695d Custom storage warning percentage (#9975)
* Custom storage warning percentage

* Fixed permissions

* Restored line removed by accident

* Fixed permissions v2

* Set correctly the config var

* style
2019-03-16 23:53:05 +01:00
Yann Gauteron
d15fda3693 Optional automatic sensor limits (#9973)
* Automatic sensor limits are now optional. Set ['discovery']['sensors']['autolimit'] = false to disable.
* Changing new config variable name from discovery.sensors.autolimit to sensors.guess_limits
* Updated documentation: ['sensors']['guess_limits'] value added
2019-03-16 11:51:09 +01:00
PipoCanaja
f1221b42dc Add new template syntax into the FAQ, pointing to the documentation (#9942) 2019-03-13 00:21:13 -05:00
Tony Murray
d13d370711 Update Web UI debug FAQ (#9816) 2019-03-04 23:51:22 +01:00
KodApa85
218b6b8e58 Update Example-Hardware-Setup.md (#9897)
Added our system specs, along with my development environments
2019-03-03 22:40:15 +01:00
SirMaple
c6c3a2b3a7 Update Example-Hardware-Setup.md
Added the specs of my setup.
2019-02-24 16:49:18 -07:00