Commit Graph

16237 Commits

Author SHA1 Message Date
StackOverBuffer
fec165fb86 Add power sensor for eaton ups (#10306)
* Add power sensor for eaton ups

* removed whitespace at end of line

* add test data
2019-06-11 23:46:43 -05:00
TheGreatDoc
8c69d7dac8 Support for Fibernet XMUX4+ (#10331)
* Support for Fibernet XMUX4+

* Update fibernet.svg

remove length and width, add viewbox
2019-06-11 22:16:10 -05:00
Tony Murray
6e7908a49e
Update dependencies (#10325)
* Update dependencies
Removed symfony/contracts (v1.0.2)
Installed kylekatarnls/update-helper (1.1.1)
Updated symfony/polyfill-ctype (v1.10.0 => v1.11.0)
Updated symfony/yaml (v4.2.4 => v4.3.1)
Updated influxdb/influxdb-php (1.14.7 => 1.15.0)
Updated symfony/process (v4.2.4 => v4.3.1)
Updated symfony/finder (v4.2.4 => v4.3.1)
Updated symfony/filesystem (v4.2.4 => v4.3.1)
Updated symfony/polyfill-mbstring (v1.10.0 => v1.11.0)
Installed symfony/service-contracts (v1.1.2)
Installed symfony/polyfill-php73 (v1.11.0)
Updated symfony/console (v4.2.4 => v4.3.1)
Updated symfony/debug (v4.2.4 => v4.3.1)
Updated composer/xdebug-handler (1.3.2 => 1.3.3)
Updated composer/spdx-licenses (1.5.0 => 1.5.1)
Updated composer/semver (1.4.2 => 1.5.0)
Updated composer/composer (1.8.4 => 1.8.5)
Updated symfony/css-selector (v4.2.4 => v4.3.1)
Updated symfony/polyfill-php72 (v1.10.0 => v1.11.0)
Updated symfony/var-dumper (v4.2.4 => v4.3.1)
Updated symfony/routing (v4.2.4 => v4.3.1)
Updated symfony/polyfill-intl-idn (v1.10.0 => v1.11.0)
Installed symfony/mime (v4.3.1)
Updated symfony/http-foundation (v4.2.4 => v4.3.1)
Installed symfony/event-dispatcher-contracts (v1.1.1)
Updated symfony/event-dispatcher (v4.2.4 => v4.3.1)
Updated symfony/http-kernel (v4.2.4 => v4.3.1)
Updated symfony/polyfill-iconv (v1.10.0 => v1.11.0)
Updated egulias/email-validator (2.1.7 => 2.1.8)
Updated swiftmailer/swiftmailer (v6.2.0 => v6.2.1)
Updated opis/closure (3.1.6 => 3.3.0)
Installed symfony/translation-contracts (v1.1.2)
Updated symfony/translation (v4.2.4 => v4.3.1)
Updated nesbot/carbon (1.36.2 => 1.38.4)
Updated league/flysystem (1.0.50 => 1.0.52)
Updated erusev/parsedown (v1.7.2 => 1.7.3)
Updated dragonmantank/cron-expression (v2.2.0 => v2.3.0)
Updated lcobucci/jwt (3.2.5 => 3.3.1)
Installed psr/http-factory (1.0.1)
Updated zendframework/zend-diactoros (1.8.6 => 2.1.2)
Updated nexmo/client (1.6.3 => 1.8.1)
Updated barryvdh/laravel-ide-helper (v2.6.1 => v2.6.2)
Updated laravel/dusk (v5.0.2 => v5.1.0)
Updated sebastian/environment (4.1.0 => 4.2.2)
Updated phpunit/php-timer (2.1.1 => 2.1.2)
Updated theseer/tokenizer (1.1.0 => 1.1.2)
Updated phpdocumentor/reflection-docblock (4.3.0 => 4.3.1)
Updated doctrine/instantiator (1.1.0 => 1.2.0)
Updated myclabs/deep-copy (1.8.1 => 1.9.1)
Updated phpunit/phpunit (7.5.7 => 7.5.12)
Updated staudenmeir/dusk-updater (v1.0.3 => v1.1.1)
Updated symfony/dotenv (v3.4.23 => v3.4.28)
Updated nikic/php-parser (v4.2.1 => v4.2.2)

* Fix tests
2019-06-11 21:37:01 -05:00
VVelox
d071c8b403 sort arrays before storing them in a component (#10329) 2019-06-11 07:52:42 -05:00
Tony Murray
1ae77dfb70
Fix language select for new languages (#10323) 2019-06-07 21:07:49 -05:00
Tony Murray
cf35d99319
Warn maintenance tasks are disabled (#10273) 2019-06-06 23:41:00 -05:00
SourceDoctor
349e102b73 enhance smart to show power_on_hours also (#10261) 2019-06-06 23:39:22 -05:00
djamp42
e6ad2b5bb8 Cisco UCOS Version and Feature Fix (#10307)
* Fix Software Version #

I don't think setting $firmware does anything, not to mention the regex wasn't matching correctly. I tested this fix tons of different software versions and they all seem to work.

* Revert "OS CIMC Software Version Number"

* version and features

* fixed feature

* Fix Extra Blank line EOF
2019-06-06 23:37:26 -05:00
SourceDoctor
b9ed72f1c7 mdadm rrd graph fix (#10312) 2019-06-06 23:35:20 -05:00
Daniele Viganò
c7228e3b55 Extend the Dell drac module to report CMC status and sensors (#10310)
* Extend the Dell drac module to report CMC status and sensors

* CMC status sensors do not have chassis id

* Update test data for drac OS

* Add missing test data for drac os
2019-06-06 23:21:52 -05:00
Vitali Kari
00b148dbd3 Add MPLS Support (#10263)
* WIP - Add MPLS Support
This introduce the generic MPLS support
- New database tables for MPLS LSPs
- actually discovery and polling on NOKIA SR OS (Timetra) devices
- new routing->MPLS HTML pages

- ToDo MPLS LSP paths table and views
Suggestions and improvements are welcome

* add db schema

* some fixes

* add path table, discovery and polling

* add path views

* add test data

* Convert MPLS module to new style
Implement a SyncsModels trait to simplify code a lot

* abs() for negative value from snmp (bug?), test data

* fix db schema

* Fix up test data, remove uneeded data in json

* fix whitespace
2019-06-06 16:12:13 -05:00
Tony Murray
2f96570c3f
fix smokeping graphs (#10317)
include pointed to the wrong place
2019-06-06 09:08:34 -05:00
jozefrebjak
47be799234 update syslog.md (#10309) 2019-06-05 22:21:53 -05:00
ckforum
9dc60029be change <h2></h1> ? by span and class like the other (#10305)
* change tab <h2></h1> ? by tab span and class like the other

replace bad tag h1 h2 by span and class to be in phase with the others link

* Update sensors-common.php
2019-06-05 22:14:03 -05:00
Tony Murray
3129dd3148
Restore cimc data (#10308) 2019-06-04 20:41:44 -05:00
Tony Murray
6ba05cdbbb
Enable menu translation (#10298)
And better translation support for sensors, not complete
2019-06-04 20:03:50 -05:00
Tony Murray
cc0fa745b2
Don't include time macros in field list (#10299)
They can only be used as the value
2019-06-03 22:34:34 -05:00
Tony Murray
16471931c0
Fix style (#10304) 2019-06-03 22:33:08 -05:00
djamp42
e514cbc3e1 CIMC Version Fix (#10284)
* Fix Software Version #

I don't think setting $firmware does anything, not to mention the regex wasn't matching correctly. I tested this fix tons of different software versions and they all seem to work.

* Revert "OS CIMC Software Version Number"

* cimc-version-fix

* added test data

* Update cimc.snmprec
2019-06-03 22:32:41 -05:00
jozefrebjak
bee4dbcd44 Changed color of Non Unicast Packets (#10289) 2019-06-03 22:25:22 -05:00
ckforum
cafe057001 Add overlib link css class for changing background color - Update Url.php (#10300)
* Update Url.php

Ad css class to onmouserover event and overlib, easyer to change color of background ex.: for a dark theme vs bg color hardcoded

* Update styles.css

* Update Url.php

* Update librenmsv1.blade.php
2019-06-03 19:40:56 -05:00
Tony Murray
1c1b07fee5
Restore vminfo menu (#10303) 2019-06-03 19:15:13 -05:00
Tony Murray
6f6e8e9f1c
Fix global service count showing on device overview (#10301) 2019-06-03 19:14:35 -05:00
Tony Murray
437a577dba
allow -24h style to/from for graphs again (#10294) 2019-06-02 01:18:50 -05:00
Tony Murray
15d72c23b0
Dispatcher Service: Remove duplicate polling complete message (#10290) 2019-05-31 20:04:29 -05:00
Tony Murray
41623f2894
User Management: use url helpers (#10288)
Small fix for success string
2019-05-31 20:04:01 -05:00
Adam Bishop
75b67f2d41 Add a 'session' sensor for PanOS, SRX5800 Flow Accounting (#8857)
* feature: Add a 'session' sensor type
This allows things like the SRX5800 SPU's to be graphed as they expose current and maximum usage in a table.
The intent is to contain things like TTY sessions, flow counters from other vendors, or other resources with support a finite number of simultaneous users or connections.

* Include the node description in the descr field

Chassis clusters use the same FPC's

* Track PanOS session count

* Add JunOS CP Flows

* Missed file containing overview

* Missed a spot

* remove custom sessions sensor and use count

* Update junos.yaml

* Update panos.yaml
2019-05-31 07:47:15 -05:00
Marlinc
93f3528bbf Add Ipoman power consumption support (#10244)
* Add Ipoman power consumption support

* Create ipoman.json
2019-05-31 07:43:54 -05:00
Tony Murray
9faae11381
Sanitize graph input (#10276)
Could execute arbitrary rrdtool commands such as cd and ls.
2019-05-31 07:43:12 -05:00
Tony Murray
eea0d4d359
Only allow mysql auth type to add users (#10283) 2019-05-31 00:57:36 -05:00
CirnoT
241b07756f Don't show warning when ignored device is online (pingable) (#10286)
* Don't show warning when ignored device is online (pingable)

* Update logic for header on device page too

* Make codeclimate happy
2019-05-30 14:46:33 -05:00
Tony Murray
27bc9a1cfb
Fix hytera_h2f bug (#10281) 2019-05-30 09:56:27 -05:00
PipoCanaja
ccb6e2e614 Removed broken POE graphing code (#10188)
* remove broken POE graphing code

* remove broken POE graphing code

* add missing iosxe condition
2019-05-29 13:37:00 -05:00
Tony Murray
ea45fd9d42
Store language select name in translation files (#10272)
* Move language selection string to translation files
Falls back to locale name

* Reload page for locale changes
2019-05-29 13:36:07 -05:00
Martijn Schmidt
9455a83478 Convert OS mrv-od to yaml, discover more sensors, discover entity-physical (#10266)
* Dynamic entPhysicalIndex values for YamlDiscovery

* Use degree symbol when displaying temperature values

* Adjust SNMP options for new snmp_get_multi()

The OS polling module for mrv-od was using snmpget commands with
-Ovqs, rather than -OQUs, which meant that the equal sign was
stripped in the snmpget output. But that equal sign is now used
as the explode() delimiter so it broke the construction of the
returned array for the snmp_get_multi() function.

Additionally, I removed the NBS-CMMC-MIB:: prefix which is no
longer returned by snmp_get_multi() as part of the OID. Now,
the mrv-od.inc.php OS polling module is retrieving data from
positions in the array with actual content.

* Convert mrv-od to yaml, improve sensors discovery

Converted sensors discovery for mrv-od to yaml, retaining all
functionality for pre-cache, dbm, and temperature. Replaced specific
SFF-8472 Digital Diagnostics state sensors with generic ones, given that
we are now reading out detailed values through new dbm, current, voltage
sensors.

Reasoning: the generic Digital Diagnostics state sensors report state
diagsOk, or else the worst severity level measured among all of the
Digital Diagnostics values for that optical data point. You'd really
only want to set a generic "alarm" so the box can report that it
thinks something is wrong, whereafter a human can look at the graphs
and/or the CLI to draw their conclusions about the alarm. Otherwise,
things would quickly become too spammy as you are essentially duplicating
every sensor across both regular measurements and state measurements.

Further changes:
- Increase maximum number of detected PSUs from 4 to 8 per the MIB.
- State sensor to detect (in)sufficient power budget for all modules.
- Use skip_values to hide state sensors with the notSupported value.
- Use skip_values to hide sensors which are unsupported per the MIB,
  signified by the device returning special values -1 or -2147483648.
- Add dBm, temperature "over" graphs to the mrv-od device header bar.

* Add mrv-od entity-physical support

MRV does not use the ENTITY-MIB data format, so we had to reconstruct
the inventory from their proprietary format using the following tables
from their NBS-CMMC-MIB:

- nbsCmmcChassisTable
- nbsCmmcSlotTable
- nbsCmmcPortTable

Additionally, since sensors didn't have their own ifindex in the
NBS-CMMC-MIB, I went ahead and appended the last OID digit to
the "containing" ifindex create a unique number. The same was
done for the sensors in the yaml-discovery.

* Test data for mrv-od, fix 2* pre-commit.php issues

* Fix entPhysicalIndex returning 0 instead of null

Some unit test breakage was caused by 62167ebcb which changed
the code to return 0 instead of null when {{ $index }} was
set as the entPhysicalIndex in the YamlDiscovery. So now we
detect if it returns some value which may be interpreted as
false, and if so we set null rather than 0.
2019-05-29 13:30:33 -05:00
Tony Murray
54e4d0910a
Sanitize report name in pdf.php (#10270)
Authentication users could include arbitrary file.
2019-05-29 09:39:17 -05:00
Arnoud Vermeer
f14b90a1ef Icotera support for 6400 and 6800 series. (#9755)
* Icotera support for 6400 and 6800 series

* Fix broken test data
2019-05-29 09:37:10 -05:00
PipoCanaja
0a26f38c34 Move CISCO-DOCS-EXT-MIB to correct directory (#10271) 2019-05-29 14:14:35 +02:00
Llarian
0e36e52a63 Fixed Quick Graphs bug w/ Aggregate 95th code (#10269)
* Added configuration options to aggregate input and output bits before making 95th percentile billing calculations

* Changed aggregate to per-bill instead of global.  Added config options for making aggregate the default selected option.  Refactored out mres() calls in touched files.  Changed to Config::get where appropriate.

* Fixed documentation typo

* Fixed scope of aggregate default config option to be under billing

* Fixed getRates issue in Quick Graphs section of 95th percentile bill

* Added configuration options to aggregate input and output bits before making 95th percentile billing calculations

* Changed aggregate to per-bill instead of global.  Added config options for making aggregate the default selected option.  Refactored out mres() calls in touched files.  Changed to Config::get where appropriate.

* Fixed documentation typo

* Fixed scope of aggregate default config option to be under billing

* Fixed getRates issue in Quick Graphs section of 95th percentile bill

* Fixed formatting
2019-05-28 23:39:31 -05:00
jozefrebjak
824bcb7f16 Added detection and sensors for Huawei SMU device (#10267)
* added new os huawei-smu
* Create huawei-smu.inc.php
* added snmprec test
* added json test
* Update huawei-smu.json
* Update huawei-smu.json
* updated os definition
* added sensors of SMU
* Update huawei-smu.inc.php
* Create HUAWEI-SITE-MONITOR-MIB
* Update huawei-smu.snmprec
* Update huawei-smu.yaml
* Update huawei-smu.json
* Update huawei-smu.snmprec
2019-05-28 14:57:11 +02:00
PipoCanaja
0ae1f30f7d Indent cleaning for bills (#10268)
* Correct indentation and empty lines

* Update new_bill.inc.php

* Update addoreditbill.inc.php
2019-05-28 07:08:24 -05:00
Michael Ducharme
902c056f62 Fix for RouterOS LLDP discovery (#10265)
* Fix for RouterOS LLDP discovery

Only the first nine neighbors were correct on RouterOS - missing hexdec() led to the remaining neighbors being linked to the wrong ports. Ex. port 10 in hex was incorrectly linked to port 10 decimal when it should be 16 in decimal

* Added test data for MikroTik RouterOS CRS317 switch
2019-05-28 08:32:51 +02:00
Llarian
9c837bee87 Added aggregate config option to Billing 95th percentile calculations (#10202)
* Added configuration options to aggregate input and output bits before making 95th percentile billing calculations

* Changed aggregate to per-bill instead of global.  Added config options for making aggregate the default selected option.  Refactored out mres() calls in touched files.  Changed to Config::get where appropriate.

* Fixed documentation typo

* Fixed scope of aggregate default config option to be under billing
2019-05-27 21:44:02 -05:00
Tony Murray
38a638358d Bump version to 1.52 2019-05-27 20:20:13 -05:00
Tony Murray
c5d48592c1 Changelog for 1.52 2019-05-27 20:20:11 -05:00
Tony Murray
aff2ac49e7
Dispatcher Service: ping and services did not respect assigned poller groups (#10259)
* Dispatcher Service: alerting and ping did not respect assigned poller groups

* Fix issue (missing comma)
add log entry for mysql errors
2019-05-25 19:08:04 -05:00
Spencer Butler
5c39c41891 Updated OS (ftd) for Cisco FirePOWER devices (#10046)
* Adding support for Cisco FirePOWER devices

* update OS (ftd)

* Update ftd.yaml
2019-05-24 08:02:51 -05:00
kmpanilla
dbd0066269 Update to planetos.inc.php for ISG-* models (#10152)
* Update to planetos.inc.php for ISG-* models

Gets the proper hardware model# and version of the planet IGS-* series.

* Added test files

* Update planetos.inc.php

* Update planetos.inc.php

* Update planetos.json

* Update planetos.json

* Delete planetos.json

* Update planetos_igs-10020mt.json
2019-05-24 08:01:58 -05:00
Michael Ducharme
38bbf0b55b Instructions for logstash (#10252)
* Instructions for logstash

How to configure logstash to send syslog to LibreNMS

* remove silly ssh syntax tags

* Fixed date formatting issue for afternoon times
2019-05-24 07:36:36 -05:00
Tony Murray
a9fef6eb9a
Add snmp traps to the changelog (#10255)
put ucwords in the wrong place >.<
2019-05-24 07:35:50 -05:00