Commit Graph

15520 Commits

Author SHA1 Message Date
Tony Murray
46ca1fd45e
Revert "Attempt to make proxy sub-dir -> app no subdir work" (#9341)
* Revert "Attempt to make proxy sub-dir -> app no subdir work (#9317)"

This reverts commit df850a3ed9.
2018-10-18 09:15:48 -05:00
sparknsh
06df834981 Application doc updates (#9288)
Simple doc updates for agent changes.
These changes are to start the clean up of snmp extensions. 

- https://github.com/librenms/librenms-agent/pull/196
- https://github.com/librenms/librenms-agent/pull/197
- https://github.com/librenms/librenms-agent/pull/198
- https://github.com/librenms/librenms-agent/pull/199
2018-10-17 17:25:38 +01:00
Mikael Sipilainen
7d5035da25 Updated Os netagent2 3phase support (#9175)
* netagent2 - 3Phase UPS support

* Revert "netagent2 - 3Phase UPS support"

This reverts commit 7900bc5bc0.

* OS netagent feature update - 3 phase support

* OS netagent2 update - 3phase support code cleanup

* OS netagent2 update - 3phase support code cleanup 2

* Netagent2 - Add status unknown to smoke and water states.

* NetAgent2 - changed detection method like murrant suggested.

* netagent2 - XPPC-MIB - 3 phase states support

* Added json test data
2018-10-17 17:22:01 +01:00
Andy Rosen
4e5a0fa4d7 Added Twilio SMS as an Alerting Transport (#9305)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-17 17:19:28 +01:00
JohnSPeach
001d7d7643 Added F5 APM current sessions graphing (#9334)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.

While this creates the graphs under Apm for the F5s, there is no data. I can pull the data manually. Maybe I have the definition incorrect in includes/polling/os/f5.inc.php?

snmpget -m /opt/librenms/mibs/f5/F5-BIGIP-APM-MIB -v 3 -u <user> -l authPriv -a SHA -A  <password> -x AES -X <password> <server>  apmAccessStatCurrentActiveSessions.0
F5-BIGIP-APM-MIB::apmAccessStatCurrentActiveSessions.0 = Wrong Type (should be Counter64): Gauge32: 1245

or maybe it's because the OID has the incorrect type in it, although the result is actually correct.
2018-10-17 17:16:52 +01:00
brianatlarge
d8981f0f44 Added geocode engine configuration information (#9330)
* Added geocode engine config

* Update World-Map.md

* Update World-Map.md
2018-10-17 17:13:04 +01:00
PipoCanaja
417e518ae2 Oxidized list now checks device permission based on user (#9331)
* webui: display only devices that the user is allowed to view in oxidized node list, and explain why some devices known in oxidized are not displayed because unknown in LibreNMS

* webui: display only devices that the user is allowed to view in oxidized node list, and explain why some devices known in oxidized are not displayed because unknown in LibreNMS (CodeClimate)
2018-10-17 17:12:24 +01:00
tomarch
8005619e62 Remove apc-ats os and merge sensors into apc (#9262)
* remove_apc-ats

* add test data

* delete apc-ats.snmprec

* add apc_ats variant test file

* fix os in json

* Updated json test files

* Updated json test data
2018-10-17 17:11:02 +01:00
Tony Murray
df850a3ed9 Attempt to make proxy sub-dir -> app no subdir work (#9317)
Set APP_URL and APP_URL_SUFFIX in .env
2018-10-17 17:07:26 +01:00
Vitali Kari
fcadd3ca65 Added support for LLDP on ALCATEL/NOKIA SR OS (#9298)
* add support for LLDP on ALCATEL/NOKIA SR OS

* add dest data for discovery-protocols
2018-10-17 17:06:46 +01:00
takenalias
f8f1540f38 Updated cyberpower support with extra sensors (#9278)
* Update to add support for environment sensor

Adding support for RM203 card environment sensor, temp and humidity.

* Update cyberpower.yaml

* Add files via upload

* Added json test data
2018-10-17 17:05:16 +01:00
PipoCanaja
2125c8640b Updated MGE UPS sensors and added traps (#9301)
* MGE: Improve support for Galaxy devices

* MGE: Improve support for Galaxy devices

* MGE: Improve support for Galaxy devices

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* eaton-mge: test data on a Galaxy 7000

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* rfc1628 adaptations for Eaton MGE Galaxy 7000

* eaton-mgeups: test data on a Galaxy 7000

* Add upsmgUtilityFailure and upsmgUtilityRestored trap support for eaton-mgeups

* dev: eaton-mgeups: OID in the dynamic definition for discovery

* dev: eaton-mgeups: cleaning

* add contributor

* add contributor
2018-10-17 17:03:51 +01:00
ACL
e9120085c9 Updated DataDomain MIB and added Storage support (#9270)
* Updated DataDomain MIB, Added DataDomain Storage poller and discovery

* Fixed issues pre-commit issues

* Removed extra blank lines

* Make polling less redudant

* Remove blank line

* Remove device os detection since it's not needed. Add test data for DataDomain

* Added json test file
2018-10-17 17:02:06 +01:00
PipoCanaja
33ba53ad6e Improve processors and mempools support for VRP (#9300)
* VRP: Improve mempools and processors stats for CE family

* VRP: upgrade testdata with uptodate data

* Codeclimate corrects
2018-10-17 17:00:30 +01:00
Tony Murray
10432b1764 Escape services commands properly. (#9269)
* Attempt to escape services commands properly.

* Add LC_NUMERIC="C" back

* Updated create-service to only faily if a dbUpdate fails
2018-10-17 16:46:07 +01:00
Neil Lathwood
f049593c7b
Added changelog for 1.44 (#9333)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-17 11:33:28 +01:00
TheGreatDoc
4a23f8dddd Fixed search & device eventlog (#9329)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.

In #9252 search box and inside device eventlog where broken.

Noticed in https://community.librenms.org/t/bug-set-filter-in-device-eventlog-shows-filtered-events-from-all-devices/5633

I hope my fix does the job :)
2018-10-17 08:44:04 +01:00
Neil Lathwood
3fc9e334b8 Use correct ID for incident resolution (#9321)
* Use correct ID for incident resolution

* Update Pagerduty.php
2018-10-16 16:38:35 -05:00
Søren Rosiak
0db8d0ca70 Fix reference (#9328) 2018-10-16 08:00:50 +01:00
Neil Lathwood
3aeab9ed7d Fixed daily.sh overwriting custom alert sql (#9326) 2018-10-15 16:03:56 -05:00
tarik
4fa192681f Disable network related poller/discovery modules for sentry3/4 (#9243)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-13 23:05:33 +01:00
Tony Murray
192e7dca59 Redirect for demo (#9302)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-13 22:42:42 +01:00
TheGreatDoc
1dfa7975c9 Added support for Glass Way EYDFA WDM Optical Amplifier (#9125)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`

NOTE: Those devices come all with same `sysName` so `$config['allow_duplicate_sysName'] = true;` is needed to have more than 1 working.
2018-10-12 22:37:08 +01:00
Roger
36e2467434 Fix bug of alerting by ping.php (#9311)
* Fix bug of alert by ping.php.

Fix bug of alert by ping.php.
Please refer to the Help ticket for more information:
https://community.librenms.org/t/please-help-with-for-fast-ping-checks-problems/5586
2018-10-12 07:26:16 -05:00
Tony Murray
44747fda25 Bind user before fetching (#9312)
* Bind user before fetching

* fix style
2018-10-11 21:29:57 +02:00
Tony Murray
7c45cd5f69 Check and report the correct directories (#9310)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-09 12:21:34 +01:00
Tony Murray
df90881be1 Don't force root url (#9308)
Does more harm than good.  Need to find a more robust solution for proxy + subdirectory -> non-subdirectory.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-08 21:28:20 +01:00
PipoCanaja
138ccf87d1 Bug: typo in the sensor_id key for sensors table (#9306) 2018-10-08 13:57:12 -05:00
cchance27
dd39a1ab03 Allow zoom to be decimal and switch zoomSnap to 0.1 for World map (#9259)
Allow 1 decimal place for initial zoom and lower zoom snap interval to improve initial zoom in widgets.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-06 23:08:11 +01:00
Tony Murray
7c09f698a4 Don't call to legacy auth to get dashboards. (#9297)
Can cause a lot of ldap calls for example.
Should improve dashboard page load time on certain auth methods.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-06 22:56:22 +01:00
Neil Lathwood
d1772ea1f2
Check if array exists for new alert rules and create if not (#9303)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.

Fixes: https://community.librenms.org/t/i-can-t-add-alert-rules-from-the-collection-webgui/5737
2018-10-06 22:15:07 +01:00
Tony Murray
913925ccff Fix file mode broke in #9218 (#9299)
Fix file mode broke in #9218

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-05 15:45:56 +01:00
TheGreatDoc
68484d3050 Added sitemap.xml to robots.txt (#9256) 2018-10-03 22:22:53 +01:00
CrazyMax
769f51fb7c Add docs about third-party docker builds created by the community (#9274) 2018-10-03 21:48:31 +01:00
Tony Murray
71e5aac527 Fixed devices state filter when state = 0 (#9277)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-03 21:45:42 +01:00
CFUJoshWeepie
a30ce263be Update Applications.md to include PowerDNS recursor snmp extend option (#9280)
The table of contents did not list that SNMP extend was an option for PowerDNS Recursor.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [ ] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-03 21:44:56 +01:00
Tony Murray
1f4be31120 Release script updates to perform tag on github (#9283)
Full GH release creation.  Not much error handling.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-03 21:44:03 +01:00
Tony Murray
01ddbf6ec9 Remove accidental changelog lines (#9284)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-03 21:40:55 +01:00
Tony Murray
379df6088f Added .env for subdirectory doc (#9285)
DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-10-03 21:39:36 +01:00
Tony Murray
54de88415b Changelog for 1.44 2018-10-02 12:48:05 -05:00
Tony Murray
421bcb030d
Force root url if set by user (#9266)
* Force root url if set by user
If user sets APP_URL, force the root url to that.  Empty strings result in default behavior.
Fix some of the urls in the laravel templates.

* Docs update

* Add base_url
2018-10-02 07:56:13 -05:00
Tony Murray
9a17307f3f
Allow login with GET variables (#9268) 2018-10-01 20:05:30 -05:00
Tony Murray
ac677a99ee
Fix eventlog when the device has been deleted. (#9276) 2018-10-01 20:03:06 -05:00
jozefrebjak
c9bbaf5a9f Added support for PBI Digital Decoder (#9223)
* added PBI MIB

I finally found a MIB for PBI device

* added PBI-MAIN-MIB

* added another PBI MIB

* added PBI MGSYSTEM-MIB

* added ird.yaml to definition

* added senors discovery for PBI devices

* added ird.inc.php for polling

* added logo for PBI

* added ird.json

* Rename PB-MAIN-MIB to PBI-MAIN-MIB

* Update ird.json

* Update PBI-4000P-5000P-MIB

* Update PBI-MAIN-MIB

* Update PBI-MGSIGNALCHARACTERISTICS-MIB

* Update PBI-MGSYSTEM-MIB

* Create ird.snmprec

* Updated json test file

* deleted frequency from yaml

I think that better will be see values from frequency in wirelles frequency, where it is in MHz

* Create Ird.php

* Update Ird.php

* Update Ird.php

* Update ird.json

* Update Ird.php
2018-09-30 21:28:33 -05:00
jozefrebjak
56481c6681 Added support for Teleste Luminato (#9061)
* Create teleste.yaml

* Create teleste.inc.php

* Create teleste.snmprec

* Add files via upload

* Add files via upload

* Update teleste.inc.php

* Delete teleste.svg

* Add files via upload

* Update teleste.yaml

* Update teleste.inc.php

* Delete HOST-RESOURCES-TYPES.mib

* Changed os to luminato

* Update and rename teleste.inc.php to luminato.inc.php

* Delete HOST-RESOURCES-MIB.mib

* Delete RFC1155-SMI.mib

* Delete RFC1213-MIB.mib

* Delete SCTE-HMS-HE-COMMON-MIB.mib

* Delete SCTE-HMS-HEADENDIDENT-MIB.mib

* Delete SCTE-HMS-PROPERTY-MIB.mib

* Delete SCTE-HMS-ROOTS.mib

* Delete SCTE-ROOT.mib

* Delete UCD-SNMP-MIB.mib

* Delete TELESTE-COMMON-MIB.mib

* Delete TELESTE-LUMINATO-MIB.mib

* Delete TELESTE-LUMINATO-MIB2.mib

* Delete TELESTE-ROOT-MIB.mib

* Create teleste.md

* Delete teleste.md

* Create telestefilename.md

* Delete telestefilename.md

* added TELESTE-COMMON-MIB

* edited os polling

* Update luminato.inc.php

* Update luminato.inc.php

* Create TELESTE-LUMINATO-MIB

* added discovery sensors for luminato

* Update luminato.inc.php

* Updated and added test files

* added TELESTE-ROOT_MIB

* Create TELESTE-LUMINATO-MIB2

* Added missing json test file

* Fixed TELESTE-ROOT-MIB

* Updated test data
2018-09-30 21:28:08 -05:00
Tony Murray
14a168b2a9
Keeps the dashboard sessions from expiring. (#9263)
* Keeps the dashboard sessions from expiring.
Route dashboard ajax calls through Laravel.
Boots minimal cookies and sessions.
Does not fix other pages for now, real fix is to fully port.

* Check Laravel auth for the legacy calls.
Display Laravel errors in the dashboard.
legacy auth checks are mostly extraneous now.
2018-09-30 21:23:00 -05:00
Atroskelis
c36a9e9abf Missing {{ }} around $value in some examples (#9272)
Storage alert and another was missing {{ and }} around the $value giving an error in test-template.php.
2018-09-30 21:08:51 -05:00
Tony Murray
6242f941f6 Update Eventlog WebUI/backend to use ajax (#9252)
* WIP Eventlog table

* Initial Eventlog rework

* fromdevice is not a request parameter

* updates

* remove unneeded field

* Cleanups
2018-09-24 08:07:00 +01:00
Tony Murray
602d8f531c List files for new permission check. (#9255) 2018-09-24 07:53:34 +01:00
Allison
63aec0c4a7 Improved ASUSWRT-Merlin (#9253)
higher resolution icon for ASUSWRT-Merlin
2018-09-22 13:53:47 +01:00