Commit Graph

6242 Commits

Author SHA1 Message Date
Martin Zatloukal
dd26e702be Added support EdgeCore ECS2100-10T (#10843)
* Added support EdgeCore ECS2100-10T
2019-11-19 15:40:53 +01:00
István Sárándi
c22fa10636 Fix name of an NVIDIA metric (#10837)
The NVIDIA application obtains its metrics from nvidia-smi dmon. Its built-in help (nvidia-smi dmon --help) says that the pviol and tviol columns stand for "Power and Thermal Violations". Therefore the metric should not be called Thermal Violation Percentage, but Power Violation Percentage.
2019-11-18 15:08:24 +01:00
PipoCanaja
bf181b9dc2 Added support for routing table collection in discovery (#10182)
* Clean broken VRF lite code
* Change DB table for route discovery
* Add VRF simple support
* add port_id to db and discovery
* static-fy the translation arrays
* sort and search cleaning
* Sorting refactor and validation
* formatItem shortened
* Handle ifIndex==0 meaning no next hop defined (MPLS)
* Sync all create/updates
* purge in daily
* remove old route table
* get rid of inetCidrRouteNextHop_device_id
* fix wonky column orders
* add route snmprec
* fix sorting by interface
* Move to new config
* rename to route the new table
* Properly display ipv6 compressed addresses
* Translation before merge ./lnms translation:generate
* Update manifest
2019-11-17 16:30:43 +01:00
nomyownnet
8784459927 Added hardware and software version for ASR9906 (#10826)
* Added hardware and software version.
* Added oids.

Tested against NIOS-XR 6.5.3 on ASR-9906
2019-11-16 20:30:40 +01:00
Vitali Kari
7c1e6cb8cf Add support for ZyXEL IES-5005 and IES-5106 DSLAMs (#10804)
* Add support for ZyXEL IES-5005 and IES-5106 DSLAMs

* remove cpu high_limit

* fix broken mib VDSL2-LINE-TC-MIB
rework os polling
2019-11-16 18:17:25 +01:00
SourceDoctor
75f3a7ff12 alphabetic order of app overview (#10825)
* alphabetic order of app overview

* change sortby to orderby
2019-11-16 16:45:45 +00:00
Neil Lathwood
8737ba22a3 Removed strict checking for Oxidized config (#10822) 2019-11-15 14:19:36 +00:00
Tony Murray
dec9a498ee Updated device cache support (#10795)
* Device Cache
also some additional device related models

* attribs from cache

* replace common attribute functions

* remove legacy cache usage
tidy up some collection manipulation
remove some unused or single use functions

* cleanup some items

* always return a device, to prevent bugs

* clear device cache when testing after each test

* fix double assignment

* Clean up function to take advantage of null object
2019-11-14 21:56:06 +00:00
louis-oui
d1c73b14f3 Fixed maps display when multiple links are present between devices. (#10818)
* Fix maps display only one link if multiple links are present between devices.
* Simplify test mac in network_map_items
2019-11-14 20:36:01 +01:00
joretapoo
2fa91fcbe7 Add interval extra var on API add_rule and edit_rule (#10814) 2019-11-14 18:46:11 +00:00
MattWSL
3872de40c7 IP address restriction for ip field in add_service_for_host removed as this restriction is not in the Web front end, and doesn't allow https sites to be added correctly. (#10810) 2019-11-14 18:45:41 +00:00
Chris A. Evans
5bdfd57b84 Add check_oracle service include file and make 'packet_loss_' macro alerts not use radio buttons (#10807)
* - Adjust Alerting Query Builder logic to not use boolean/radio buttons for 'packet_loss_' macros
- Add nagios check script for "check_oracle", which fails on the fallback logic because it does not accept IP/hostname via the '-H' flag

* Update check_oracle.inc.php
2019-11-14 18:45:00 +00:00
PipoCanaja
b89d80dc02 Perf optimisation for xDSL mib polling (#10815)
Only call snmpwalk once, instead of 20, to avoid havin to face up to 20 times the timeout. Decreased drastically polling time on some Cisco 887 / 897 devices
2019-11-14 18:39:47 +00:00
Gilles Depeyrot
85532b8a58 Clarify wording of disable/alert device settings and dependency between the two settings (#10809)
* Corrected filtering of devices under maintenance

* Clarify wording of disable/alert device settings and dependency between the two settings

* Disable "Ignore alerts" checkbox according to initial setting of "Disable polling"

* Correct initial enabling/disabling of 'Ignore alerts'

* Remove not functional js code
2019-11-14 08:03:23 +01:00
Erik
a5f53eee2a Brocade switches - Added names on fiberchannel ports (#10737)
* Added brocade ports

* Create brocade.inc.php

* Update functions.php

* Update functions.php

* Update brocade.inc.php

* Try to remove complexity

* Removed white space

Removed white space

* Added testdata

* removed temp variable

* Update functions.php

* Create brocade.inc.php

* Added fill ifAlias for fibrechannel ports

* Update functions.php

* Update brocade.inc.php

* Update fabos.json
2019-11-13 14:29:30 +00:00
Jozef Rebjak
c69efb3444 Added support for Mikrotik LTE Modem (#10805)
* Added support for Mikrotik LTE Modem

* Deleted mistaken file

* Travis fix

* Another Travis fix
2019-11-13 11:31:32 +00:00
Grammatopoulos Athanasios-Vasileios
a43f0ea757 UI bug fix - Scroll disabled on "new rule from collection" modal (#10796)
* Wait modal to close before opening a new one

* Improved based on @Jellyfrog's suggestion
2019-11-13 06:06:43 +00:00
seros1521
1b5253fb3d Comparison fix in slas.inc.php (#10812)
In the 'slas' table, the column 'opstatus' is of type int. The current
comparison does not work correctly - in the web-interface all sla-probes are
displayed as 'down', even if the status = 0 in the table (0 is OK).
2019-11-13 06:03:08 +00:00
dlesel
c95661b482 Added AIX file system, prefer over hrstorage for AIX (#10588)
* Added AIX file system, ignore hrstorage for AIX

* Add AIX Test Data

* Add AIX Test Data 2

* remove includes/polling/os/aix.inc.php

* Update AIX Test Data

* Corect spaces in code

* Update code to correctly disable hrStorage for AIX

* Update aix.json

* Update aix.svg

* Delete aix.svg

* Update aix.svg

* Delete aix.svg
2019-11-13 06:01:45 +00:00
Tony Murray
12773d125b API: list_arp search by MAC (#10803)
* API: Allow search ARP by MAC

* reformat mac

* Update docs
2019-11-13 02:21:07 +00:00
SourceDoctor
dc751123bc fix restricted application access for normal user (#10802)
* fix restricted application access for normal user

* travis fix

* use of Permissions class

* travis fix

* Update default.inc.php

* Update overview.inc.php

* travis fix
2019-11-13 02:08:21 +00:00
Jellyfrog
2feb28440a Added support for HP PDU Management Module (#10784) 2019-11-12 13:36:01 +01:00
Vitali Kari
a31aef6313 Add support for ZyXEL IES4206/5206/5212/6217 MSANs (#10789)
* - update yzyxel mibs
- update definitions für ies series
- slot state and alarm support via yaml

* more sensors

*  add new device Zyxel IES4206

* restore original ies files

* revert function stuff

* update to latest official mib

* rebase
2019-11-12 10:22:08 +01:00
Brian Sidebotham
67169bf7b9 Create device groups via API (#10791)
* Add POST ability to devicegroups API endpoint

* Simplify function and make use of Lavarel validation for API request
2019-11-08 13:11:56 +00:00
SourceDoctor
b47d1dd364 adding values for recurring state (#10793) 2019-11-08 05:48:05 +00:00
Jellyfrog
53601c943b Add a deprecated warning to the front pages (#10783) 2019-11-07 23:08:02 +01:00
PipoCanaja
f8fb0496b5 Updated device support for Chatsworth-PDU (#10769)
* chatsworth-pdu extension

* tests

* allow snmp_flags in pre-cache

allow snmp_flags in precache

allow snmp_flags in precache
2019-11-06 21:43:27 +00:00
PipoCanaja
145e345b5d Added support for Nexans Switches (#10772)
* Nexans basic

Nexans basic

Nexans basic

* tests

minify

clean

* multiget + header
2019-11-06 21:31:06 +00:00
SourceDoctor
00b764d16b Bootstrapping checkboxes (#10782) 2019-11-05 23:26:11 +01:00
SourceDoctor
4d50feffb3 Added certificate file validity check for services (#10354)
* snmp extend for monitoring certificate file validity

* Update Applications.md

* Update Applications.md
2019-11-05 21:56:31 +00:00
PipoCanaja
21087579e6 Added detection for AnyOS (#10770) 2019-11-05 21:49:29 +00:00
PipoCanaja
9a53a91895 Added basic device support for Infinera PON 7090 plateform (#10771)
* Infinera POM 7090

* Infinera PON 7090

* Infinera PON 7090
2019-11-05 21:45:41 +00:00
Tony Murray
717ecd4125 Fixed API arp cidr search (#10780) 2019-11-05 21:16:29 +00:00
louis-oui
0b01daa84c Do not purge alert_log table entries that have a matching active alert in alerts table (#10744)
* https://github.com/librenms/librenms/issues/10686

* Do not purge alert_logs table when there is a matching active alert in alerts table

* Do not purge alert_log table when there is a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Update daily.php

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Update functions.php

Missing }

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Do not purge alert_log table entries that has a matching active alert in alerts table

* Add deleting history of active alert_logs more than ? days

* Commit to replay CI

* Commit to replay CI
2019-11-05 14:49:09 +01:00
SourceDoctor
dfb4317d38 Bootstrapped checkboxes (#10749) 2019-11-05 00:02:49 +01:00
arrmo
2042737ce5 Correct Tomato (router firmware OS), no bulk support (#10775) 2019-11-03 19:11:08 -06:00
joseUPV
10e6ac1ca6 Better detection of old 3Com StackSwitches (#10736)
* Added Model number detection to old 3Com SWitches

* Added test data

* Added better way to obtain data from Old 3Com StackSwitches

* Removed debug prints

* Added needed mibs

* Removed mibs and changed to oid in script

* Added Original 3com mibs from http://oidref.com/static/mibdepot/*

* Create 3com_4200.json
2019-11-03 13:42:40 +01:00
Hayden Seitz
464fd27356 Allow all models of Asentria SiteBoss (#10746)
* allow all models of Asentria SiteBoss

* add . to end of Siteboss OID to allow wildcard

* Create siteboss_2.snmprec

* Create siteboss_2.json
2019-11-03 13:22:42 +01:00
PipoCanaja
d9c7772804 Avoid state collisions between 'dell' and 'drac' OSes (#10539)
* avoid state collisions between dell and drac OSes
2019-11-03 12:59:08 +01:00
SourceDoctor
a0743d86dc Fixed mdadm sync speed title description (#10773) 2019-11-03 12:38:50 +01:00
Vitali Kari
76318c8811 fix broken relationship of local Service ID with SDP Service ID (#10713)
* fix broken relationship of local Service ID with SDP Service ID

* just trigger scruntinizer
2019-11-02 13:44:48 +01:00
Tony Murray
6b3d64e4c2 Revert "https://github.com/librenms/librenms/issues/10686 (#10687)" (#10755)
This reverts commit d3d34a7f4d.
2019-10-28 15:59:00 -07:00
Tony Murray
e6423852ef Remove $_SESSION usage, except install (#10745)
* Remove $_SESSION usage, except install
Fixes issue with device debug capture
Removes secure_cookies setting, use the .env variable SESSION_SECURE_COOKIE instead.  Reminder secure cookies requires cookies are transported over https, if everything is already transported via https, the setting won't make a difference.

* Fix availability map controls
2019-10-26 00:29:12 +00:00
Vitali Kari
723ce789ff Fix broken Graylog link (#10742)
* fix broken link
2019-10-25 21:10:43 +02:00
Jellyfrog
8e1a7d75a4 Always sort indexes in dump_db_schema (#10732)
This avoids unnecessary diffs when MySQL outputs in different order
2019-10-22 13:50:41 +00:00
ubnt-tim
10b1b9cbd8 Updated support for edgeswitch devices (#10515)
* Add new discovery patterns in edgeswitch.yaml

* Add test data

* Update edgeswitch.yaml
2019-10-21 23:32:48 +01:00
SourceDoctor
8f1c77545d Added Seafile Server Monitoring (#10465)
* Seafile Monitoring

* generalized function for application with multiple similar entries

* adding snmprec file

* Create linux_seafile-v1.json

* Update linux_seafile-v1.snmprec

Updated linux_seafile-v1.snmprec to use 4x for encoding json data response

* Update Applications.md
2019-10-21 23:28:21 +01:00
Tobias Heister
186059de54 Added support for drac power and current polling (#10634)
* added support for drac power and current polling

* Revert "added support for drac power and current polling"

This reverts commit cf83c1cb82.

* changed discovery to yaml

* readded test data
2019-10-21 16:02:46 +00:00
dGs-
28e34c64f9 If dot1qVlanCurrentTable doesn't exist try dot1qVlanStaticTable (#10262)
* If dot1qVlanCurrentTable doesn't exist try dot1qVlanStaticTable

* Create comware_hpe5700.snmprec

* Create comware_hpe5700.json

* Update comware_hpe5700.json

* Updated comware hpe5700 json test file

* Update comware_hpe5700.json

* add HPE A5500 (Comware) capture

* Delete comware_hpe5700.json

* Delete comware_hpe5700.snmprec

* Create comware_a5500.json

* snmprec with dot1qVlanStaticTable and json without mempool and sensors

* change an interface description
2019-10-21 13:41:47 +00:00
Paul Burrows
c4eb499753 Fix the menu that filters out erroring ports (#10680)
* Changes yes to 1 so that it works

* Accept 1 or 0 or yes or no

* Update menu.blade.php
2019-10-21 13:23:48 +00:00