Commit Graph

17878 Commits

Author SHA1 Message Date
Jellyfrog
2ee6a0afb0
Add StyleCI config (#12126) 2020-09-21 16:02:55 +02:00
Jellyfrog
29f45ca352
Apply fixes from StyleCI (#12124) 2020-09-21 15:59:34 +02:00
Jellyfrog
0d56bbd946
Apply fixes from StyleCI (#12123) 2020-09-21 15:51:53 +02:00
Jellyfrog
2fc3a21211
Apply fixes from StyleCI (#12121) 2020-09-21 15:43:38 +02:00
Jellyfrog
82f43cb98d
Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
Jellyfrog
77c531527c
Apply fixes from StyleCI (#12117)
* Apply fixes from StyleCI

* Disable style check
2020-09-21 14:54:51 +02:00
Shao Yu-Lung (Allen)
8ec9183df5
Doc - Begins with / Ends with, SQL example is reversed (#12113) 2020-09-21 08:11:22 +02:00
SourceDoctor
65b294c7cb
Fix to show Routing Count in Pagemenu Selector (#12111) 2020-09-20 01:24:53 +02:00
Konstantin V Bekreyev
509dc027f1
Update ru.json (#12109)
typos fixed
2020-09-19 17:41:01 +02:00
Tony Murray
39076131ae
Bug - fixed incorrect test data (#12108) 2020-09-19 10:35:37 +02:00
Avinash Kumar
78fa539628
Icecast, Opensips and Voip monitor Application (#12070)
* Icecast added

* Opensips added

* Voip Monitor added

* Icecast documentation

Icecast corrections

* Opensips documentation added

Opensips corrections

* Voip monitor documentation added

Voip monitor corrections

* Icecast corrections

* Opensips corrections

* Voip monitor corrections

* test data added for icecast

* test data added for opensips
2020-09-18 16:49:20 +02:00
PipoCanaja
f32e91a46c
TPLINK - Refactor HW discovery (#12105)
* refactor tplink hw and version

* tests
2020-09-18 16:43:51 +02:00
Tony Murray
941037e44e
Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00
louis-oui
d2d1e18925
Fix editing schedule maintenance (#12079) 2020-09-18 01:42:13 -05:00
pobradovic08
736169d4e1
WebUI: Fixed URL of detailed graphs for jitter SLA probe (#11984)
* Fix single SLA page

* Update slas.inc.php

blank lines at the start and end of control structure
2020-09-18 00:58:20 -05:00
TheGreatDoc
935f9b924d
Synology DSM: Moved to yaml discovery (#11962)
* Synology DSM: Moved to yaml discovery

* Fix styleci issues + sensors indexes to match php ones

* Fixed test

* Tests on DS214se

Tests on DS214se

* remove ds214

* Update dsm_ds916.json

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-09-18 00:51:02 -05:00
Negatifff
072ede4ea3
Speedup vlans list in device VLANS tab (#11805)
* init

* spaces and commas fix
2020-09-18 00:43:31 -05:00
Magnus Larsen
22ce3bc743
Added support for OS detection from NXOS and UCS (#11722)
* Added support for OS detection from NXOS and UCS

* Changed to SysObjectID instead of Hardware

* Move to YAML

* Rename test cases from nxos to ucos

* Update ucos_2.json

* Rename nxos.yaml to ucos.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-09-18 00:37:35 -05:00
Adam Bishop
bbdb1a2a5d
Rewrite smokeping script to be an lnms command (#11585)
* Rewrite smokeping script to be an lnms command

* Add a default number of probes for smokeping

* Formatting fixes

* Refactor to simplify a couple of methods

* Fix a name collision when using more than 60 threads

* Simplify

* First pass at documentation

A few climate fixes too.

I'm a little dubious about the + LibreNMS fix - it could be included
in /etc/smokeping/config if it is really needed, but it sounds like
(looking at git blame) it's needed for if the script generates a broken
configuration file.

I'm thinking we should just not generate broken config.

* Improve testability and add some tests

* Load laravel to make translations available

* Second pass at documentation

* Fix brace

* Extend the device factory to include the type

Also adds a device group fake I created before I realised I didn't need it

* Mimic gen_smokeping.php a little more closely

* Update tests to properly verify old and new behaviour against each other

* Replace gen_smokeping with a wrapper

* Don't double whitespace

Render does this automatically.
Explicitly order by hostname too.

* Make faker less likely to generate duplicates

I tried adding a unique constraint here, but it didn't have the
intended effect.

Extending the hostname like this seems to work fine - I tried
generating 10 million hosts and got no duplicates, compared to
duplicates appearing with as few as 100 hosts without this
 change.

A true fix would be to add an 'fqdn' fake upstream.

* Make the tests more robust

* Assorted bug fixes

* Style corrections

* Handle 'generic' devices

* Fix an issue that came up during rebase

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-09-18 00:04:54 -05:00
Cirno the Strongest
5e63c34d19
Fix billing showing estimated transfer based on total of 1 days if billing day is first (#10445) 2020-09-17 23:21:25 -05:00
Tony Murray
b9f4b221f7
Include ifName for bad_ifXEntry OS (#12104)
* ifEntry does not include ifName

* Walk ifName for bad_ifXEntry os
2020-09-17 23:00:31 -05:00
kvedder-amplex
2a045419e2
Add NoBulk Option because Sitemonitor's Do Not Support Bulk (#12100)
Co-authored-by: Ken Vedder <kenneth.vedder@gmail.com>
2020-09-17 19:42:05 -05:00
O Palivan
d559ffa9e6
Device support for Tait Infra93 (#12093)
* Mibs

* Tait MIB support for TB9300

* initial

* typo

* Tait suite

* Tait suite

* Tests

* spaces

* yaml def syntax

* spaces

* RSSI name

* spaces
2020-09-17 13:24:53 +02:00
q7joey
700b2cf5aa
Add Sensatronic E4-16 support (#12083)
* Update sensatronics-em1.yaml

sysObjectID wasn't specific enough.

* Create sensatronics-ittm.yaml

Add support for 4/16 channel units

* Create sensatronics-ittm.yaml

Add support for 4/16 channel units

* Change name to be specific to ITTM

* Create sensatronics-ittm.snmprec

* Create sensatronics-ittm.json
2020-09-17 13:23:43 +02:00
Denny Friebe
cba51763cc
Fix incorrect eth0 status for Ubiquiti AirFiber 5XHD (#12025)
* UBNT AF LTU: Fix incorrect eth0 status during discovery

* UBNT AF LTU: Update test data

* UBNT AF LTU: Remove eth0 if afLTUethConnected is not set

* UBNT AF LTU: Use require instead of require_once
2020-09-16 22:48:32 +02:00
Anthony Brandelli
9ab4f3351f
Add detection of Cisco ftd 4115 (#12092)
* Add detection of Cisco ftd 4115

* Create ftd_4115.json

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-09-16 12:42:30 +02:00
Damon Reed
e0a076455e
Fix CiHelper function checkPythonExec to use 'pip3 install --user' and improve error message (#12097)
* Fix pip3 install function to use --user

* Update error message to reflect somethign closer to reality.
2020-09-16 00:30:50 +02:00
tarik
2dfb37548d
adding serial number discovery to aruba os poller (#12053) 2020-09-15 22:29:15 +02:00
crcro
9026cf54c0
osnexus quantastor initial support (#12045)
* initial release

* fixes

* cleaner snmprec

* updates

* remove legacy files

* updates

* fixes

* cleanup

* test data ... again

* yaml fix and test data

* tests update

* polling temps

* remove unused line

* - hdd temp fix

- tests without ignores
2020-09-13 23:45:11 +02:00
craig-nokia
dda6377424
Add basic support for Emerson Netsure Controllers (#12091) 2020-09-13 23:03:35 +02:00
Tony Murray
fde6ef5f3f
fix skip_value_lt plurality confusion (#12056)
* fix skip_value_lt plurality confusion

* Update atenpdu.yaml
2020-09-12 23:26:20 +02:00
Tony Murray
b22d27b988
Allow index rename migration to recover partially completed previous run (#12084) 2020-09-12 23:20:15 +02:00
PipoCanaja
73278551f0
Adding icon for XCP-ng xen distribution (#12090)
Recognised correctly by distro.
2020-09-12 22:20:37 +02:00
craig-nokia
b91080df0b
Add basic support for GE Galaxy Pulsar Plus Controllers (#12087)
* Add basic support for GE Galaxy Pulsar Plus Controllers

* Add basic support for GE Galaxy Pulsar Plus Controllers

* Add basic support for GE Galaxy Pulsar Plus Controllers

* Modified Gepulsar.php
2020-09-12 01:34:32 +02:00
ospfbgp
59bc379a31
Add support for VOSS switches VSP-4900-12MXU-12XE, XA1440, and XA1480 (#12072)
* Update voss.yaml

* Update xos.yaml

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload
2020-09-11 15:26:19 +02:00
Jellyfrog
23e154f0c2
cast device_id to int to prevent type error in deviceCache::get() (#12076) 2020-09-11 07:28:46 -05:00
dependabot[bot]
d46c292971
Bump http-proxy from 1.18.0 to 1.18.1 (#12081)
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.18.0...1.18.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 13:13:46 +02:00
SourceDoctor
dbd2b06b80
MySQL Documentation Update (#12085) 2020-09-11 13:09:29 +02:00
MARMONIER Cédric
7cd68f7ec6
Ifotec product integration (#12038)
* IFOTEC new product integration

* change source code indentation

* change source code for code climate checking

* change source code for code climate checking

* deletion of an unnecessary line

* add ifotec.php and test units

* forgetting about the previous commit

* modifications of test units

* add a test units

* optimization and add test units

* change SMNP mode request

* source code cleanup and and file for test units

* update .snmprec file

* update json test file

* update json test file

* IFOTEC mib integration

* add IFOTEC mib files

* IFOTEC mib integration for sensors

* cancel $oid2 unset

* delete useless line
2020-09-10 10:38:36 +02:00
Jellyfrog
0c0e64d909
Fix arp-search search (#12075) 2020-09-09 18:20:31 -05:00
Russell Morris
891a42e1c6
OS: Add support for Beagleboard (#12060)
Includes Beagleboard and Beaglebone boards. Also includes temperature
sensor support (also in test data)
2020-09-10 00:06:11 +02:00
Jozef Rebjak
69007a3b83
Updated Support of Smartax GPON OLT (#11719)
* Updated Support of Smartax GPON OLT

* Updated ports from Negatifff PR

* fixed blank line problem

* Added new sysObjectID

* Fixed Port Stats

* fixed line removals

* Update smartax.inc.php

* Update Smartax.php

* Update smartax.inc.php

* Update smartax.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-09-09 16:12:18 +02:00
dupondje
ba699be009
Since Rancid 3, the separator is ; (#11688) 2020-09-09 16:10:36 +02:00
Nathan Lam
7f0b483580
rrdcache OPTS > BASE_OPTIONS (#12074)
Not sure if it's `OPTS` in older versions of `rrdcached`, but it's 100% `BASE_OPTIONS` for 1.7.0. `OPTS` was broken for me for a while.
2020-09-09 10:21:31 +02:00
craig-nokia
114df5aa8f
Added Nokia timos SFP RX/TX dbm sensors (#12065)
* Added Nokia timos SFP RX/TX dbm sensors

* Replacing timos.json
2020-09-08 15:07:04 +02:00
Tony Murray
000b8e0f7c
Improve mib_dir setting consistency (#12069)
yaml os discovery now respects the os mib_dir definition
mib_dir now only allows strings, not arrays
changed schema validation to account for that
consolidated dell mibs, no reason for them to be spread out
2020-09-08 12:55:29 +02:00
TheGreatDoc
60c7378d7f
Added Migrating... state (#12071) 2020-09-08 12:41:17 +02:00
Jason Cheng
661a518dea
Add attach sysName to Prometheus. (#12061)
* Add attach sysName to Prometheus option.

The value of put to prometheus can be added to sysName by setting the relevant parameter.

* Add attach sysName to Prometheus.

* Add attach sysName to Prometheus.

* Update resources/lang/en/settings.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update settings.php

* Update zh-TW.json

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-09-07 21:38:13 +02:00
Dominik V. Salonen
f80fa5a42b
Replace VyOS' .png with .svg (#12067)
* Replace VyOS .png with .svg
Current .png also has white background, which does not look good when using the dark theme

* Update vyos.svg

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-09-07 16:45:59 +02:00
thomcatdotrocks
dfab530525
Matrix txnid fix (#12057)
* Fix Matrix alerting txnid

This fixes the issue I brought up in #12018.  I can confirm that I now get a new message from the LibreNMS bot every time I test my Matrix transport.

* Update AUTHORS.md
2020-09-04 16:38:19 +02:00