1830 Commits

Author SHA1 Message Date
59eda5acb1 Changelog for 1.69 2020-11-01 21:25:16 -06:00
6c4596d1b9 Added new authalgo support for SNMPv3 (#11966)
* Added new authalgo support for SNMPv3

* Update 2020_07_27_00522_alter_authalgo_column.php

Fixed case

* Update addhost.inc.php

Fixed case

* Update snmp.inc.php

Fixed case

* Update db_schema.yaml

Fixed case

* Fixed SHA-* order to ascending

* Update 2020_07_27_00522_alter_authalgo_column.php

Fixed space

* Update db_schema.yaml

Fixed line to be of type string

* Update config_definitions.json

Fixed sorting

* Fixed test file case sensitivity

* Fixed rollback function

* SourceDoctor code for checks

* Fixed indentation issues on Travis test

* Update to re-trigger testing stuck on CLA step

* Added crypto-algo updates

* Incorporated suggestions from Jellyfrog

* Added documentation entry

* Fixed travis spacing error

* Fixed validations

* Delete snmpv3_version_compare.patch

Sorry, this one was not supposed to be there.

* Added poller evaluation

* Added poller comparison

* Fixed merge-conflicts

* Fixed typo in test unit

* code refinements
only can check on webui that it supports the algorithms, hopefully, the eventlog is enough to notify users of distributed pollers.

* style fixes and remove openssl setting

* fix device access

* fix missing migration column

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-10-29 13:02:26 -05:00
a9762d609f Update SNMP-Configuration-Examples.md (#12265)
More secure default configuration
2020-10-28 01:50:23 +01:00
bd81f76caa Use variable for PHP min version in docs (#12256)
* Use variable for PHP min version in docs

* Bump mkdocs deps
2020-10-24 11:19:45 +02:00
a3f8dc6499 Clarify non-x86 hardware info sources for snmpd (#12253)
* Clarify non-x86 hardware info sources for snmpd

* Clarify that ARM platforms use device tree, not SMBIOS _(maybe consider a wrapper script for this too?)_
* Non-GPS based systems can also provide lat & lon, such as Galileo or Beidou
* Clarify that Distro means Distribution

* Update SNMP-Configuration-Examples.md
2020-10-22 02:39:06 +02:00
59accd7e42 Improve Services documentation (#12226)
* Update Services.md

I updated the services page for a few of the following reasons:

* Fix placement of certain info that was better placed elsewhere.
* Adjust the documentation to inculde how to install during setup step.
* Fixed a few lines for a better feel to the wording.

* Update Services.md

Dispatcher Service notice.

* Update Services.md

dispatcher -> dispatch
2020-10-20 19:12:30 -05:00
397a10e73f new sensors for siteboss OS + new sensor type: percentage (%) (#11958)
* split siteboss 530 and 550 into multiple OS

* add more sensors to siteboss550 and new Percent sensor

* fix contact closure event state values

* split os polling for siteboss to siteboss530 and siteboss550

* add test unit for siteboss550, rename test unit for siteboss to siteboss530

* refactor siteboss os polling to \Librenms\OS

* implement OSPolling to Sitebos550

* force save in pollOS() to keep custom sysName during polling

* updated unit test

* update device graphs

* remove pollOS and extra save()

* siteboss550 no longer extends OSPolling

* update siteboss550 test data

* update discoverOS() to match recent os discovery changes

* styleCI changes

* fix siteboss hardware discovery; add check to OS polling if os_group .inc file exists

* collapse siteboss to single OS, implement siteboss sensors in advanced discovery

* add siteboss unit tests

* removed unneeded OS disco defs

* styleCI changes

* more styleCI changes

* split siteboss os to siteboss530 and siteboss550

* split siteboss os to siteboss530 and siteboss550

* move php polling back into yaml

* keep original siteboss OS name

* resave snmp data for siteboss OS

* resave snmp data for siteboss550 OS
2020-10-20 19:11:12 -05:00
e56f17e86b Added instructions for rsyslog version 8 (#12224)
* Update Syslog.md

Added instructions for rsyslog version 8

* Update Syslog.md

Not familiar with the markup, but looking at the source file for the page Jellyfrog linked it looks correct for tabs. Does the Git preview not render them?

* Update Syslog.md

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2020-10-20 15:09:38 +02:00
aa9f6d2cbe Update IRC-Bot.md (#12216)
Fixed the IRC-Bot Extensions link.
2020-10-15 10:33:20 -05:00
bbf394362e Add table of content to installation guide (#12202) 2020-10-09 07:52:02 -05:00
90483b8cfa Update Install-LibreNMS.md (#12201)
Change the symbol for comments from # to ; 
This threw an error for me while following the steps and had to google to fix the issue. Changing to ; might help people like me who are new to php. Not sure if it would affect any older versions.
2020-10-08 15:32:33 +02:00
782db09bd4 Add docs for Supermicro Superdoctor (#12200) 2020-10-08 12:55:06 +02:00
1e4702fa4f Support multiple daily process locking backends with distributed polling (#11896)
* Implement locks in the file cache

* Replace custom locks

* implement restore lock
Used when re-hydrating

* remove legacy use statements

* Add class descriptions

* Fix style

* Default to database cache driver

* missed cache_locks table
prevent chicken-egg issue

* style fixes

* Remove custom file lock implementation

* missed items from file cache

* Update schema definition
hmm, other schema noise must be from manual modification as this is generated from a freshly migrated db.

* require predis, it is pure python, so no harm in adding

* and set predis as the default client
2020-10-07 07:36:35 -05:00
0d47a74cd2 Updated linux snmpd.conf example (#12195)
remove hard-coded oids an use the defaults
The Unix.php code detects both
2020-10-06 07:37:46 -05:00
210be6266e Yaml support to translate sysObjectID to get hardware (#12187)
* Yaml support to translate sysObjectID to get hardware

* restore ironware behavior

* ...
2020-10-05 13:50:28 +02:00
2bd4f146b5 Accommodate upcoming php 7.3 change (#12180)
* Accommodate upcoming php 7.3 change

An announcement on Twitter as well as [this](https://github.com/librenms/librenms/pull/12118) says future release will depend on PHP7.3 minimum. CentOS 8 ships with 7.2 by default. Also, the composer package's availability via `dnf` was dropped somewhere by CentOS project, so one needs to install it "manually" nowadays. I have yet to find a different solution than the one showed here. Any inputs welcome.

* Removed the dnf list command

* Made manual composer install the fallback method

* Fixed minimum PHP version.
2020-10-04 23:46:29 +02:00
4f4ebacef9 Suggest Fast Ping before 1 Minute Polling (#12179)
* Update 1-Minute-Polling.md

* Update 1-Minute-Polling.md
2020-10-03 18:33:59 +02:00
ff4dcd5678 icecast doc correction (#12183) 2020-10-03 18:26:41 +02:00
f2746f526c Corrected information about mib_dir (#12174)
Corrected information about mib_dir. An array is not handled by discovery.php -- only one directory may be specified.
2020-10-01 00:30:44 +02:00
7bd0ee4260 Update Example-Hardware-Setup.md (#12170)
Additional example hw.
2020-09-30 10:12:41 +02:00
551e95a2e0 Docs: don't index changelogs (#12166)
* Docs: don't index changelogs

* Exclude 2019 changelog
2020-09-30 10:11:32 +02:00
41ed0537b4 Fix midnight poller data loss (#11582)
* Handle more signals

* Flush buffers before exiting process
This ensures log messages aren't lost

* Restart process before jobs have finished
If there is a very log running job it can cause service restart to
take over 5 minutes.

We tweak the order of things to make sure that running processes
continue, but nothing more is scheduled.

The worst case impact is that a pollling/discovery job gets
scheduled twice, but this should not be a big issue - this should
only occur at most once per day.

* Remove python 3.8 feature

* Ensure that processes from the previous invocation are reaped

* Correct typo's

* Attach subprocess descriptors to /dev/null

Occasionally, PHP would throw a fit and crash when its stdout went
away. To avoid this, we attach stdout to devnull.

This means we lost output of daily.sh - but this is already recorded
in $LOGDIR/daily.log

* Don't immediately schedule long running jobs

To avoid the situation where the maintenance reload happens or a sighup,
then a second long running job is immediately started, we wait
(`last_[poll/discovery]_timetaken` * 1.25) seconds before scheduling
any jobs.

* Add `psutil` to requirements

* Add support for "systemctl reload" to the unit files

* Add a fallback for systems that don't have psutil

* Reduce CPU load when psutil is not installed

* Don't avoid double polling by extending the timeout

This shouldn't happen due to locks

* Remove fallback option

* Remove extra variable

* Fix issue introduced during rebase

* Fix issue introduced when fixing issue introduced during rebase

* Make psutil optional
2020-09-29 23:50:40 -05:00
a3c7426a32 Changelog for 1.68 2020-09-29 22:16:04 -05:00
e944456943 Use lnms dev:check instead of pre-commit.php (#12149)
* Remove pre-commit.php references WIP

* remove pre-commit.php references
2020-09-24 12:32:03 +02:00
9ade71d20c API Calls to list Device Outages, calculated Availability (#12103)
* API Calls to list Device Outages, calculated Availability

* switch to eloquent

* style correction
2020-09-24 00:21:08 +02:00
f3f67e834f Update Application Docs for Unbound (#12151) 2020-09-23 23:18:06 +02:00
0e0e80c827 More eventlogs for snmptraps (#12112)
* Allow detailed trap display and inform user about snmptrapd misconfiguration

* Documentation update

* Documentation update

* Documentation update

* CodeClimate

* CodeClimate

* ChangeRequest PR

* Fix tests

* config_definitions

translation

doc

* styleci

* lnms translation generate after npm-install
2020-09-23 17:00:02 +02:00
c207f1dbcf Docs: ARP endpoint can search by MAC (#12129) 2020-09-21 19:22:04 -05:00
9559b09f5e Update Oxidized docs (#12116) 2020-09-21 23:07:23 +02:00
8ec9183df5 Doc - Begins with / Ends with, SQL example is reversed (#12113) 2020-09-21 08:11:22 +02:00
78fa539628 Icecast, Opensips and Voip monitor Application (#12070)
* Icecast added

* Opensips added

* Voip Monitor added

* Icecast documentation

Icecast corrections

* Opensips documentation added

Opensips corrections

* Voip monitor documentation added

Voip monitor corrections

* Icecast corrections

* Opensips corrections

* Voip monitor corrections

* test data added for icecast

* test data added for opensips
2020-09-18 16:49:20 +02:00
941037e44e Convert OS discovery to new style (#12099)
* terra

* airos

* port cisco os polling
old wwan polling was broken and deprecated anyway

* enterasys

* Brother, a few changes

* AW Plus

* Fabos

* set expected test data

* 3com

* Adva FSP150

* advantech

* airos-af

* aix

* akcp

* allied

* allworx and missed mibs

* anyos

* fixup some zyxel shared stuffs
zywall graph polling

* aos

* apc

* apex

* apsoluteos

* fix copyrights

* arris

* arris

* aruba-instant

* ArubaOS

* Ascom

* asuswrt-merlin, ats

* audiocodes

* avocent

* avtech

* barracuda

* binox

* boss

* canonprinter

* cdata

* ceraos

* ciena-waveserver

* fix 3com

* fix airos

* fix brother yaml?

* fix aos more

* fix and improve apc

* fix arista test data

* yaml discovery (basic)

* cimc

* mib not used

* remove old discovery file

* ciscosat

* ciscosb fixes + improvements

* comware

* ctm

* cumulus

* cxr-ts

* cyberoam-utm

* cyberpower

* dahua-nvr

* dasan-nos

* datadomain

* dcn-software and fallback oids

* dd-wrt

* dell-laser

* d*

* e* and location

* forti, post processing, oid coalescing

* Freebsd array of sysDescr regex

* finish f*

* g*

* h*

* i* WIP

* i*

* Junos

* j*

* k*

* unix refactor previous to yaml more
inject $device

* fixes

* fixes

* l*

* m*

* n* ability to set other fields in regex
tnmsne polling to eloquent

* o*

* p*

* q* + bonus calix

* r*

* s* WIP

* s*

* t*

* u*

* v*
rework vrp to yaml (hybrid)

* w*

* x*

* z*

* a* easy no-data

* fixes

* style fixes

* missed ApexPlus

* fix signature

* Add missing location data

* rename getDevice functions

* add new cisco ftd data

* update docs

* revert sill snmp format

* fix snmp options

* update for new smartax test data

* rebase dsm

* fix voss
2020-09-18 15:12:07 +02:00
bbdb1a2a5d Rewrite smokeping script to be an lnms command (#11585)
* Rewrite smokeping script to be an lnms command

* Add a default number of probes for smokeping

* Formatting fixes

* Refactor to simplify a couple of methods

* Fix a name collision when using more than 60 threads

* Simplify

* First pass at documentation

A few climate fixes too.

I'm a little dubious about the + LibreNMS fix - it could be included
in /etc/smokeping/config if it is really needed, but it sounds like
(looking at git blame) it's needed for if the script generates a broken
configuration file.

I'm thinking we should just not generate broken config.

* Improve testability and add some tests

* Load laravel to make translations available

* Second pass at documentation

* Fix brace

* Extend the device factory to include the type

Also adds a device group fake I created before I realised I didn't need it

* Mimic gen_smokeping.php a little more closely

* Update tests to properly verify old and new behaviour against each other

* Replace gen_smokeping with a wrapper

* Don't double whitespace

Render does this automatically.
Explicitly order by hostname too.

* Make faker less likely to generate duplicates

I tried adding a unique constraint here, but it didn't have the
intended effect.

Extending the hostname like this seems to work fine - I tried
generating 10 million hosts and got no duplicates, compared to
duplicates appearing with as few as 100 hosts without this
 change.

A true fix would be to add an 'fqdn' fake upstream.

* Make the tests more robust

* Assorted bug fixes

* Style corrections

* Handle 'generic' devices

* Fix an issue that came up during rebase

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-09-18 00:04:54 -05:00
fde6ef5f3f fix skip_value_lt plurality confusion (#12056)
* fix skip_value_lt plurality confusion

* Update atenpdu.yaml
2020-09-12 23:26:20 +02:00
dbd2b06b80 MySQL Documentation Update (#12085) 2020-09-11 13:09:29 +02:00
7f0b483580 rrdcache OPTS > BASE_OPTIONS (#12074)
Not sure if it's `OPTS` in older versions of `rrdcached`, but it's 100% `BASE_OPTIONS` for 1.7.0. `OPTS` was broken for me for a while.
2020-09-09 10:21:31 +02:00
19cb90439c remove broken link (#12059)
the entire https://blog.librenms.org site seems to be broken, can't find a new location for this blog post, given the age I assume it has been removed.
2020-09-04 11:42:47 +02:00
5f0bbd08dc Changelog for 1.67 2020-09-03 13:17:53 +02:00
6495a9284b Update Smokeping.md (#12048) 2020-09-02 15:21:40 +02:00
a06bf05192 Rewrite the docs for OS discovery (#12047)
To reflect it's now part of discovery instead of polling
2020-09-02 15:18:08 +02:00
2a795c069b Rewrite the test data capture section (#12046) 2020-09-01 13:00:44 +02:00
94fae616a4 Update Fast Ping Check docs (#12024) 2020-08-25 08:14:44 -05:00
73b7636c9f Matrix alert transport (#12018)
* Added Matrix as alert-channel (Feature request #4927)

* formatting

* Dokumentation of matrix-transport

* Matrix Server-URL

* Formatting
2020-08-20 12:04:17 +02:00
ca9dee9df2 Update Applications Docs for Apache Agent (#12009)
* Update Applications.md

Updated docs to resemble updated apache snmp extend script which is now compatible with python3.

* Updated document as requested

* Updated to reflect newest library deps 

Changed the agent code to use newer libraries as suggested by SourceDoctor. Docs now reflects the same change.

* Fixed typo

* Small update to trigger stuck tests
2020-08-18 20:37:04 +02:00
70ab23de9d Correct API route for multiport graph (#12015)
Removed incorrectly placed 'devices' in multiport bits graph API route
2020-08-18 10:54:45 +02:00
22026eb11e Fixed header anchors (#12002)
Fixed header anchors not working. Fixed according to suggestions made [here](https://gist.github.com/asabaylus/3071099)
2020-08-06 18:10:56 +02:00
2c90169156 Update Install-LibreNMS.md (#12001)
Composer missing in Centos 7 and 8 docs
2020-08-06 18:09:25 +02:00
752b3e7db3 Updated documentation and Discovery, to match recent findings (#11999)
from review of Asuswrt-Merlin PR.
2020-08-06 13:45:33 +02:00
54e5dc3df7 Wireless support for Asuswrt-Merlin (the same as Openwrt) (#11964) 2020-08-05 21:24:55 +02:00
f992b7dc9f Remove duplicate changelog entries 2020-08-04 14:40:10 +02:00