Commit Graph

16260 Commits

Author SHA1 Message Date
Tony Murray
312d35dd95
SMS Eagle reduce chances of user mis-configuration (#10223)
* Merge pull request #54 from librenms-plugins/revert-52-PluginNamespaceCorrection

Revert "Adding namespace LibreNMS\Plugins;"
SMS Eagle prevent user mis-configuration
Only allow URLs, but automatically append http:// to ones that are only hostname

* restore whitespace
2019-05-14 08:29:34 -05:00
corsoblaster
b58527cc84 Replace Cyberoam with Sophos (icon and logo) (#10213)
* Replace Cyberoam with Sophos (icon and logo)

Cyberoam has been completely incorporated by Sophos since many years.
I'll try to replace everything related to Cyberoam, staring from logo and icon.

* Updated Sophos logo

Updated Sophos logo

* Added Sophos logo

Added Sophos logo
2019-05-14 08:11:15 -05:00
Martin
d68d8a81df Prevent fail2ban from filling eventlog on every poll (#10225)
Either the jails in the array or the respective indexes get rearranged on every poll. Adding only the values (jail names) without the indexes solves the issue. I tried also asort() which gives the same behavior.

Details: https://community.librenms.org/t/eventlog-filling-with-fail2ban-jail-component-logs-since-latest-stable-update/7902/10
2019-05-14 08:09:41 -05:00
PipoCanaja
f9527ba5d2 Update Installation-CentOS-7-Apache.md (#10191) 2019-05-13 23:18:04 -05:00
Tony Murray
20ad7ab435
Release script updates (#10217)
* Specific order for release section labels
Only display a PR in one section based on label priority
fix breaking change label
fix markdown for release header

* correctly ignore PRs marked as such

* no need to return a value
2019-05-13 23:17:03 -05:00
Tony Murray
720add7610
no need to return a value (#10224) 2019-05-13 23:16:35 -05:00
Heath Barnhart
b7053ad064 SNMP Trap Handlers for Ruckus Wireless (#10175)
* pushing handlers and AP event tests

* adding tests for SZ events

* Fixed state handler, added state handler tests

* Style checks and cleanup

* fixed a style issue in RuckusSzClusterInMaintenance.php

* removed SNMP Cold Start trap

* fixed snmptraps.php to remove unhandled traps
2019-05-13 17:53:56 -05:00
Tony Murray
8cc988a162
Fix plugins menu (#10222)
* Merge pull request #54 from librenms-plugins/revert-52-PluginNamespaceCorrection

Revert "Adding namespace LibreNMS\Plugins;"
Fix plugins menu

* Only use scrollable where needed
2019-05-13 14:53:29 -05:00
Tony Murray
e7f88b2e2d
Fix device types and locations order (#10220) 2019-05-13 14:26:52 -05:00
Chris Friesen
de656dfb3b Update MenuComposer.php (#10216)
order the device groups by name
2019-05-13 12:03:47 -05:00
Timothy Willey
0d656590ec NEW OS Aruba Instant (#9954)
* New OS: Aruba Instant

* New OS: Aruba Instant

* recreate test data

* remove aruba_instant test data

* remove empty file includes/definitions/discovery/aruba-instant.yaml

* fix state sensor discovery

* remove minor changes to includes/polling/functions.inc.phpwq

* move mac helper functions to Rewrite class

* simplify snmpwalk_group usage, general code cleanup

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* recreate test data for 105 variant

* Add Client sensors for 8.4.0.0+

* begin stream-lining discovery and polling. separating discovery functions

* update test data

* update test data

* update test data

* improve mempool discovery/polling, clean up os polling, improve state discovery, improve os definition, misc fixes to wireless sensors module

* attempt to implement custom AP and client discovery and polling

* code fixes

* re-add ap count top graph

* more fixes

* more fixes

* more fixes

* more fixes

* remove some debugging, update test data

* code cleanup

* code cleanup

* address some scrutinizer warnings
2019-05-13 10:06:12 -05:00
Tony Murray
32e5ef15e9
Fix device location menu links (#10214) 2019-05-13 09:45:54 -05:00
Tony Murray
882818d9f3
Fix location missing from API device list (#10215) 2019-05-13 09:45:19 -05:00
Tony Murray
c097747d77
API Fix error when no fdb are found (#10125)
* Fix error when no fdb are found

* actually, it was totally broken...
fix untested

* missing device update

* cleanup

* Update api_functions.inc.php
2019-05-13 08:35:24 -05:00
Heath Barnhart
2187967854 Modified BGP4 handler to write to db (#10180) 2019-05-12 23:44:14 -05:00
SourceDoctor
96f7f142ba add mdadm support (#10159)
* add mdadm support

* Update mdadm.inc.php
2019-05-12 23:42:03 -05:00
CirnoT
ef90da2a31 Better services graphing support (#10185)
* Move services graph code from device to service and remove unused code

* Add proper support for services to dashboard graph weidget

* Fix phpdoc in ServiceController still pointing to MuninPluginController
2019-05-12 23:40:27 -05:00
Dragan Savic
4313cbfd31 Improved OSPF device display (#10206)
- Fixed ospf port listing, as current query only returned ospf ports for last AreaID in area foreach loop.
- Added Area ID column to Ports table.
- Removed whitespaces.
2019-05-11 23:33:55 +02:00
sparkkraps
652a9f5486 Update legacy_api_v0.php (#10209) 2019-05-11 23:10:04 +02:00
Tony Murray
a9bd0f98ad
Fix missing container in legacy page blade (#10208) 2019-05-10 13:45:57 -05:00
Tony Murray
9ede688d13
Replace legacy menu with new Blade generated one (#10173)
* Remove legacy index php file

* fix routing page missing data

* WIP

* fix $navbar global usage

* remove global use of $locations

* ObjectCache again...

* move vars.inc.php to init.php for legacy ajax

* navbar is more local than I thought before.  Fix it.

* Fix some sensors tables escaping

* restore custom menu functionality, but with blade
and docs

* cleanup

* tidy menu @if checks

* Fix up the rest of the global variables and remove print-menubar.php

* consolidate some counting in the menu

* filter out empty custom port descr types

* Fix up custom port groups

* Fix up apps menu

* Fix services menu when all are ok

* Limit cached data to the user it is for

* Fix style

* A few clean ups

* fix pseudowire bug
2019-05-10 11:02:39 -05:00
Marvin Kuurstra
966ce85c19 Fortigate sessions sensors (#10183)
* Adding sensor for sessions

* Adding test data

* Fix index mistake and update test data (#12)

* Update test data for existing fortigate
2019-05-09 23:58:03 -05:00
Tony Murray
36ac5d6480
Remove console-ui (#10190) 2019-05-09 21:45:45 -05:00
CirnoT
f63c7e3508 Update bridge STP trap handlers to log events under stp type (#10192) 2019-05-09 21:45:21 -05:00
Tony Murray
143cf4cdee
Move container to page in blade tempates (#10195)
That way the page can decide container-fluid or container
Remove some unused blade templates as we have our own now
2019-05-09 21:44:18 -05:00
Slashdoom
517a32c67b Fix: netstats-udp, tcp and ip rrd's not updating (#10197)
* netstats fixes

* code climate

* Update netstats-ip.inc.php

* fixes

* code climate

* GH feedback changes

* codeclimate
2019-05-09 21:37:30 -05:00
CirnoT
f036b1df3d Added support for PoE state sensor on Mikrotik devices (#10201) 2019-05-09 23:14:42 +02:00
CirnoT
4e43594df0 Fix state sensors on device health page showing always as OK (green) (#10200) 2019-05-09 06:41:12 -05:00
CirnoT
b4f03808db Ignore empty IPv4 addresses in discovery on buggy devices (#10198)
* Ignore empty IPv4 addresses in discovery on buggy devices

* Styling fixes for codeclimate

* Use try/catch block instead
2019-05-09 06:39:57 -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
David Nelson
223d3070d5 Fix MySQL error were prepared statement contains too many placeholders (#10153)
* Fixes a MySQL error were the prepared statement contains too many placeholders. Modifies dbBulkInsert to run array_chunk on incoming data and inserts those smaller chunks.

* Trying to address some automatic checks about blank lines.

* Trying to make Code Climate happy with reduced cognitive complexity.

* Trying to make Code Climate happy with reduced cognitive complexity.
2019-05-06 21:42:25 -05:00
Tony Murray
a46fc9d329 Fix alerting redirect (#10193) 2019-05-06 17:19:40 +02:00
Tony Murray
178717eb57 Fixed debug message (#10189)
check was inverted
2019-05-05 12:22:28 +02:00
Tyler Christiansen
89197581d2 Cast alert ID to string for PagerDuty API (#10186) 2019-05-04 00:05:47 +02:00
CirnoT
eb8600e1fd Added additional generic SNMP trap handlers (#10177)
* Add more generic SNMP trap handlers

* Sort snmptraps config alphabetically
2019-05-02 21:50:18 +01:00
Tony Murray
3e7970b814 Fixed Avtech discovery (#10163)
* Fix Avtech discovery
pre-cache stored the data incorrectly

* Fix RA-4E external sensors
sen1 had incorrect oids (duplicate of sen2)
Description oid from data doesn't match the mib, perhaps outdated MIB?

* add test data

* Updated 4E MIB
2019-05-02 21:37:00 +01:00
CirnoT
308145d2da Fixed Raspberry Pi sensors discovery (#10176)
* Fixed Raspberry Pi frequency, voltage and state sensors discovery
* Added tests
2019-05-02 08:10:20 +02:00
Tony Murray
d7bcd92612 Realtime graph handle snmp server caching (#10113)
* Realtime graph handle server caching
Handle server caching more gracefully than setting the throughput to 0 Mbps

* smoother estimated interval

* don't change the graphing timescale
2019-05-01 23:02:14 +01:00
h-barnhart
554e22d927 Juniper SNMP Trap Handlers (#10136)
* initial commit of junos handlers

* added DOM alarm test, refactored handlers for DOM alarms

* fixed some formating issues with last commit

* Created DOM alarm handlers and unit tests

* Made tests for LSP Down handler

* Added trap tests for JnxVpnSes*, JnxVpnIf*, JnxVpnPw*

* Added BGP4 trap handlers and tests

* Fixed some variable names for codeclimate

* Simplified JnxBGPM2* handlers

* updated unit tests
2019-05-01 11:12:51 -05:00
Anthony Ruhier
6e76f1d8e7 Specify graph format from GET param (#10118)
Allows to specify a graph format (svg or png) for the GET parameter
"graph_type"
2019-05-01 09:52:07 +01:00
CirnoT
9d5e780c59 Added support for APC PDU outlet state sensors (#10166)
* Add support for APC PDU outlet state sensors

* Update tests
2019-05-01 09:09:36 +01:00
CirnoT
97005c0b57 Fixed state sensors on global Health table always displayed as 'OK' (#10171) 2019-04-30 22:49:53 +02:00
h-barnhart
36134fd30f Adva port label uses ifname (#10165) 2019-04-30 19:05:54 +02:00
CirnoT
e4f0976df3 Update Travis Status icon (#10168) 2019-04-30 09:18:36 -05:00
Tony Murray
f2b6aaeb11
Fix transition os (#10169) 2019-04-30 09:18:18 -05:00
CirnoT
9950ae3f47 Add failed user login trap for Netgear switches (#10161)
* Add failed user login trap for Netgear managed switches

* Add failed user login trap for Netgear smart switches

* Add tests

* Remove unused $ipv4 from tests
2019-04-30 07:52:27 -05:00
Leo Winter
4c8e8b72fc docs: add 'software-properties-common' (#10092)
* Add 'software-properties-common'

Running 'add-apt-repository universe' only work with 'software-properties-common' already installed.

* Update Installation-Ubuntu-1804-Apache.md
2019-04-29 22:17:04 -05:00
JoshWeepie
4e62838cce Add support for Transition NIDs (#9729)
* Add support for Transition NIDs

* Upload Transition logo

* Create transition

* Add files via upload

* Add files via upload

* Delete transition

* Delete MEF-UNI-MIB.smi

* Delete PTP-MIB.smi

* Delete BRIDGE-MIB.smi

* Delete ENTITY-STATE-TC-MIB.smi

removed standard mibs

* remove extensions from mibs

* Create TN-AC-MIB

* Removed extensions from Transition MIBs

* Delete TN-AC-MIB

* Create transition.snmprec

Added test data

* Renamed some mibs + updated tests

* Update transition.json
2019-04-29 22:14:46 -05:00
CirnoT
735a81c887 Support multiple params when rendering graph view (#10127) 2019-04-29 22:03:06 -05:00
rkislov
125e8ec8e8 russian language support (#10137)
* russian language

* Add Translation Strings As Keys for russian language.
Translate menu.blade.php, librenms1v.blade.php
2019-04-29 22:01:13 -05:00