Commit Graph

17145 Commits

Author SHA1 Message Date
Tony Murray
0e9cd8fbc4 SIAE Radio: add additional sensors and data (#11498)
* SIAE add additional sensors and data
Improved labels
Modulation
Rate
Serial Number
Hardware name

* Add total rates

* was supposed to be divisor

* Short array syntax
2020-05-01 22:11:35 -05:00
SourceDoctor
ca1c35ade0 String Nicement for RRDCached - also alphabetic sort (#11517) 2020-05-01 22:08:21 -05:00
Adam Bishop
df3f3d636d os_schema is missing a module (#11511) 2020-05-01 22:07:30 -05:00
Guillermo
7505ed6757 fix double escaping in influxdb datastore (#11503) 2020-05-01 22:04:56 -05:00
spencerryan
a545c87ad5 Allow manual configuration of Pagerduty Integration Key (#11519)
* Allow manual configuration of Pagerduty Integration Key

Pagerduty supports a global event queue per account and provides the integration key for it. This allows you to enter the key directly and bypass the OAuth workflow if desired.

* Update Pagerduty.php

Fixed spacing.
2020-05-01 22:03:11 -05:00
Tony Murray
5ac05e9221 Fix new bill search input (#11524)
* Work around select2 in a modal

* Update select2
2020-05-01 21:49:36 -05:00
SourceDoctor
d941fbe91b Adjust RRDCached Event Graph Adjustment (#11528) 2020-05-01 21:46:58 -05:00
Tony Murray
9ece98cdf2 Fix lcos PHP 7.4 incompatible code (#11497) 2020-05-01 09:48:22 -05:00
Arjit Chaudhary
08a8f082ce sync bootstrapSwitch style with the other tabs (offColor danger) (#11513) 2020-05-01 14:13:31 +02:00
Nicolas Simond
954cb87e03 Updated Index to add the doc for Debian 10 (#11515)
Updated Index to add the documentation for Debian 10 with NGINX
2020-05-01 10:25:09 +02:00
Arjit Chaudhary
e23329aa30 Limit port, seconds, retries, max repeats and max OIDs to numeric type (#11512) 2020-05-01 01:54:18 +02:00
Arjit Chaudhary
5eef90b9ad put all the stats into the optionbar (#11501)
* put all the stats into the optionbar

* display output in 1 line
2020-05-01 01:30:33 +02:00
SourceDoctor
85edd3a04a fix default uptime warning to 86400 seconds (#11507) 2020-04-30 22:47:11 +02:00
Jozef Rebjak
33e0d1303a Added center align for Login Form Footer (#11499) 2020-04-30 13:50:14 +02:00
Tony Murray
3e08e6d6d7 Restore hidden ports tab (#11502) 2020-04-29 23:38:31 -05:00
Tony Murray
055abcf443 Device page dropdown hero button, Performance -> Latency (#11328)
* Throw some shit together, rough outline.

* Reorganize tabs, use tab controllers

* Implement performance (into the latency tab)

* Update resources/views/device/header.blade.php

Co-Authored-By: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Add more tabs

* All controllers created

* Implement routes

* Implement smokeping

* routing and auth

* fix smokeping check

* Implement device dropdown menu

* Update deviceUrl to new style

* Use Gates

* Fix style

* use more appropriate gates

* add show-config gate
remove Laravel helper

* Only show vlan tab if VLANs exist for the device :D

* Fix rancid file check will return false

* revert over-zealous file name changes

* don't need to request the location parameter, just cast to string to avoid bugs when not found

* Move latency tab (ping/performance) to the position of performance instead of ping.

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-04-29 07:25:13 -05:00
Adam Bishop
ce8de5cb18 Support FreeNAS/TrueNAS 11.3 (#11494)
* Support FreeNAS/TrueNAS 11.3

Seems the latest release changes the SysObjectID from FreeBSD to
their own enterprise number.

I've left the old FreeBSD enterprise number in place, so both
older and newer releases will be detected.

* Test data
2020-04-28 15:50:00 +02:00
Tony Murray
84c1f1a0b6 Bump version to 1.63 1.63 2020-04-27 22:52:42 -05:00
Tony Murray
f078371145 Changelog for 1.63 2020-04-27 22:52:41 -05:00
Adam Bishop
83dd1f0a16 Detection, sensors and zpool/dataset usage for FreeNAS, TrueNAS (#11474)
It's also possible to do zpool IO from the MIB, but diskIO on
LibreNMS makes a lot of assumptions about it coming from the UCD
MIB.

This changeset adds detection for FreeNAS and TrueNAS - despite
having their own enterprise number, the snmpd uses the FreeBSD
one.

The naming is a bit all over the place, because this reflects
reality - IXSystems produce FreeNAS and TrueNAS, the product lines
have merged to eliminate FreeNAS, but TrueNAS still calls itself
FreeNAS everywhere except the GUI.
2020-04-27 17:23:44 +02:00
Lars Elgtvedt Susaas
9c906a30d8 remove duplicate type="submit" (#11493)
type="submit" is set two times.
so i remove one of them
2020-04-27 17:19:41 +02:00
Hans Erasmus
3169e663d1 Remove webtatic repo from CentOS install docs (#11490)
I personally have no problem with them, but after a recent discussion in discord about a user asking which Repo, it got me thinking that maybe we should also stick to what the OS providers have to say? I see that (obviously) SCL and remi is on the trusted list, so shouldn't the install docs rather stick with them?
https://wiki.centos.org/AdditionalResources/Repositories
2020-04-27 09:07:16 +02:00
gonzocrazy
eb76218127 Opengear add mempool discovery+polling (#11491)
* opengear MemPools

Discovery and Polling of opengear mempools - opengear Detail Memory Usage is already collected however that can not be used to trigger rules.

* add test

opengear mempools tests

* remove newline
2020-04-27 09:04:57 +02:00
Jurrian van Iersel
d61cfb5688 Added sensors for outlets on Schleifenbauer devices. (#10949)
* Added sensors for outlets on Schleifenbauer devices. Also use the outlet name when configured.

* Updated tests for Schleifenbauer

* Fixed on test for Schleifenbauer

* Optimized polling by retriving only outlets from the device with the network connection, not all devices on the data-bus.

* Fixed code styling

* Use shorthand comparisons for names

* Fix for conflicting $entPhysicalIndex
2020-04-27 00:35:00 +02:00
Lucas Dousse
5242c26fb4 Add ASP sms provider (#11489) 2020-04-26 19:40:19 +02:00
dGs-
a50558cbc7 doesn't add not available sensors (#11259) 2020-04-26 13:33:11 +02:00
Adam Bishop
3690ca4928 Add OS detection for Greenbone appliances (#11464)
* Add OS detection for Greenbone appliances

They don't expose anything fancy over SNMP, but this makes them
display interface names correctly. Under the hood they're unix-y.

Greenbone logo is from the AGPLv3 gsa, which is GPL compatible:
https://github.com/greenbone/gsa/blob/master/gsa/public/img/greenbone.svg

The mib is included for completeness, but it doesn't expose any
graphable values.

* Fix the vendor's logo
2020-04-26 13:11:49 +02:00
SourceDoctor
e28b86a295 Fix - Show OS specific mouseover (#11457) 2020-04-26 13:11:13 +02:00
Anael Mobilia
1b7d0dd4e9 Add transport for Smsmode (SMS provider) (#11332)
* Add transport for Smsmode (SMS provider)

* Delete Smsmode.php

* Add SMSmode to doc using API transport
2020-04-26 13:02:04 +02:00
Hans Erasmus
aa68be59a2 Fixed a small typo (#11487) 2020-04-26 12:52:43 +02:00
Johan "Zwixxel" Zaxmy
7bfc2f9f57 Fixes evaluation order so unathenticated access works (#11485) 2020-04-26 12:45:31 +02:00
Tony Murray
d4225806a8 Run docs tests when only docs are modified. (#11483) 2020-04-25 21:43:03 -05:00
Nicolas Simond
cd9e5327bd Updated summary to add new doc (#11482)
Updated summary to add installation doc for Debian 10 (Nginx): Installation/Installation-Debian-10-Nginx.md
2020-04-25 16:03:25 +02:00
Nicolas Simond
d5002593b2 Created installation for Debian 10 (#11481)
* Created installation for Debian 10 

Based on the one for Ubuntu 18.04

* Update Installation-Debian-10-Nginx.md
2020-04-25 13:14:52 +02:00
Mathieu Poussin
fc391090e1 BGP Polling: Add error code management (#11424)
* BGP Polling: Add error code polling

* Rework describe_bgp_error_code and fix bgp error fields migration

* Add real test data for IOS-XR and Arista EOS
2020-04-24 22:47:20 -05:00
Tony Murray
fc0c357b23 Toggle dashboard editor without refresh (#11455)
also removes needless route
2020-04-24 22:29:44 -05:00
Tony Murray
c31d58f9bb Restore click on Dashboard menu entry (#11478)
* Restore click on Dashboard menu entry
This breaks the submenu on mobile.  We will have to come up with a better long term solution.

* use route helper since it exists
2020-04-24 19:36:26 +02:00
Jellyfrog
05507526c0 Set PHP 7.2.5 as minimum supported version (#11470) 2020-04-24 11:04:36 +02:00
Adam Bishop
b7b298806f OS detection and sensors for Dell Compellent (#11467)
* OS detection and sensors for Dell Compellent

... or Dell storage as it is now known. Under the hood it's
referred to as Compellent, so I've named it as that to avoid
confusion.

It is not part of the Dell group or using the Dell MIB folder -
Dell have doubled up on some OID definitions, which means the MIB
here and a couple of the existing ones conflict.

The change adds OS detection and a frankly ludicrous amount of
sensors. I have access to a relatively low end device, so at the
moment everything under *ctlr* is my best guess based on the other
table layouts.

* Set sensor state_name to avoid collisions

* Regenerate test data
2020-04-23 22:58:22 -05:00
arrmo
e3c1a3bbef Add OS version to asuswrt-merlin (#11438)
* Add OS version to asuswrt-merlin

* Add test data, for latest asuswrt-merlin updates

* Updated / corrected test files, snmprec and json
2020-04-23 22:50:30 -05:00
Hans Erasmus
91574c9899 Add php-opcache settings to Performance Tuning (#11452)
* Add php-opcache settings to Performance Tuning

* Updated according to comment made by @murrant

* Changed the content based on discussions in Discord.

* Fixed space.

* Incorporated all changes as per ongoing discussions

* My recommendations.

* My reply to recommendations.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-23 22:42:57 -05:00
robwilkes
daebf8c765 Cisco sensor discovery fixes (#11077)
* Sev and Rel terminology varies between devices

* Most temp sensors don't have low limits, so adding

* update test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-23 22:30:27 -05:00
priiduonu
3263839780 rename $state to $state_name (#11473)
rename $state to $state_name to keep better consistency with other modules
2020-04-23 13:44:02 -05:00
priiduonu
4df3310d4d Fix: Raspberry Pi frequency sensors discovery (#11460)
* Fix: Raspberry Pi frequency sensors discovery

* updated test data

* update test data again

* fixed Raspberry Pi codec states
2020-04-22 21:53:27 -05:00
Jellyfrog
d2a9ffdb83 Fix case sensitiv translations (#11463)
On case insensitive systems, @lang('Auth') would match the auth.php file
and return an array instead of the string "Auth", causing a "Array to string conversion error"
2020-04-22 23:57:30 +02:00
Wheel
59222847b9 Ubiquiti Airfiber LTU many more sensors (#11382)
* Update AFLTU mib

* Airfiber LTU details

* More detailed graphs for Ubiquiti AF-LTU

* Travis fix

* Cleanup and Modulation change

* Ethernet port status

* SNMPrec

* SNMP data json
2020-04-22 01:30:35 -05:00
mathieu-oui
5c52403dd1 Fix PanOS Sessions count and add Vsys and other sensors (#11341)
* fix panos sessions and sslproxy

* add test file

* update mibs

* add tests

* test correction

* delete useless line

* correction

* correction mib

* Add additional sensors

* test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-22 01:27:54 -05:00
Adam Bishop
4c14efb375 Fix routing engine discovery on standalone JunOS devices (#11381)
* Fix routing engine discovery on standalone JunOS devices

In #9426, the sensor discover code was replaced with YAML.
Unfortunately it treats the FRU table as standalone OIDs, and did not
implement the filtering that was present in the original code.

This change causes LibreNMS to fully walk the FRU table, which allows us
to silence alerting on devices with an 'unknown' status. Without this
change, standalone devices have a spurious routing engine with state 1,
which triggers false harware failure alerts.

As we're changing the name of the sensors, this causes a loss of sensor
history.

This has been brought up on community a couple of times:
  https://community.librenms.org/t/juniper-qfx-routing-engine-state-alert/6152
  https://community.librenms.org/t/spurious-failed-routing-engine-from-some-junos-devices/6208

* Update test data

* Update test data

* Update test data

* Update test data

* This syntax works, but fails linting
2020-04-22 01:23:51 -05:00
Heath Barnhart
10660261df pagerduty transport uses template message (#11459) 2020-04-21 23:48:23 +02:00
Johannes Lundeteg
c917de6fe1 Added Cisco Firepower 1010 (#11449) 2020-04-21 12:43:15 -05:00