Commit Graph

16417 Commits

Author SHA1 Message Date
Evan Dent
00bcee3bd2 Added Additional support for Dell CMC (#10571)
* Uploading snmpsim
* Updated YAML
* uploaded rac mib
* Update drac.json
2019-09-03 21:34:56 +02:00
FTBZ
348190b084 Added basic state details for Infoblox NIOS (#10572)
* add basic state for Infoblox NIOS
* add snmprec
* Added JSON nios.json
2019-09-03 20:37:51 +02:00
Tony Murray
74f1f65234 Bump version to 1.55 2019-09-03 04:19:02 +00:00
Tony Murray
3cccb3aaf8 Changelog for 1.55 2019-09-03 04:19:00 +00:00
Stephen Fletcher
c666af1b8b Added inbit and outbit rate to auxiliary datastores. (#10512) 2019-09-02 23:03:20 +02:00
Brian Sidebotham
d0d7d8552e Fixed testing fping output when the LibreNMS user doesn't have a valid shell (#10567) 2019-09-02 22:11:24 +02:00
fbourqui
c73e9cbcfb add AIX detection running std snmpd or net-snmp (#10569)
* update IBM mibs
* add AIX detection running std snmpd or net-snmp
* simplifying  complex logical expression, codeclim.
2019-09-02 22:08:05 +02:00
Tony Murray
4fdf1618a1 Show a hint that trend line exists (#10573) 2019-09-02 15:12:27 +02:00
PipoCanaja
0fc5331466 Tests bug - Reorder storage tests after 'order_by' statement (#10574)
* tests storage after order_by change

* cleaning
2019-09-02 13:11:59 +02:00
rdezavalia
a0ba412d6c Added more DELL switches in order to get proper CPU stats (#10529)
* Added more DELL switches in order to get proper CPU stats

More DELL switches supported:

* N4032
* N2048
* N2024
* N3048
* N2048P
* 54XX

* fixed indent as requested by phpcbf

* fixed multiline argument function call

* removed blank lines

* Added CPU stats for N4064F

* Added test data for N4064F

* fixed indent as requested by phpcbf

* Added test data for Dell Powerconnect 5424

* Added test data for Dell Powerconnect 5448

* Added test data for Dell Powerconnect 5524

* Added test data for Dell Powerconnect N4032

* Added test data for Dell Powerconnect N2024

* Added test data for Dell Powerconnect N2048

* Added test data for Dell Powerconnect N2048P

* Added test data for Dell Powerconnect N3048

* Fixed processor usage data

* Fixed snmpsim data for 3056

* Fixed processor usage

* easier to read format

* remove space changes

* 3056 should be 8%
2019-08-29 22:11:23 +00:00
Serazio
142a1abbfd Fixed Junos port/vlan relationships for els and non-els based software (#10321)
* Fixed Junos port/vlan relationships for els and non-els based software

* fixed tabs

* Add test data

* Updated test data

* Update module_tables.yaml

* Update junos_qfx5100.json

* Update junos_qfx5100.json

* Update junos_qfx5100.json
2019-08-28 07:14:26 -05:00
Arzhel Younsi
78112270c6 Add serial/model/version polling for Sentry4 MIB (#10432)
* Add serial/model/version polling for Sentry4 MIB

* Add serial/model/version polling for Sentry4 MIB

* Update sentry4.json
2019-08-27 22:08:42 -05:00
Martijn Schmidt
3a891ba727 Convert opengear to YAML-based discovery, add some new sensors, add test data (#10553)
* Update opengear MIBs to latest version.

* Replace PHP signal discovery with YAML.

* Update Opengear YAML with new sensors.

* Add test data for Opengear.

* Add the test data json for Opengear.

* Named to numbered index to avoid data loss.
2019-08-27 16:54:08 -05:00
Tony Murray
852647198b
use -s option for older versions of git (#10561)
fix small visual issue too
2019-08-27 16:48:21 -05:00
SourceDoctor
2e2c329e9c automatically cleanup plugin-table from removed plugins (#10533)
* automatically cleanup plugin-table from removed plugins

* Update functions.php

* mis-placed bracket
2019-08-27 12:47:04 -05:00
Tony Murray
3b6af60fa6
Fix Graylog level -1 (#10560) 2019-08-27 12:45:28 -05:00
rsys-dev
3cb971e33f Added Graylog to device overview and log level filter mechanism (#10509)
* Added Recent Graylog Entries to Device Overview (WIP)

* Improved "Recent Graylog" entries on device overview (WIP)
Added $config['graylog']['device-page']['rowCount'] to set maximum rows shown in "Recent Graylog" on device overview (Default: 10)
Added $config['graylog']['device-page']['maxLevel'] to set the maximum message level shown in "Recent Graylog" on device overview (Default: 7, validates value to be >= 0 and <= 7)

* Fixed code styling issue

* Added Log Level filter to Graylog widget
Added Log Level filter to Graylog pages (device pages and graylog overview)

* Added documentation for new configuration options

* Removed unneccesary (and already commented) using
Renamed "maxLevel" to "loglevel" as suggested by a colleague

* Added doc for $config['graylog']['loglevel']

* Removed includes/html/print-graylog.inc.php and inlined it in includes/html/pages/device/overview/graylog.inc.php
Removed comma in json object in resources/views/widgets/graylog.blade.php
Replaced translation strings in resources/views/widgets/settings/graylog.blade.php with existing translation strings

* log level -> minimum log level

* Use Config::get() default functionality

* Oops
2019-08-27 12:44:27 -05:00
Jason Cheng
7783776738 Update zh-TW.json for about page (#10558)
* Update zh-TW.json for about page
* Update zh-TW.json for about page
2019-08-26 16:42:27 +02:00
Jellyfrog
47e4641e04 Convert About page to Laravel (#10551)
* Convert About page to laravel

* clean up callback stuff

* More translatable strings
2019-08-24 16:52:10 -05:00
PipoCanaja
25ee86c9ad Issue Template - Encourage users to add support (#10550)
* Issue Template - Encourage users to add support

by linking to the doc

* Update New-Device.md
2019-08-22 21:59:56 -05: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
Tony Murray
f1a7379f4a Fixed some graphs having the wrong timeframe (#10554) 2019-08-22 22:23:24 +01:00
garysteers
c089f3bae4 Populate ipv6_network_id in ipv6_addresses where empty (#10548)
* Populate ipv6_network_id in ipv6_addresses where empty

* Update functions.inc.php
2019-08-22 20:58:35 +01:00
SniperVegeta
e0a33021da Update RunAlerts.php (#10552)
Added for {{ $alert->id }}
2019-08-22 14:06:44 -05:00
Orsiris de Jong
ccf2d9a5c5 Use PHP sys_temp_dir by default (#10428)
* Fix installer not generating tmp directory directive

This fixes a usecase when open_basedir is set, not allowing php to write to default temp directory /tmp.
In that case, temp directory is set by `php_admin_value[sys_temp_dir] = /var/www/site/tmp`
Without setting config['temp_dir'] in generated config.php, LibreNMS will use /tmp regardless of what is set in fpm configuration.

* is_writeable and is_writable are both valid, but let's stay consistent

* Make $config['temp_dir'] non static

* Remove $config['temp_dir'] from standard config.php

* Make sys_get_temp_dir() fallback to '/tmp'

* Update defaults.inc.php

* Update install.php

* Update Config.php

* Update defaults.inc.php

* Update defaults.inc.php
2019-08-22 18:08:42 +01:00
Martin Zatloukal
f16805b71d Added support Ericsson MINI-LINK (#10546)
* Added support Ericsson MINI-LINK
* cleaning
2019-08-22 13:19:50 +02:00
O Palivan
259fc28b05 Update Applications.md for mysql (#10549)
* Update Applications.md for mysql

Specified for Mysql the host 127.0.0.1 useful in some specific configs. Switched also the 6 <-> 7 steps, which makes more sens because of the package install (mysqli is needed for snmp extend).
2019-08-22 12:14:09 +02:00
Tony Murray
2441096015
Fix html injection in user fields (#10535)
validate realname and descr to alpha/numeric/spaces only
This flaw is actually in bootgrid, the html isn't interpreted until bootgrid loads.
2019-08-21 20:36:22 -05:00
garysteers
a1c8fe63ee Fixed ipv6_network_id query for null context_name (#10544)
* Fix ipv6_network_id query for `null` context_name
2019-08-21 20:07:15 +02:00
SourceDoctor
9e02040f05 Sort Devices and Groups in Alert Rules 'map to' droplist (#10530)
* alphabetic order of Devices and Groups in Alert Rules
2019-08-21 10:08:58 +02:00
PipoCanaja
e7a86add93
Allow num_oid to use OCTET STRING indexes (#10410)
* make index available as OCTET STRING converted to OID
* codeclimate
2019-08-21 10:04:16 +02:00
Jellyfrog
9d7edd879f Fixed menu links that used to redirect to # (#10540) 2019-08-20 21:38:04 +01:00
Jason Cheng
49310dc693 Allow adding custom quick links to device navigation (#10403)
* Add Open-Audit link display device asset details

* Add an external link using the template method

* Add external system link setting.

* Update device.inc.php

* Update Customizing-the-Web-UI.md
2019-08-20 20:49:59 +01:00
PipoCanaja
d6862b0e34 Added Cisco-voice IP graphs (#10538)
* Cisco VoIP stats

* Cisco VoIP stats

* codeclimate

* codeclimate
2019-08-20 11:26:44 -05:00
Tom van Leeuwen
36c41bac2c Allowed device_ids as INT or as STRING (#10536) 2019-08-20 14:03:40 +02:00
Tom van Leeuwen
c82cdf2a83 Fixed the invalid json of the example curl statement (#10537) 2019-08-20 13:55:28 +02:00
Tony Murray
8d669a8a39
Simple linear port graph prediction (#10520)
* Simple linear port graph prediction
Simple linear prediction line for in and out if graph "to" value is in the future
Improve graph date handling

* thinner line

* Make test specify timezone
2019-08-19 22:53:48 -05:00
Tony Murray
d3243bd32e
Fix public status location (#10526)
* Fix public status location
Implementing __toString() seemed to be the most elegant way to fix it.
Added pre-loading for locations too

* Take advantage of new __toString function
2019-08-19 22:52:21 -05:00
soto2080
610afac9e7 Enabled FDB table support on Nexus devices (#10522)
* NXOS can build FDB table with the same commands used in IOS/IOSXE
2019-08-18 21:55:48 +02:00
SniperVegeta
57ae718011 Fixed recovery in PDF alert reporting (#10524) 2019-08-15 18:55:22 +02:00
PipoCanaja
67376e2e95
Reduce discovery snmp load of Cisco VTP vlans module (#10510)
* Only poll necessary OIDs for Cisco VTP vlan discovery, the current code overload some nexus devices
* codeclimate
2019-08-14 08:34:35 +02:00
PipoCanaja
4631705838 Tests for IOS Vlans/Vtp (#10519)
* ios_2960x.json

* lighter test to avoid timeout

* cleaned config.php
2019-08-13 14:34:20 -05:00
Tony Murray
d64c884b4c
Fix Syslog widget (#10516)
missing comma
2019-08-12 10:13:25 -05:00
Tony Murray
f1c67ac5f4
Ports API: Workaround for ifNames with slashes (#10502)
* Workaround for ifNames with slashes

Basically,

/api/v0/devices/3/ports/0%2f4 -> /api/v0/devices/3/ports/ifName?ifName=0/4
/api/v0/devices/3/ports/0%2f4/port_bits -> /api/v0/devices/3/ports/ifName/port_bits?ifName=0/4

Or you can just use port_id.

* Fix API ports using ifName with slashes
hand parse the path for the ports graph endpoints
this way we can respect the original way of handling slashes (%2F)
2019-08-12 09:46:36 -05:00
Hans Erasmus
cec10c1d37 Update Installation-CentOS-7-Apache to fix formatting (#10504)
* Update Installation-CentOS-7-Apache.md

Fixed formatting.

* Update Installation-CentOS-7-Apache.md
2019-08-09 21:55:14 +01:00
rsys-dev
a79837aada Bug: Fixed Incorrect device match in Graylog (#10501)
* Incorrect device match fixed. Because getAddresses(Device $device) also returned 127.0.0.1 and ::1,
always matched the first device with a loopback address. Introduced in
https://github.com/librenms/librenms/pull/10458

* Changed code as suggested by murrant
Expanded ::1 because IPv6 Adresses are not stored compressed.

* Fixed incorrect parenthesis
2019-08-09 07:52:43 -05:00
Zane C. Bowers-Hadley
535d820bd9 update the docs to reflect various updates to SNMP/local bits (#10507)
* cleanup apache and powerdns-dnsdist

* add the mysql stuff

* revert the powerdns bit, it was changed to mktemp
2019-08-08 21:18:15 -05:00
Jellyfrog
988dd9b615 Fix regression after fc281ccc4b (#10505) 2019-08-08 06:44:42 -05: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
Jellyfrog
fc281ccc4b Add device group filter to widgets (#9692) 2019-08-07 19:59:14 -05:00