Commit Graph
18103 Commits
Author SHA1 Message Date
JellyfrogandGitHub d7e88bf311 Upgrade to Laravel Mix 6 (#12421) 2021-01-06 20:18:43 -06:00
2753d6fbb4 Bump axios from 0.19.2 to 0.21.1 (#12420)
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 17:06:27 +01:00
03d562f587 Remove Travis support (#12416)
Co-authored-by: CrazyMax <[email protected]>
2021-01-04 21:17:55 -06:00
575ce64f77 New device OS: McafeeWebGateway (#12418)
* McafeeWebGateway OS

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

* Update mcafeewebgateway.svg

Co-authored-by: Jellyfrog <[email protected]>
2021-01-04 23:04:07 +01:00
Vitali KariandGitHub 9126e0f00a new device os Raisecom Router OS (ROAP) (#12361)
* new device os Raisecom Router OS (ROAP)
tried to add that as existing raisecom os but ended in new os, because they use a
new MIB base for Router OS and newer devices.

* add sensors
2021-01-04 00:39:35 +01:00
Ramūnas LukoševičiusandGitHub 10eb7b2c2a Added support for Motorola and Thomson DOCSIS Cable Modems. (#12386)
* Added tv_signal sensor class (TV signal in dBmV (decibells to millivolt))

* Added OS motorola-cm (Motorolla DOCSIS Cable Modem)

* Added OS thomson-cm (Thomson DOCSIS Cable Modem)
2021-01-03 22:35:32 +01:00
Martijn SchmidtandGitHub 503b507629 Schleifenbauer model DPM27/E (#12414)
* Update from PDU_mib_244 to PDU_mib_262

* Add a new sysObjectID for the OS detection of schleifenbauer devices

* Update snmpsim data, no changes in save-test-data.php output.

* Revert "Update snmpsim data, no changes in save-test-data.php output."

This reverts commit ac7c0d5610.

* snmpsim + test data for OS schleifenbauer variant dpm27e
2021-01-03 21:14:33 +01:00
Vitali KariandGitHub 77c534050a Eltek Enexus: Disable some battery sensors if no battery bank is installed (#12367) 2021-01-03 18:59:38 +01:00
pauliercoandGitHub 95603e494a Alcatel-Lucent support part2 (#12369)
* Alcatel-Lucent support part2

* fixing low temp for aos6, mem for aos6 and linkagg for both

* style for aos6.yaml

* style2 for aos6.yaml

* fix style

* fix style

* add test data
2021-01-03 18:57:47 +01:00
TorchandGitHub 187165e464 Added IES 5206 and 5212 test files (#12373)
Added IES 5206 and 5212 to supported sysObjectIDs
2021-01-03 18:46:45 +01:00
4126dddf73 GitHub Actions dev:check ci (#12392)
* Refactor test for GitHub Actions

* Checkout pull request HEAD commit instead of merge commit

* Fetch changed files from API instead of git

* HEAD commit

* Origin

* Fix env

* force full unit checks on gh actions change

* Fix DB conn

* Update test.yml

* Also set port in PDO connection

* Exit with correct exit code

* Update CiHelper.php

* Update test.yml

* Update CiHelper.php

* Update Proc.php

* Cleanups

Remove extra unit test run on php 7.4
Add names that will hopefully show in github.
Remove redundant DB env variables.

* Fix

Shorter names
and DB_TEST env is required

* Change command for information purposes

Co-authored-by: CrazyMax <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
Co-authored-by: Jellyfrog <[email protected]>
2021-01-03 00:54:01 -06:00
SourceDoctorandGitHub 590b3ad123 Show Device Group on Map (#12379)
* Show Device Group on Map

* style fix

* .

* .
2021-01-02 22:06:52 +01:00
ErkanandGitHub 7f93e2220d Update functions.inc.php (#12406)
I think left and right text is inverse. Example in page with all processor, percent_used is at the right instead of left
2021-01-02 00:47:41 +01:00
djamp42andGitHub 1536b32907 Fix broken evaulation on auto discovery (#12408)
My Cisco IP phones were still being auto discovered even when i had autodiscovery.xdp set to false, and it wasn't ignoring them for the auto discovery regex either. This statement had some misplaced Parenthesis. Working now on my install with this fix.
2021-01-02 00:22:55 +01:00
Richard LawleyandGitHub c6c046f172 Document flattened Inventory API function (#12404) 2021-01-02 00:07:33 +01:00
dlehman83andGitHub 9f591c0aa2 Update Documentation (#12411)
* Update Documentation

Most work in Graylog and SNMP
Fixed many code tags, spelling and wording.
Added SNMP PowerShell example.

* Update SNMP-Configuration-Examples.md

Fix TOC brackets
2020-12-30 15:38:14 +01:00
JellyfrogandGitHub c3d47dee4a Apply fixes from StyleCI (#12412) 2020-12-30 15:37:08 +01:00
SourceDoctorandGitHub 9c248d1b52 Doc - Increase Nginx Timeout (#12368)
* Doc - Increase Nginx Timeout
2020-12-30 14:38:59 +01:00
FingerlessGlovesandGitHub 64601866ac Update OPNsense version Regex, for _ releases (#12407)
Update OPNsense version Regex, for when underscores are used in OPNsense releases.
2020-12-29 23:53:00 +01:00
9ccb707335 Update Distributed-Poller.md Discovery using dispatcher service (#12387)
* Update Distributed-Poller.md

Clarify discovery when using dispatcher service. The limitation of running one discovery per server is only for cron based polling.

* Update Distributed-Poller.md

Co-authored-by: Neil Lathwood <[email protected]>
2020-12-17 21:17:59 +00:00
SourceDoctorandGitHub 8e718d6e4f don't show gelocation on snmp location string (#12384) 2020-12-12 18:06:04 +01:00
Hans ErasmusandGitHub d23ed0dd6e Update to incorporate new locking mechanisms (#12388) 2020-12-12 18:02:11 +01:00
42df05c947 Bump ini from 1.3.5 to 1.3.8 (#12395)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-12 18:00:52 +01:00
Alex MuthmannandGitHub 980e4a6a28 Update docs for raspberry.sh (#12389)
When using the original docs for the raspberry.sh script all I got in the SNMP output was `nsExtendOutLine."raspberry".1 = sudo: No such file or directory`

this can be fixed by using the complete path to the sudo command.
2020-12-10 01:02:30 +01:00
Tony MurrayandGitHub a3635d0b73 remove unused openssl_ver (#12378) 2020-12-03 09:33:26 -06:00
Tony MurrayandGitHub e2fb7ba635 Fix version compare (#12376)
* Fix daily.sh version compare

* 1.70.1
1.70.1
2020-12-02 08:39:06 -06:00
Tony Murray 84c08f424c Bump version to 1.70.0 1.70.0 2020-12-01 22:01:19 -06:00
Tony Murray 4ae5f76fe8 Changelog for 1.70.0 2020-12-01 22:01:17 -06:00
HaydenandGitHub 25087a6828 added expiration for alerts cache::lock() (#12375) 2020-12-01 18:16:15 -06:00
Tony MurrayandGitHub ff49d7c42b Auth add ip to auth failure log entry (#12374) 2020-12-01 14:00:58 -06:00
Hans ErasmusandGitHub 0a7586b9ff Fix php min version (#12372) 2020-12-01 08:45:53 +01:00
a0062aa633 Remove hardcoded URLs to doc (#12364)
Co-authored-by: CrazyMax <[email protected]>
2020-11-27 23:34:58 +01:00
Lucas DousseandGitHub 2a98076515 New Logo Opnsense (#12359)
* Logo with best definition

* png to svg

* png to svg

* Change filename in test

* minify svg
2020-11-26 21:49:02 +01:00
TorchandGitHub bb7e34d8af Added Eltek SmartPack2 Syst. (#12352) 2020-11-26 00:11:11 -06:00
d8c617d2ae GitHub Actions for doc (#12353)
Co-authored-by: CrazyMax <[email protected]>
2020-11-25 22:18:02 +00:00
Tony MurrayandGitHub 927fac6ca7 Fix bad link in docs (#12357) 2020-11-25 11:40:35 -06:00
Tony MurrayandGitHub 39f6b35bf0 Respect device access for health mempools page (#12356) 2020-11-25 10:43:57 -06:00
Tony MurrayandGitHub 5d3e06ee69 Change mempools summary graph to show values v2 (#12355)
* Change mempools summary graph to show values
put swap on the negative axis
fix swap classification

* fix whitespace

* fix incorrect class
fix rrd rename logic

* Style

* missed one

* observe with the correct class
2020-11-25 10:31:24 -06:00
Tony MurrayandGitHub 23e8544913 Revert "Change mempools summary graph to show values (#12349)" (#12354)
This reverts commit 7a027f8467.
2020-11-25 10:10:01 -06:00
Tony MurrayandGitHub 7a027f8467 Change mempools summary graph to show values (#12349)
* Change mempools summary graph to show values
put swap on the negative axis
fix swap classification

* fix whitespace

* fix incorrect class
fix rrd rename logic

* Style

* missed one
2020-11-25 10:06:20 -06:00
Tony MurrayandGitHub e8d0548317 Fix nets can't add (#12341)
fix some issues with the list settings widget
update Laravel Mix
update javascript
2020-11-24 19:47:40 -06:00
Tony MurrayandGitHub 4edf30e5fb fix mempool links from overview (#12348) 2020-11-24 07:50:35 -06:00
Tony MurrayandGitHub 304ebc08ad Revert "Python log mysql connection errors and harden config retrieval (#12058)" (#12347)
This reverts commit c149ce0b3a.
2020-11-24 07:26:42 -06:00
JellyfrogandGitHub 305f97161a Fix regressions from cfd9dce620 (#12344) 2020-11-24 00:16:41 +01:00
Tony MurrayandGitHub f2f169ae78 Modernize mempools (#12282)
* mempools to modern module
quick hacky hrstorage port

* port ucd-snmp-mib to Mempools

* Populate DB for ucd
Prep for yaml

* initial yaml attempt

* more complex conversions
fixes to YamlDiscovery, make leading $ optional and allow mib::oid format

* walk full tables and skip values
normalize percentages above 100

* handle precent only ones (specify total as 100)

* Move default polling out of YamlMempoolsDiscovery

* fixes

* Update test data hrstorage should be correct.

* perc_warn for hrstorage

* Host Resources, record buffer, cached, and shared

* Host Resources is always better, don't do both HR and UCD

* fix unix, include warning levels

* variable size

* consolidate skip_values

* define mempools schema

* number instead of integer

* more schema refactor

* one more skip_values reference

* throw error for invalid oid translation
aos6

* a*  and Cisco

* updated test data

* update almost all hrstorage data files

* b*

* c* with test data
use standard cache for hrStorage

* use cache for storage module too

* hand bsnmp properly

* bdcom

* exclude total oid from yaml so it is not polled
May add a way to ignore this behavior and poll it, but I don't know if that is needed.

* automatically handle percent only values

* ciscowlc

* only poll used or free if we have used, free, and total.

* fix skipping

* the dlinkoning
fix find value when value "name" is numeric

* support numeric oids

* dnos/ftos attempt

* I guess we can't filter on total > 0

* edgecos

* e*

* f WIP

* f*

* gwd (aka g*)

* h* + procurve

* i*

* j*

* m*

* support 0% used memory (however unlikely)

* n*

* CISCO-PROCESS-MIB memory, share cache with processors module

* ignore mempools with invalid total

* p*

* quanta

* r*
fix raisecom mibs terribly broken

* s-z

* style fixes

* Move VRP back to PHP and make it actually work

* fix zynos

* update schema

* Update Cisco processor data for description bug fixes

* fix comware processors

* comware mempools with memory size
default precision to 1

* sophos-xg updated data

* hrstorage use ram size for buffers, cache, and shared

* Show memory available instead of free in device overview

* UCD, use same rrd format, store available instead of free in the db.

* Calculate availability for HOST-RESOURCES-MIB

* Convert UCD to standard polling

* rename old rrd files

* initial graph work

* graph WIP

* Graph looking decent

* Graph looking decent for hr

* remove old ucd_graph code

* handle availability mempool
more graph cleanup

* color adjustments

* remove accidental free calculation

* Update test data and fix corner cases

* fis pfsense

* update schema

* add default value for mempool_class

* fix whitespace

* update schema

* update schema correctly

* one more time

* fortigate_1500d-sensors missing oids

* Update docs.

* fix indent

* add implements MempoolsDiscovery explicitly to OS

* remove ucd_memory graph references
remove unused device_memory graph

* remove unused functions

* set devices with mempools to rediscover to prevent/minimize gaps

* use a subquery

* add overview graph

* port health mempools table

* Update device mempool

* only show overview if multiple

* Don't override user set warn percentages in discovery

* fix missed usage

* fix style

* Safety check to not rename rrd files incorrectly if migration has not been run.

* Fix overview percent bar and represent available and used on the bar

* missed an item to convert to mempool_class

* percent on the wrong side
2020-11-23 15:35:35 -06:00
JellyfrogandGitHub b022a30a5b Apply fixes from StyleCI (#12343) 2020-11-23 19:56:23 +01:00
Tony MurrayandGitHub 2b59ff5fda Add system validation (#12337)
validate lnms link and completion
validate log rotation file is installed
2020-11-23 09:46:22 -06:00
Orsiris de JongandGitHub c149ce0b3a Python log mysql connection errors and harden config retrieval (#12058)
* Make usage of logger, also harden exception logging

* Make usage of hardened command_runner

This is a hardened version of subprocess.call which handles timeout, encoding and various errors that may happen during execution

* Remove unused exception logging

* Fix bogus exception logging

* Rename exception to match log line

* Make command_runner pylint friendly under Unix

* Add copyrights to my parts of code
2020-11-23 00:35:49 -06:00
OlenandGitHub 4bdcb7d88e IRC Adding floodcontrol. Better alerts (#12141)
* Adding floodcontrol. Better alerts

* Code cleanup

* Code cleanup take 2

* Deduplicate code for sending alerts

* Keeping PRs in sync

* this->sendAlert...

* Allow filtering by hostname in ".log" command

* StyleCI

* StyleCI
2020-11-23 00:35:19 -06:00
Tony MurrayandGitHub 7ed34c889e Distributed Poller improved validation (#12269) 2020-11-23 00:33:56 -06:00