Commit Graph

6166 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
pobradovic08
5a8d3aee58 Fix port URLs on minimaps page (#10619) 2019-09-24 18:03:24 +02:00
Vitali Kari
4990c871d6 do not discover dbm sensors on shutdown ports (#10610) 2019-09-18 12:39:52 +00:00
Vitali Kari
87d3fc7285 sensors sometime not clean up (#10611)
* do not discover dbm sensors on shutdown ports

* rename confusing name from $sensor_type to $sensor_class

* Revert "do not discover dbm sensors on shutdown ports"

This reverts commit 46963f746a.
2019-09-18 12:29:58 +00:00
Vitali Kari
ccfd32457a Fixed wrong formatting of runtime sensor value (#10606)
* fix wrong formatting of runtime sensor value
* avoid else statements
2019-09-16 20:43:24 +02:00
Vitali Kari
d674c8cefd Fixed battery remain time limits (#10604) 2019-09-16 20:40:47 +02:00
SniperVegeta
82ea950263 Extended 'port previous' graphs (#10556)
* Update ping_perf.inc.php
* Update poller_perf.inc.php
* Update generic_data.inc.php
* Update generic_multi_seperated.inc.php
* Update poller_modules_perf.inc.php
* Update poller_perf.inc.php
* Update ping_perf.inc.php
remove // comment (old code)
* Update poller_perf.inc.php
remove // comment (old code)
* Update generic_multi_seperated.inc.php
remove // comment (old code)
* Update poller_perf.inc.php
remove // comment (old code)
2019-09-14 23:45:38 +02:00
Søren Rosiak
9768790440 CiscoSB: Skip notPresent ports from state sensors (#10545)
* CiscoSB: Skip notPresent ports from state sensors

* Update ciscosb.inc.php

* Create ciscosb_sg350x-48.json
2019-09-14 23:43:08 +02:00
nistor
3b5295ad45 Fixed junos vlan discovery when no vlan present (#10599)
* Fixed foreach loop throwing errors when no vlans present, community id post 9528
* Added extra else / debug statement for validation
The modified changes allow for clear information regarding the discovery of devices where no port<->L2 Access/Trunk association is seen.
2019-09-14 23:33:28 +02:00
Vitali Kari
d4081dae7f Improved Eltek eNexus sensors (#10591)
* additional sensors, some cleanup in yaml
* re-add updated tests/data/enexus_smartpacks2.json
* some rework to avoid regression
* sensor grouping
* update test data
2019-09-13 10:45:01 +02:00
SourceDoctor
52f1bc9e8c geographical map sql query fix for normal user (#10590) 2019-09-09 12:26:44 +02:00
Dragan Savic
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
Jason Cheng
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
Jellyfrog
e4314922c1 Move Authlog to Laravel (#10559)
* Move Authlog to Laravel

* Update authlog.blade.php
2019-09-05 02:12:48 +00:00
Martin Zatloukal
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
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
Stephen Fletcher
c666af1b8b Added inbit and outbit rate to auxiliary datastores. (#10512) 2019-09-02 23:03:20 +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
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
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
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
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
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
Martin Zatloukal
f16805b71d Added support Ericsson MINI-LINK (#10546)
* Added support Ericsson MINI-LINK
* cleaning
2019-08-22 13:19:50 +02: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
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
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