Commit Graph

7729 Commits

Author SHA1 Message Date
Tony Murray
1ab238a4d1
Fix port speed setting feedback (#14743) 2022-12-19 18:41:59 -06:00
fcqpl
ae22662c8d
Update Nvidia application - values in wrong charts (#14736) 2022-12-19 09:54:34 +01:00
rhinoau
03482ddd65
Added Moxa switching ifAlias/portName mapping (#14633)
* WIP: Added Moxa switching ifAlias/portName mapping

* style fixes
2022-12-16 09:59:41 -06:00
AdamB
8b2e2f8d95
Prevent spurious MAC changes on multi-interface devices (#14671) 2022-12-16 09:46:10 -06:00
gewuerfelt
f56295c0ea
Update fs-nmu.inc.php (#14702) 2022-12-16 11:41:00 +01:00
Tony Murray
8ea3f5cd06
Offer opt in to usage and error reporting during install (#13906)
and on the about page
2022-12-15 19:52:22 -06:00
Tony Murray
88c86f2a19
Fix graph output base64 (#14701)
Mostly for people using unauth graphs instead of the api.
2022-12-15 15:58:56 -06:00
Tony Murray
1d3440b943
Unify time interval formatting (#14733)
* Unify time interval formatting
Use carbon for formatting, it supports locales.

* fix style

* remove baseline exceptions

* fixes found by lint
2022-12-15 15:52:53 -06:00
Andy Norwood
d091788f28
API list_devices update with sysName, location_id and type (#14731)
* Add sysName, location_id, type to list_devices

* Add new list_devices type
2022-12-15 08:25:11 -06:00
electrocret
f085a5da06
Fix Cimc on Overview (#14727) 2022-12-15 01:49:33 +01:00
AdamB
3a085d89c9
Use 'counter' RRD type for some TrueNAS sensors (#14670)
* Use 'counter' for some TrueNAS sensors

* Test Data

* Missed one

* Update index to force sensor to be re-discovered

* Switch sufix from '_Count' to '_rate'
2022-12-09 17:27:39 +01:00
Gilles Depeyrot
ceb8a02a99
Search devices using display field as well (#14714) 2022-12-09 17:25:42 +01:00
bnerickson
a556aca1d2
Removing max polling restriction for wireguard traffic RRD data (#14710) 2022-12-08 01:41:06 +01:00
Garcia MICHEL
49abee3722
Fix check rrd file exists with remote rrdcached (#14690) 2022-12-01 08:20:49 -06:00
Bogdan-Stefan Rotariu
5dd5e880b7
Update sensor.inc.php, adding $unit to Average (#14680)
Due to a mistake, I forgot to add $unit to Average
2022-11-30 20:36:27 -06:00
Tony Murray
2a8b8b864b
Fix some graphs not respecting device display name (#14684)
Just a quick fix
2022-11-30 07:39:38 -06:00
Bogdan-Stefan Rotariu
eca3b6bf77
Adding Average into graphs (#14679)
This modification adds average description into graphs.
2022-11-28 08:50:52 -06:00
Denny Friebe
54094a4038
Support Huawei SMU02B (#14673)
Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>

Signed-off-by: Denny Friebe <nightcore500@users.noreply.github.com>
2022-11-24 17:34:27 +01:00
mabra94
fbfd0a72ee
Bug - Handle Division by 0 error for SvcFdbTable (#14672) 2022-11-23 17:04:56 +01:00
VoipTelCH
e55e49ddf6
Fix discovery ignores custom ipmi port (#14660)
* Update ipmi.inc.php

* Update ipmi.inc.php

Fix use default port if not specified

* Update ipmi.inc.php

Fixed for more consistency with the rest of the file

* filter_var returns the value

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-11-22 09:41:51 -06:00
Tony Murray
41967743f4
Fix neighbours XSS (#14658)
Reported via Huntr.dev by @zluudg
2022-11-19 21:44:14 -06:00
Noah Roufus
9e9720fc17
Added divisor to SAF Integra-X temp sensors (#14655) 2022-11-18 19:48:46 -06:00
Noah Roufus
52f984c78b
Corrected ICT MPS hardware detection (#14654)
* Corrected ICT MPS hardware detection

* Updated test data for ICT MPS
2022-11-18 16:30:45 -06:00
SourceDoctor
df0c41672a
custom port view fix (#14637)
* custom port view fix

* .

* code adjustment

* code adjustment

* .
2022-11-18 16:28:39 -06:00
Tony Murray
752bbc1531
Port search API search more than one fields (#14646)
* Fix port search columns

* Port search API search more than one fields
Fixup port APIs
Change validate_column_list api helper to throw a renderable exception on error and return the valid columns
DeviceCache::get() can handle a bigger range of input

* whitespace

* Refactor exceptions a bit

* change throws type to be more generic

* Lint fixes
2022-11-18 16:27:56 -06:00
SourceDoctor
e851c9abd4
Alarm Flag on UPS-Nut Application (#14635)
* Alarm Flag on UPS-Nut Application

* code adjustemnt
2022-11-18 21:15:21 +01:00
fcqpl
6c3424f149
Added support for Eltek Micropack 1U (#14645)
Added support for Eltek Micropack 1U

```
SNMP['/usr/bin/snmpget' '-M' '/opt/librenms/mibs:/opt/librenms/mibs/eltek' '-v2c' '-c' 'COMMUNITY' '-OQXUte' 'udp:HOSTNAME:161' '.1.3.6.1.4.1.12148.10.2.6.0']  
iso.*.1.12*.0 = "Micropack 1U"
```
2022-11-17 23:29:15 -06:00
electrocret
4c0ebb6f74
Add Columns to search_ports API function (#14348)
* Add Columns to search_ports function

* StyleCI

* StyleCI

* Add to Docs

* Suggested If fix
2022-11-17 10:18:09 -06:00
fcqpl
0670168325
Added support for Eltek Flatpack S (#14643) 2022-11-17 14:14:48 +01:00
Tony Murray
cb9e01a030
Fix device poller modules graph (#14640) 2022-11-16 13:48:30 -06:00
bnerickson
9b41fa3f30
Adding wireguard app to the apps overview page (#14629) 2022-11-13 22:58:00 +01:00
Javier Alejandro Ruiz G
5121f10587
Fix billing graph when the period is zero or doesn't exist, before the fix a divide by zero error was happening when the billing api was being call for an image (#14623) 2022-11-13 13:53:54 +01:00
PipoCanaja
8176e726bc
improvePower (#14624) 2022-11-13 13:53:34 +01:00
bnerickson
bb536bb6fe
Adding wireguard application support (#14625) 2022-11-13 11:07:24 +01:00
Kim Håkonsen
f37def7986
Set 0 as integer in loading of graylog. (#14621)
#14476 probably made this require integer instead of empty string as default.
2022-11-12 15:03:24 -06:00
rhinoau
2f4744c869
Added Moxa EDS-G516E optical sensors (#14610) 2022-11-10 08:55:40 +01:00
ianhodgson
d6630759ff
Edgeos picked up as generic device (#14612)
Edgeos on EdgeRouter Lite 3-Port (erlite-3) picked up as generic device #14611

Not sure about other edgemax devices but the value of sysDescr for the EdgeRouter Lite running v2.0.9-hotfix.4 is "Ubiquiti EdgeOS", so neither regex matches.
2022-11-10 08:31:27 +01:00
Tony Murray
3e6ad9006a
Fix eNexus total current for Smartpack S (#14606)
* Fix eNexus divisor
Thanks to @loopodoopo, it looks like Smartpack S returns 1/10 Amps instead of Amps.
Set them separately

fixes #14414

* I did not wait for data to fully update :D
2022-11-09 11:07:08 -06:00
geg347
96c7e7166e
Adding device's field in get_alert_rule and list-alert-rules API function (new) (#14481)
* Adding device's field in get_alert_rule and lis-alert-rules API function

* Converting SQL request for list/get_alert_rules to Eloquent (thanks a lot to Murrant)

* Manually added #14500 to pass pipeline

* Fixing StyleCI error + trying to fix PHPStan errors

* Trying to fix PHPStan errors (part 2)
2022-11-09 08:21:41 -06:00
Tony Murray
b9d8a7c33c
Improved AIX os information collection (#14595)
* Improved AIX os information collection

* Fix-up merged data

* remove baseline
2022-11-09 12:04:56 +01:00
Jellyfrog
71d740770b
Remove Log::event (#14526)
* Remove Log::event

Use the Eventlog class directly instead

* wip

* wip

* wip

* Apply fixes from StyleCI

* Update Eventlog.php
2022-11-09 09:47:19 +01:00
fufroma
7ca41179bd
Disable SNMP Bulk for Delta UPS devices (#14599)
Some devices like the Delta Electronics Amplon RT-2K need SNMP Bulk to be disable.
2022-11-08 18:22:20 +01:00
Talk Straight Ltd
9826fa9089
feat: Add sortorder parameter to list_logs (#14600) 2022-11-08 18:20:34 +01:00
Tony Murray
94b86e7e7e
More inclusive Cisco SB os detection (#14594) 2022-11-07 14:06:31 -06:00
Zane C. Bowers-Hadley
8511611f64
add HV Monitor, a generic means for monitoring hypvervisors (#14218)
* add HV::Monitor support

* document hv monitor

* add HV Monitor tests

* style cleanup

* fix a few missed style items

* test fix

* more test cleanup

* more minor test tweaks

* more test cleanup

* more test tweaking

* test ordering fix all done... hopefully

* more test cleanup

* minor formatting change
2022-11-07 13:35:48 -06: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
Tony Murray
0801af7a81
Consolidate and improve snmptranslate usage (#14567)
* Consolidate and improve snmptranslate usage

* Fix style

* lint fixes

* fix typo

* allow multiple mib directories

* Only add mib if it is not already set

* oid first, in case we have key length issues

* if there is a full oid, don't add other mibs

* debug in ci

* more debug in ci

* better debug in ci

* remove debug

* Use numeric index

* revert dlink change

* Don't add -On twice

* unit tests and hopefully better heuristics

* remove dump and add one more set of tests

* style fixes

* handle bad input in old functions

* shortcut whole snmp_translate function
2022-11-07 12:00:47 -06:00
PipoCanaja
70524b1e9d
fix array (#14564) 2022-11-07 07:10:20 -06:00
Tony Murray
9cb6e7b665
Fix port neighbors missing (#14586)
Inverted check when fixing another bug
2022-11-06 17:06:10 -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