Commit Graph

5783 Commits

Author SHA1 Message Date
eskyuu
cc7e02cbcd Device links formatting changes (#15580)
Make the images inline so they appear side by side
Put newlines between the major device information sections (name, model/OS, location)
2023-11-16 08:54:29 -06:00
Kevin Zink
c1abbdc2c2 Add Quantum Scalar I6000 Tape Library (#14915)
* Add Quantum Scalar I6000 Tape Library

* Update quantum.yaml

Poller  deactivation removed

* Update quantum_scalari6000.json

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-11-02 00:29:08 -05:00
Wooboy
3cf5a6ceae Add definition fujifilmprinter (#15381)
* Add support for Fujifilm printer

* Add support for Fujifilm printer

* fix Fujifilmprinter.yaml

* Add Fujifilm printer test unit

* remove snmprec supply descr contains utf8 character

* fix discovery yaml
2023-11-01 23:03:45 -05:00
Nick Peelman
30c95b7a76 Add Support for Samlex America PSR-1200-48 Inverters (#15515) 2023-10-28 23:34:16 +02:00
QWERin
1d361c9447 Fix Top menu search on mobile respo (#15439) 2023-10-13 22:27:52 -05:00
SourceDoctor
0f0f49697f muteabel acknowledged alert notifications (#15456) 2023-10-13 22:20:51 -05:00
Tony Murray
a5198d7d57 Remove some lightly used or unused dbFacile functions (#15418)
* Remove some lightly used or unused dbFacile functions
['NULL'] legacy behavior seems unsupported, replace with actual nulls

* Fix refactor mishap

* another

* update baseline

* these were very wrong... what happened?
2023-10-12 09:15:03 -05:00
Luis Henrique Wolfarth
5745fcb1f6 Updating Datacom logo (#15427)
* Updating Datacom logo

Updating Datacom images (Teracom Telematica  Ltda) according to the current logo:

https://www.datacom.com.br/

* Optimize datacom.svg

* Optimize "D"

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-10-11 10:21:12 -05:00
Tony Murray
087053ae91 Add Fortinet logo (#15359)
* Add Fortinet logo

* better viewbox
2023-09-29 00:08:14 +02:00
Tony Murray
f4ab1ab64d Update aviat logos to SVG (#15360) 2023-09-29 00:07:55 +02:00
Tony Murray
efb763d8c5 Vertically center device icons (#15361) 2023-09-29 00:07:23 +02:00
Tony Murray
723c51be32 Calix logo update (#15348) 2023-09-27 07:18:20 -05:00
Cyril LAVIER
f9ef5fe3fe Add model for Christie Digital projectors (#15088) 2023-09-25 18:39:20 -05:00
Wheel
52bc8dc7de Device stulz WIB8000 (#15271)
* Device stulz WIB8000

* Fix multiplier oid is in bar + 1 decimal

* Fixed multiplier

* More stulz sensors
2023-09-20 06:41:31 -05:00
Tony Murray
30b5c40961 Add ui description for reporting dump_errors (#15264)
* Add ui description for reporting dump_errors
People were enabling this setting and breaking their installs for some reason.
Hopefully, this makes them think a little before enabling this setting.
It is intended for debugging purposes only.

* Fix style
2023-08-30 19:33:39 +02:00
Tony Murray
2cd207028a Implement RBAC (only built in roles) (#15212)
* Install bouncer

* Seeder and level migration

* Display and edit roles

* remove unused deluser page

* Update Radius and SSO to assign roles

* update AlertUtil direct level check to use roles instead

* rewrite ircbot auth handling

* Remove legacy auth getUserlist and getUserlevel methods, add getRoles
Set roles in LegacyUserProvider

* Small cleanups

* centralize role sync code
show roles on user preferences page

* VueSelect component WIP and a little docs

* WIP

* SelectControllers id and text fields.

* LibrenmsSelect component extracted from SettingSelectDynamic

* Handle multiple selections

* allow type coercion

* full width settings

* final style adjustments

* Final compiled assets update

* Style fixes

* Fix SSO tests

* Lint cleanups

* small style fix

* don't use json yet

* Update baseline for usptream package issues

* Change schema, not 100% sure it is correct
not sure why xor doesn't work
2023-08-28 00:13:40 -05:00
Tony Murray
51400245b9 Update Alpine Linux logos to SVG (#15185)
* Update Alpine Linux logos to SVG

* remove logo whitespace
2023-08-02 23:42:48 +02:00
Tony Murray
4f5e31c88f Fix select2 search field focus (#15171)
Some jQuery version broke the focus search field on open, this should fix that.
2023-07-31 13:11:36 -05:00
eggbeater98
510d5dc94b Update dark.css (#15155)
Change text for services to white for visibility.
2023-07-19 22:22:42 -05:00
eggbeater98
0eebe7a255 Update dark.css (#15141)
Fix device name and drop-down text color for availability.
2023-07-11 13:10:48 +03:00
KITAHARA SETSUNA
2e2d1bb7d1 Sort port by interface name while list ports. (#15093)
* Sort port by interface name while list ports.

* Remove sql sort

* use ksort instead of sort manually

* Update ajax_listports.php

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-06-24 18:17:37 +02:00
eskyuu
ce0734ff5d Added support for user timezones and user browser timezone by default (incomplete) (#13626)
* Added support for user timezones and user browser timezone byt default

* Formatting fixes

* Use the timezone for alert log display

also added validation for the timezone because it's being used in SQL.

* Formatting fixes

* Added return type

* Formatting"

* Update the latency graphs to use the user timezone

* Simplify the web routes config

* Update phpstan to ignore type error

* Fixed up the phpstan config

* Reverse phpstan change

* Re-apply phpstan override

* Remove the option to unset the session timezone

* Formatting fix

* Update outge and event logs to use session timezone

* Fix route for the timezone control

* Made the timezone more dynamic

* Fix a logic error that was stopping the timezone from being set automatically on login

* Prevent getPref from being called twice

* again prevent getPref double call

* getPref double call

* Fixed typo made during merge

* Fixed merge error in phpstan-baseline.neon

* Change spaces to tabs in phpstan-baseline.neon

* Update error count

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-05-09 10:24:48 -05:00
Tony Murray
5c25cece48 Convert the inventory page to Laravel (#15004)
* Convert the inventory page to Laravel
Fix several XSS issues (hopefully no new ones snuck in)
Small improvement to the SelectController to allow filtering by filterFields()

* style fixes

* Fix lint issues

* Fix part device filter
2023-04-28 07:51:41 -05:00
mtentilucci
b09f5f63e4 Add Nutanix AOS discovery (#14950)
* Add Nutanix AOS Discovery

- Add basic discovery configuration
- Add Nutanix .svg icon and logo
- Add test data

* fix yaml style nutanix-aos.yaml
2023-04-07 13:02:41 -05:00
mtentilucci
698b9ee48c Add Rubrik Discovery (#14951)
- Add basic discovery
- Add Rubrik .svg icon and logo
- Add test data
2023-04-07 13:01:30 -05:00
cjwbath
bbe752b24a Add initial OS detection for LoadBalancer.org (#14902)
* Add initial OS detection for LoadBalancer.org

* Match on Linux sysObjectID first for efficiency

Co-authored-by: Tony Murray <murraytony@gmail.com>

* Add test for loadbalancer OS detection

* Add test for loadbalancer OS detection - fix author

* Add test for loadbalancer OS detection

* Add test for loadbalancer OS detection - fix author

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Chris Ware <cjw26@bath.ac.uk>
2023-04-06 19:58:14 -05:00
Stef
e1b2a42373 Device: Deltanet Lambdatrail LT2-S,HS (#14661)
* Deltanet Lambdatrail integration - first try

* add fan parameters

* ignore values

* lint

* over graphs and snmp fix

* definition for hs variant

* HS variant added

* mibs renamed

* add test data

* Deltanet Lambdatrail integration - first try

* add fan parameters

* ignore values

* lint

* over graphs and snmp fix

* definition for hs variant

* HS variant added

* mibs renamed

* add test data
2023-03-21 07:29:17 -05:00
Nick Peelman
7ccccdf914 Add Montclair EDFA Support (#14852)
* Add Montclair EDFA Support

* Fix detecton

Used explicit match regex

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
2023-03-18 21:34:28 -05:00
mtentilucci
d6d2827f97 Add support for Trellix FireEye OS (#14908) 2023-03-18 18:51:14 +01:00
Jellyfrog
68e0b3df28 Apply fixes from StyleCI (#14899)
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-03-13 22:32:22 +01:00
mtentilucci
1e373dedc6 Add Avocent MergePoint Unity KVM Switch Support (#14874)
* Modify Avocent discovery so Avocent MergePoint Unity KVM switches are discovered

* Extract hardware model and version stored in sysDescr OID

* add avocent mpu snmprec

* add json dump test data

* update to not conflict with dell-rcs discovery

* fix styleci findings

* update Avocent.php

* update Avocent.php

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* add support for avocent mp unity kvm switches

* cleanup

* fix os name typo

* Add support for Vertiv Avocent MergePoint Unity

- Remove unnecessary sysdescr_regex in discovery file
- Only show device_bits graph in device header bar
- Use Vertiv icon
- Replace .png Vertiv icon and logo with .svg
- Disable unnecessary discovery and poller modules
- Add more snmpsim test data

* Update avocent-mp.yaml

Only disable poller and discovery modules if they cause problems
2023-03-10 00:09:53 +01:00
Guilherme Poletto
5dc7f89922 Add support for Vsol v1600d EPON OLT (#14853)
* Add Modified V-sol MIB

* Add Vsolution Discovery OS

* Add Vsolution Discovery OS

* Add os-logo

* Add snmp test data

* Add .json test data

* Add .json actual test data
2023-02-20 12:31:43 +01:00
Sander Blomvågnes
cf3f69e67f Adding support for loop-telecom devices (#14674) 2023-01-02 14:47:17 +01:00
Tony Murray
9d3d81bb11 IP Infusion OcNOS basic detection (#14588)
* IP Infusion OcNOS basic detection

* add test data

* add os data
2022-11-07 13:09:33 -06:00
Bierchermuesli
7f3301caa4 Device - Basic hatteras dslam integration (#14115)
* basic hatteras dslam integration

* snmprec and json test files

* fix HN4000e variant

* add hn4000e variant

* logo and yaml fixes

* change type in test file

* inexistent(?) disco module removed: route

* Update hatteras.yaml

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-05 14:43:23 -05:00
squidly
de9787ea9a Added support for Vultan Environmental Monitoring units (#14401)
* adding new os: vutlan

* renaming mib file, moving mib file to vendor folder, removing commented code

* Cache version data (#14404)

* Cache version data
Calling cli commands can be expensive, cache the results.

* style fixes

* Fix pre-laravel usage

* fix lint

* Revert "Cache version data (#14404)"

This reverts commit e426a9299d.

* fixing descr for door state and removing comments

* adding tests and moving vutlan definition file

* adding num_oid value for tests

* Rename VUTLAN-SYSTEM-MIB.mib to VUTLAN-SYSTEM-MIB

* Update vutlan_vt825.json

* updating test data

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-02 19:31:12 +01:00
carbinefreak
ff5b565fec MNI Microwave OS Add (#14427)
* Add files via upload

* Create mni.yaml

* Create mni.yaml

* Add files via upload

* Add files via upload

* Update Mni.php

* Update Mni.php

* Add files via upload

* Add files via upload

* More Formatting Fixes

* Add files via upload

* Add files via upload

* Update mni.yaml

* Create MNI-PROTEUS-AMT-MIB

* Add files via upload

* Update Mni.php

* Update Mni.php
2022-10-06 20:24:37 +02:00
electrocret
b993f38903 Fix Inventory table for Dark theme (#14377) 2022-09-21 23:35:24 +02:00
Tony Murray
ad8580d694 Cleanup and optimize the availability widget (#14329)
* Cleanup and optimize the availability widget
Default sort is display name
Sort applies to services too (services always last)
May need to refresh the page to get new css

* style

* We don't need request (lint fix)

* Wrong service field name
2022-09-09 18:22:58 +02:00
Maikel de Boer
bd02df14b6 Added support for UHP VSAT modems (#14317)
* Started UHP VSAT support

* continue uhp

* end of day

* uhp  support

* fixed icon / logo

* cleanup

* added test data

* Delete Uhp.php

If the file is empty let's delete it

* added test data

* Update uhp.yaml

spacing fix

* Fixed identation

* New test data

* Fixed

* styling

* fix

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2022-09-08 15:27:51 +02:00
PipoCanaja
53bfb24ef9 Migrate xDSL code to module, and add support for VDSL2 MIB (#14207)
* use component to discover if xDSL polling is needed

use component to discover if xDSL polling is needed

* Components OK, Polling in correct files, no DB for VDSL

* GUI

GUI_suite

* per port as well

* rename

* interface listing

* draytek_snmpsim

* fix arraymerge

fix names and max value

* schema

schema

style

* remove one dbFetchRows

remove 2x dbFetchCell

style

style

remove Legacy dbFetchRow

tests

tests

eloquent

more eloquent

more eloquent

one more gone

* fix properties access

eloquent_insert_update

style

tests

tests

tests

tests

* tests

tests

tests

* adslLineCoding

* Models

* fix not nullable cols in DB from code

default values

typo

rename

typo

schema

fix

fix

vdsl fix now

typo

typo

fix size

fix size

* Power values for VDSL

Power values for VDSL

Power values for VDSL

DB

* cleanup

* Rrd::checkRrdExists

* always enable DSL discovery

style

* xdsl module

* cleanup and move to Module

cleanup and move to Module

cleanup and move to Module

cleanup and move to Module

* Fix display

* fix polling and tenth

* remove legacy poller

* Style and Cosmetics

Cosmetics

Cleanup

* Translations

Translations

* exists

exists

* add test support for xdsl

* remove last component call

unused

* translations

* remove non standard onclick event on xdsl line

* Update Discovery Support.md

Update Poller Support.md

toner_gone

* Notification for removal of lnms config:set enable_ports_adsl true

* enable on devices with potential DSL interfaces

* tests are working now

fix teldat tests

* os_schema

* teldat

* move to new module structure

* move to new module structure

* wrong dump function

* wrong dump function

* laravel_through_key hidden

* Update notifications.rss

* Update notifications.rss

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-09-07 19:29:17 -05:00
Tony Murray
302a989d4e Email Transport: embed graphs by default (#14270)
* Email embed graphs

* Allow attachment for non-html
Add setting to webui
Correct $auth setting

* Cleanups, throw RrdGraphException instead of returning an error image.
Generate the error image later, giving more control.
Reduce code duplication a little

* Style and lint fixes
Change to flags

* Add baseline for lint errors I don't know how to resolve

* oopsie, changed the code after generating the baseline

* Tiny cleanups.  Make set DeviceCache primary, it is free.

* Docs.

* email_html note

* Allow control of graph embed at the email transport level to override the global config.

* Allow control of graph embed at the email transport level to override the global config.

* Add INLINE_BASE64 to make it easier to create inline image tags
2022-09-05 20:41:55 -05:00
Tony Murray
5c76890373 Add @signedGraphTag() and @signedGraphUrl() blade directives (#14269)
* More secure external graph access
Add @signedGraphTag() and @signedGraphUrl() blade directives
Takes either an array of graph variables or a url to a graph
Uses a signed url that is accessible without user login, embeds signature in url to authenticate access
See Laravel Signed Url for more details.
Adds Laravel route to graphs (does not change links to use it yet)
@graphImage requires the other PR
Also APP_URL is required in .env

* missing files from rebase

* Fix url parsing with a get string

* allow width and height to be omitted

* Documentation

* Add to, otherwise it will always be now

* Doc note for to and from relative security

* fix vars.inc.php (Laravel has a dummy url here)
2022-09-03 12:48:43 -05:00
Lucas Gasenzer
e075e8d7d7 changed viewbox and scale as fix for safari (#14271) 2022-09-01 22:55:43 -05:00
Tony Murray
6f5cf7727a Misc webui code cleanups (#14242)
* Misc webui cleanups

* Style

* More

* graphing fixes

* More graph cleanups

* more fixes, graphs and device pages

* style
2022-08-30 12:55:37 -05:00
Janno Schouwenburg
7b3a6250f0 Bats support (#14108)
* BATS support

* Removed disabled discovery modules

* Style change, more test data, removed unused rows

* Style correction LibreNMS/OS/Bats.php

* Removed old reference

* Another style correction add LibreNMS/OS/Bats.php

* Changed location info and temperature

* Style, again

* Style, again

* New testdata needed

* Fix wrong state color in discovery/bats.yaml

* New test data

* Update bats_bats.json

* Saved the test data in a different way

* More test data

* Manually changed test data

* New test data

* New test data

* Update bats_bats.json

* Saved the test data in a different way

* More test data

* Manually changed test data

* New test data

* New test data

* Delete bats_bats.snmprec

* Update bats.json

* Update bats.json

Co-authored-by: Maikel de Boer <mdb@tampnet.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-08-10 09:07:31 -05:00
La
71fca5bd12 update mellanox os image (#14184)
* update mellanox os image

* update mellanox svg

* remove mellanox png file
2022-08-07 09:20:26 -05:00
Peca Nesovanovic
3d65e722a6 Initial support for Serbian language (#14165)
* initial support for serbian language

* lnms translation:generate
2022-07-31 16:09:59 +02:00
Tony Murray
1861e09a5b Fix Rocky Linux and AlmaLinux icons and logos (#14150)
* Fix Rocky linux os icon

* AlmaLinux was missing too and add Rocky Linux logo
2022-07-27 18:42:55 +02:00
Peca Nesovanovic
a551a95404 [gui] enable permanent vertical scroll (#14102)
* [gui] permanent vertical scroll

* switch to styles.css
2022-07-27 11:18:25 -05:00