Commit Graph
17185 Commits
Author SHA1 Message Date
SourceDoctorandJellyfrog 52f1bc9e8c geographical map sql query fix for normal user (#10590) 2019-09-09 12:26:44 +02:00
Jason ChengandJellyfrog d2ae04f88e Add Graylog severity translation 2019-09-09 10:20:16 +02:00
Jason ChengandJellyfrog dc950ec1ed Modifying the Syslog widget can be translate 2019-09-09 10:15:19 +02:00
Jason ChengandJellyfrog 490ee52d58 Update zh-TW.json 2019-09-09 10:15:19 +02:00
Dragan SavicandPipoCanaja b0c20666dd Corrected div element IDs when listing alerts in tables (#10587)
Use $alert['id'] instead of $rulei as HTML div elements ids.
2019-09-06 19:43:13 +02:00
BounzzandPipoCanaja c3326bedf9 Improved french translation (#10586)
* French translation
* Update fr.json
2019-09-06 19:41:09 +02:00
Jason ChengandTony Murray b8b961b78c Update zh-TW.json (#10579) 2019-09-06 04:41:27 +00:00
rsys-devandTony Murray 89e00aa4b4 Added Spaces in implode because missing spaces can cause unexpected search results in graylog tables (#10583) 2019-09-06 04:20:29 +00:00
Tony MurrayandPipoCanaja 1c48da68e3 Fix documentation TOC (#10580) 2019-09-05 14:37:23 +02:00
Hans ErasmusandTony Murray 759121e90d Added linear prediction how-to (#10581)
As per twitter request.
2019-09-05 12:18:39 +00:00
Shao Yu-Lung (Allen)andTony Murray a823a58483 Alert template clean up "\r\n\n" (#10541)
* clean up  "\r\n\n"

* clean up "\r\n\n" and reformat.
2019-09-05 04:34:24 +00:00
Shao Yu-Lung (Allen)andTony Murray 9ac70037bb Add LINE Notify Alert Transport. (#10495)
* Add LINE Notify Alert Transport.

* Fix code style.

* Update document.

* Update Linenotify.php
2019-09-05 04:30:53 +00:00
Jason ChengandTony Murray 48a07ada6a Add more Vigor series device support (#10562)
* Add more Vigor series device support

* Update draytek.yaml

* Add more Vigor series device test data

* Update AUTHORS.md

* Update draytek.snmprec

* Create draytek_vigor3900.snmprec
2019-09-05 03:42:40 +00:00
Lee KeitelandTony Murray 85492d245d Catch exceptions generated by alert transports (#10565)
* Catch exceptions generated by alert transports

The alert.php script would completely die if a single alert
transport generated an exception. For example the API transport
if CURL couldn't connect to the api endpoint. The script
should attempt to send alerts to all working transports and not
die because a single transport fails.

* Move alert transport creation into try block

Catch any potential exceptions during transport creation.
None of the transports currently implement __construct()
but the DB could throw and in the future there may be
a transport that does implement it.
2019-09-05 02:13:32 +00:00
JellyfrogandTony Murray e4314922c1 Move Authlog to Laravel (#10559)
* Move Authlog to Laravel

* Update authlog.blade.php
2019-09-05 02:12:48 +00:00
BounzzandPipoCanaja ac359bb377 Updated French translation fr.json (#10578)
* Update fr.json

* Update fr.json

* Fix typo for preference.php FR

* Update fr.json
2019-09-05 02:19:39 +02:00
Martin ZatloukalandTony Murray a136e5094d Fix ericsson MINI LINK wifi sensors (#10566)
* Fix Ericsson Mini-link wifi sensors

* Fix Ericsson Mini-link wifi sensors

* Fix Ericsson Mini-link wifi sensors

* Fix Ericsson Mini-link wifi sensors

* Fix Ericsson Mini-link wifi sensors
2019-09-04 02:57:49 +00:00
garysteersandTony Murray 2791a86724 docs: Updated Fast-Ping-Check documentation for distributed pollers (#10575)
* docs: Updated Fast-Ping-Check documentation for distributed pollers

* Update some wording

* Update Fast-Ping-Check.md

* Update Fast-Ping-Check.md
2019-09-04 01:04:57 +00:00
Evan DentandPipoCanaja 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
FTBZandPipoCanaja 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 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 FletcherandPipoCanaja c666af1b8b Added inbit and outbit rate to auxiliary datastores. (#10512) 2019-09-02 23:03:20 +02:00
Brian SidebothamandPipoCanaja d0d7d8552e Fixed testing fping output when the LibreNMS user doesn't have a valid shell (#10567) 2019-09-02 22:11:24 +02:00
fbourquiandPipoCanaja 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 MurrayandJellyfrog 4fdf1618a1 Show a hint that trend line exists (#10573) 2019-09-02 15:12:27 +02:00
PipoCanajaandJellyfrog 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
rdezavaliaandTony Murray 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
SerazioandTony Murray 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 YounsiandTony Murray 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 SchmidtandTony Murray 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 MurrayandGitHub 852647198b use -s option for older versions of git (#10561)
fix small visual issue too
2019-08-27 16:48:21 -05:00
SourceDoctorandTony Murray 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 MurrayandGitHub 3b6af60fa6 Fix Graylog level -1 (#10560) 2019-08-27 12:45:28 -05:00
rsys-devandTony Murray 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 ChengandPipoCanaja 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
JellyfrogandTony Murray 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
PipoCanajaandTony Murray 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 ErasmusandNeil Lathwood 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 MurrayandNeil Lathwood f1a7379f4a Fixed some graphs having the wrong timeframe (#10554) 2019-08-22 22:23:24 +01:00
garysteersandNeil Lathwood 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
SniperVegetaandTony Murray e0a33021da Update RunAlerts.php (#10552)
Added for {{ $alert->id }}
2019-08-22 14:06:44 -05:00
Orsiris de JongandNeil Lathwood 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 ZatloukalandPipoCanaja f16805b71d Added support Ericsson MINI-LINK (#10546)
* Added support Ericsson MINI-LINK
* cleaning
2019-08-22 13:19:50 +02:00
O PalivanandPipoCanaja 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 MurrayandGitHub 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
garysteersandPipoCanaja 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
SourceDoctorandPipoCanaja 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
PipoCanajaandGitHub 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
JellyfrogandNeil Lathwood 9d7edd879f Fixed menu links that used to redirect to # (#10540) 2019-08-20 21:38:04 +01:00