Commit Graph

16496 Commits

Author SHA1 Message Date
SourceDoctor
2fe392f330 alphabetic sorting of global settings view (#10678) 2019-10-14 02:22:16 +00:00
Tony Murray
447277fd10
Fix junose test data non-incrementing (#10679) 2019-10-14 01:58:35 +00:00
Tony Murray
63442e8b4a
Refactor tests (#10625)
* Refactor tests
Boot Laravel for all tests.
Config use private static property for storage instead of global

* Backup/restore modules

* disable snmpsim log

* Fixing DBTestCase

* Fix macros loading to the wrong place

* trap and other tests should check if db is available

* don't include snmp.inc.php if mock.snmp.inc.php is already included...

* fix migration

* if we don't reset the db, run migrations at least.

* set vars for migrate too

* Fix style

* ignore issues with undefined indexes in legacy code
2019-10-13 13:40:38 +00:00
Anael Mobilia
4cf584b425 Improve migration informations (#10673)
* Improve migration informations

* Generalization for modified files
2019-10-11 05:56:43 -05:00
Tony Murray
e046ccde2d
Rename RutOS 2xx pinState state sensor to avoid conflict (#10675)
with rutos PinState state sensor
2019-10-11 04:10:50 +00:00
dGs-
80e138fa40 removed the ksort block as it was not working (#10674) 2019-10-11 01:32:25 +00:00
pedjaj
a19a18492e Added support for RedLion N-Tron 714FX6 industrial switch (#10617)
* Add files via upload

add icon for REDLION

* Add files via upload

Add Device REDLION ntron 716FX6

* Add files via upload

* add device redlion ntron 714FX6

* Delete ntron.yaml

* Add nev device RedLion N-Tron 714FX6

* Update ntron.yaml

* additional snmp data redlion ntron714fx6

* Rename ntron714fx6.mib to NTRON714FX6-MIB

* Create ntron.json

* Update os_schema.json
2019-10-10 14:09:45 +02:00
Tony Murray
ef38f099c6
Fix DSM DS916 test snmp data (#10667) 2019-10-10 04:35:39 +00: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
SourceDoctor
d779d970ed sort app overview RRDs by hostname (#10663) 2019-10-09 00:25:22 +00:00
joseUPV
ca281ec12a Better Model detection of Old 3Com devices (#10660) 2019-10-09 00:11:12 +00:00
Orsiris de Jong
6cca8c6e6f Remove default temp dir already set in LibreNMS/Config.php (#10654) 2019-10-07 21:29:51 +00:00
Jellyfrog
00d05ff078 Optimize docs picture size (#10657) 2019-10-07 21:28:06 +00:00
Jellyfrog
8b329a18a1 Optimize logo sizes (#10656)
by reducing colors
2019-10-07 21:27:23 +00:00
jozefrebjak
f07651a2eb Added Teltonika Rutos-2xx wireless sensors (#10646)
* CodeClimate Fix

* Added Teltonika Wireless Sensors

* Removed HiveOS local changes

* cleanup

* Update Rutos2xx.php

* typo fix

* Blank Line Fix

* Travis FIX

* White Space Fix
2019-10-07 13:16:51 +00:00
Tony Murray
be04388137
Store config data serialized (#10651)
* Store config data serialized
This way we can store null, booleans, and more reliably.

* Use model to get the mutated output.

* fix whitespace and unused function

* use json_encode/decode and casts
migration to transfer

* json_encode JSON_UNESCAPED_SLASHES

* Use JSON_UNESCAPED_SLASHES.  That is only relevant if you are printing into an HTML page.

* pre-encode the seed...

* filter other fields besides config_value
2019-10-06 21:51:22 +00:00
pobradovic08
a2c69cd62f Added Cisco QFP module (#10637)
* QFP Discovery module
* QFP Polling module - Utilization
* Add Cisco QFP module in module list
* Web UI QFP discovery module
* Add average packet size graph
* Health overview QFP graph
* Polling and UI improvements, test data
* Reformatting and style checks
* Readd snmprec data
* Fix module performance stats collecting
2019-10-05 11:10:34 +02:00
Tony Murray
51e5521d9f Do not update mempool warning % every discovery (#10647) 2019-10-03 00:35:44 +02:00
Tony Murray
7482422614
When sending email alerts use CRLF for windows clients (#10563)
* When sending email alerts use CRLF for windows clients

* Convert hard \r\n into line return in templates

* there is no down really
2019-10-02 14:08:10 +00:00
Tony Murray
c8bcdbb916
Fix CentOS PHP install docs (#10645)
* Fix CentOS PHP install docs

* Update Installation-CentOS-7-Apache.md

* Update Installation-CentOS-7-Apache.md

* Update Installation-CentOS-7-Nginx.md
2019-10-02 13:57:01 +00:00
Tony Murray
ef4e6de867
Fix device_groups in alert/group builder (#10643) 2019-10-02 13:54:54 +00:00
bewing
74724a4618 Add redis sentinel support to dispatcher service (#10598)
* Add redis sentinel support to dispatcher service

* Update docs for redis sentinel support

* Don't re-raise python exception in service
2019-10-01 06:51:07 +00:00
Vitali Kari
2825a7f7ec add discovery of mempool percent warning limit (#10618)
* add ability to discover percent warning on mempools discovery

* remove wierd charachters from json

* remove database defaults, add defaults for Linux and Vmware

* update db schema

* update test data

* adapt hrstorage mempools

* rebase
2019-09-30 13:22:55 +00:00
Tony Murray
4a36c18e69
use testing database for capturing test data (#10635)
if available
2019-09-30 13:21:37 +00:00
Tony Murray
4c075a3484 Bump version to 1.56 2019-09-30 11:07:05 +00:00
Tony Murray
121c5bc030 Changelog for 1.56 2019-09-30 11:07:03 +00:00
That Guy --^
f715c2ea94 add support for per-OS SNMP max repeaters configuration file setting. (#10628)
* add support for per-OS SNMP max repeaters configuration file setting.

* Simplify function

I think it should be equivalent

* whitespace...
2019-09-30 10:45:09 +00:00
PipoCanaja
3c9a0f9c6b French translation update (#10640) 2019-09-30 10:44:22 +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
pobradovic08
91ac7aff7f Removed ambiguity in Component filter query (#10638)
In case we try to filter the component by it's `id`, we ran into ambiguity issue because both `component` and `component_prefs` tables have column `id`. Fixed by filtering explicitly on `component` table.
2019-09-29 19:23:53 +02:00
pobradovic08
43729d7b6f Group total processor utilization per processor type (#10626) 2019-09-28 04:16:18 +00:00
soto2080
2139eed306 Add EdgeCore ECS4110-28T Support (#10525)
* Add ECS4110 cpu usage

* Add cpu usage oid for ECS4110
* TESTED

* Fix EdgeCore ifOperStatus does not follow the Cisco convention
* Since EdgeCore use "lowerLayerDown" in ifOperStatus when port is unplugged
* On the other way, Cisco use briefly "down".
* So change "lowerLayerDown" to "down" to workaround the bug that will make port always show as up/up

* Refactor Edgecos cpu usage oid
* Codeclimate is unhappy about it maybe the refactor will make it happy.

* Add EgdeCore ECS4110 MIB

Just got MIB from EdgeCore

* Refactor Egdecos Mempool

* a bit refactor of Mempool discover and polling
* add support for ECS4110 via MIB

* Modify ECS-4110 MIB

* MODULE-IDENTITY change from ECS4110-52P-MIB to ECS4110-MIB
* strip off syntax error part(time range)

* Add EdgeCore ECS-4110 OS polling

* polling OS and Hardware via MIBs

* Fix typo

* Sorry that I am dazzled

* Fix Syntax Check

* Codeclimate is a bit aggressive

* Update edgecos.inc.php

* Update edgecos.inc.php

* Revert "Fix EdgeCore ifOperStatus does not follow the Cisco convention"

This reverts commit 27971b34a8.

* Add snmprec file for unit testing.

* Create edgecos_ecs4110-28t.json
2019-09-28 03:18:24 +00:00
CameronMunroe
c69643056f Asterisk Doc Improvements (#10631)
Made the asterisk documentation more like the rest of the documents using a wget command.
2019-09-28 01:53:37 +00:00
pobradovic08
f672c12bcc discovery: Added Cisco QFP processor (#10622)
* Added Cisco QFP processor discovery

* Fix QFP index loop variable name

* Add test data for IOS-XE processors (from ASR1001-HX)

* set the right variable
2019-09-28 01:22:06 +00:00
Yisroel Tech
a1ed45eb46 Fix LibreNMS Logo SVG missing i sometimes (#10632)
* Update librenms_logo_light.svg

Corrected an issue with the "i" being invisible in certain scenarios on certain (Chromium version 77) browsers, see https://community.librenms.org/t/librenms-svg-logo-issue-in-some-zooms/9640/4. The issue seems to be that "i" was a separate clip-path from the "L bre".

* Update librenms_logo_blue.svg

Corrected an issue with the "i" being invisible in certain scenarios on certain (Chromium version 77) browsers, see https://community.librenms.org/t/librenms-svg-logo-issue-in-some-zooms/9640/4. The issue seems to be that "i" was a separate clip-path from the "L bre".

* Update librenms_logo_mono.svg

Corrected an issue with the "i" being invisible in certain scenarios on certain (Chromium version 77) browsers, see https://community.librenms.org/t/librenms-svg-logo-issue-in-some-zooms/9640/4. The issue seems to be that "i" was a separate clip-path from the "L bre".

* Update librenms_logo_dark.svg

Corrected an issue with the "i" being invisible in certain scenarios on certain (Chromium version 77) browsers, see https://community.librenms.org/t/librenms-svg-logo-issue-in-some-zooms/9640/4. The issue seems to be that "i" was a separate clip-path from the "L bre".
2019-09-27 16:56:03 +00:00
dGs-
dada33ae5e replaced description by ifAlias to fix the sort on Description 2019-09-27 14:26:18 +02:00
SourceDoctor
ee2a847c0b Storage RRD - descriptionlength fix - percent column fix (#10607)
* Storage RRD - descriptionlength fix - percent column fix

* changed percentage column description

* increase also column length on furhter graphs

* fix column title length
2019-09-26 02:51:07 +00:00
fbourqui
71f7323550 Support VIOS which use a different string: (#10623)
* Support VIOS which use a different string:
Base Operating System Runtime VIOS version (instead of: AIX version)

* Add test data
2019-09-26 02:41:36 +00:00
brownowski
c4569a620b Allow OS to define config highlighting (pfSense) (#10392)
* Update showconfig.inc.php

Fix display for pfsense config files.

* Update showconfig.inc.php

Change from else if to elseif

* Update showconfig.inc.php

Decode special chars before syntax highlighting.

* Update pfsense.yaml

* Add config_highlighting device property

Add config_highlighting to device definition
Update showconfig.inc.php to use config_highlighting to set language.

* Update showconfig.inc.php

Fix incorrect code. Chose correct variable where config_highlighting is set.

* Update os_schema.json

Add property config_highlighting to schema
 - used for language highlighting when displaying the config file

* Update showconfig.inc.php
2019-09-25 06:42:45 +00:00
Tony Murray
31eced4875
Fix creating device groups issue (#10521)
* Fix creating device groups issue
Not being able to write the device relationships file should not be fatal

* remove @

* bootstrap.php calls this, Laravel isn't booted yet

* d_echo does not include \n
2019-09-25 06:41:18 +00:00
pobradovic08
5a8d3aee58 Fix port URLs on minimaps page (#10619) 2019-09-24 18:03:24 +02:00
seros1521
2db29a325f Add procedure URL to alert templates (#10609) 2019-09-24 13:08:22 +02:00
pobradovic08
c2e8c2253e Added CISCO-ENTITY-QFP-MIB MIB (#10621)
* Added CISCO-ENTITY-QFP-MIB MIB

* Moved CISCO-ENTITY-QFP-MIB MIB to cisco/ dir
2019-09-24 12:56:40 +02:00
Derova
92837e5c2b Dispatcher Service: Documentation Typo (#10620) 2019-09-23 06:26:53 -05:00
SourceDoctor
b606a42ba9 List ungrouped devices on group management page (#10527)
* list ungrouped devices on group management page

* some code changes

* some code changes

* change query to eager loading

* use url macro

* Update resources/views/device-group/index.blade.php

Co-Authored-By: Neil Lathwood <gh+n@laf.io>

* Title Case

* style fixes

* inline @if

* remove container

* revert force push
2019-09-21 05:25:02 +00:00
Jellyfrog
d8eb3ab90e Fix timeout typo in apiclients (#10615) 2019-09-21 00:49:14 +00:00
Orsiris de Jong
a0c2df6cd9 Improve CentOS 7 install instructions (#10477)
* Improve instructions

Documentation when open_basedir is set
Also gives list of packages when installing php-fpm
Fixes cron and logrotate files not being executed if umask is set

* Split dependencies universal / php

* Updated php doc

* Add more binaries to open_basedir
2019-09-18 14:59:20 +00:00
Tony Murray
d5b61002cc
MPLS only poll if records exist (#10523)
Downside is if all are removed then re-added, will have to wait for discovery for them to be re-added.
2019-09-18 14:49:22 +00:00
jozefrebjak
344f315991 AeroHive OS Wirelless Noise Floor Fix (#10608)
* AeroHiveOS NoiseFloor Fix

* Update hiveos-wireless_650ax.snmprec

* Update HiveosWireless.php

* Update hiveos-wireless_650ax.snmprec

* Update hiveos-wireless_650ax.json

* Update hiveos-wireless.json

* Update hiveos-wireless_650ax.json

* Update hiveos-wireless_ap130.json

* Update hiveos-wireless_ap130.json
2019-09-18 14:47:31 +00:00
Vitali Kari
4990c871d6 do not discover dbm sensors on shutdown ports (#10610) 2019-09-18 12:39:52 +00:00