Commit Graph

1697 Commits

Author SHA1 Message Date
CrazyMax c6c7b3c5cc Update Docker installation doc (#11579)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-09 14:28:31 -05:00
Hans Erasmus 305ccf20aa Added note about having same APP_KEY value (#11521)
* Added note about having same APP_KEY value

As per discussion in discord all pollers belonging to the same LNMS environment, will need to have the same APP_KEY set in future. Updating docs now already to ensure users knows this and fixes their installs where needed.

* Update Distributed-Poller.md

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-05-07 23:40:56 -05:00
Hans Erasmus c1c95ffda2 Add python3 and pip3 to installs (#11566)
* Add python3 and pip3 to installs

* Ubuntu NGINX install

* Update Debian install

* CentOS7 NGINX install
2020-05-07 11:06:21 -05:00
Hans Erasmus 612817f1a0 Added python3 for new installs (#11564)
`./scripts/composer_wrapper.php install --no-dev` will fail without pip3 installed.
2020-05-06 22:57:14 +02:00
LaZyDK a985cb60ba Update Installation-Ubuntu-1804-Nginx.md (#11466)
Fixing unzip error along with timezone settings.
2020-05-03 13:19:53 +02:00
Nicolas Simond 954cb87e03 Updated Index to add the doc for Debian 10 (#11515)
Updated Index to add the documentation for Debian 10 with NGINX
2020-05-01 10:25:09 +02:00
Tony Murray f078371145 Changelog for 1.63 2020-04-27 22:52:41 -05:00
Hans Erasmus 3169e663d1 Remove webtatic repo from CentOS install docs (#11490)
I personally have no problem with them, but after a recent discussion in discord about a user asking which Repo, it got me thinking that maybe we should also stick to what the OS providers have to say? I see that (obviously) SCL and remi is on the trusted list, so shouldn't the install docs rather stick with them?
https://wiki.centos.org/AdditionalResources/Repositories
2020-04-27 09:07:16 +02:00
Lucas Dousse 5242c26fb4 Add ASP sms provider (#11489) 2020-04-26 19:40:19 +02:00
Anael Mobilia 1b7d0dd4e9 Add transport for Smsmode (SMS provider) (#11332)
* Add transport for Smsmode (SMS provider)

* Delete Smsmode.php

* Add SMSmode to doc using API transport
2020-04-26 13:02:04 +02:00
Nicolas Simond d5002593b2 Created installation for Debian 10 (#11481)
* Created installation for Debian 10 

Based on the one for Ubuntu 18.04

* Update Installation-Debian-10-Nginx.md
2020-04-25 13:14:52 +02:00
Jellyfrog 05507526c0 Set PHP 7.2.5 as minimum supported version (#11470) 2020-04-24 11:04:36 +02:00
Hans Erasmus 91574c9899 Add php-opcache settings to Performance Tuning (#11452)
* Add php-opcache settings to Performance Tuning

* Updated according to comment made by @murrant

* Changed the content based on discussions in Discord.

* Fixed space.

* Incorporated all changes as per ongoing discussions

* My recommendations.

* My reply to recommendations.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-04-23 22:42:57 -05:00
Christophe ac7ebc065f Change stats file location (Bind9) (#11439)
The stats file should not be placed in /var/run/named but in /var/cache/bind.
In run there will be permissions problems.
2020-04-19 12:32:23 +02:00
Hans Erasmus a82f0660f0 Updated selected-port-polling explanation (#11435) 2020-04-19 00:30:42 -05:00
PipoCanaja dd46e15e09 Update FAQ.md (#11423)
Replace issues by community forum in FAQ20
2020-04-15 18:06:21 +02:00
TheGreatDoc f535008680 Doc : Credentials for VM (#11418)
Added info about first access after importing VM into VirtualBox.
2020-04-14 11:04:19 +02:00
Adam Bishop 492ab32b6d Add support for sending events to Sensu (#11383)
* Add support for sending events to Sensu

Sensu is an alerting and monitoring service (and much more) that has a
nagios compatible check API.

This transport translates LibreNMS alerts into Sensu events, and sends
them to the agent API running on the same host as the poller.

The transport has a few options, but none of them are required - if the
Sensu agent is correctly configured, alerts will be sent as soon as the
transport is enabled.

There's a fair amount of code, as I've tried to translate as much data as
possible between LibreNMS and Sensu.

* Update Transports.md

* If alerted is 0, send an "ok" alert dated rrd.step / 2 seconds ago

This makes Sensu aware of the last time the check ran successfully (ish).
If we don't send the initial "ok", Sensu will either display 'unknown',
or an incorrectly high duration for the incident.

Alerted gets set to 1 after the first alert is sent.

We choose rrd.step / 2 as:
 * rrd.step is the maximum time ago the check could have succeeded
 * we halve it, so that if a check is flapping, it is not masked

Basically, we guess that the check fails around halfway through the time
since the poller last ran.

* Add additional metadata

* Improve codeclimate slightly

* Consider names that are 2 or 3 components long
2020-04-11 14:29:13 -05:00
Mathieu Poussin 29748fe306 BGP API: Allow to filter by local and remote peer address. (#11340) 2020-04-05 17:16:16 +02:00
Hayden 7c770a99d8 Fix 10853 os specific syslocation (#11082)
* added functionality to set sysLocation override in $os.inc.php files

* php styling fixes

* updated docs for location override in $os.inc.php

* patch poweralert.inc.php to use $location override

* added location override for enexus (Eltek)

* update phpdoc for set_device_location()

* converged location code in core.inc.php to use set_device_location()

* added new snmprec test data for enexus os

* Travis test data

* remove enexus_smartpacks2 test data

* Revert "remove enexus_smartpacks2 test data"

This reverts commit 36c8fc7036.

* updated enexus_smartpacks2 test data with generic syslocation

* kick travis CI

* kick travis CI
2020-04-02 23:28:12 +02:00
Jozef Rebjak 6d8db3fc82 Update RRDTune.md (#11369) 2020-04-02 12:02:36 +02:00
Hayden cdb6a74dc8 implement watchdog to librenms-service (#11353)
* add watchdog to librenms-service to check log file
add Redis timeout to librenms-service

* updated docs

* fixed logfile_watchdog() indentation in service.py

* indentation fix

* code climate patch

* updated default redis timeout if alerting frequency is 0
2020-03-31 23:10:45 -05:00
Jellyfrog daf451cef7 Convert overview page to laravel (#10757)
* Convert overview page to laravel

* Convert more pages

* More fixes
2020-03-31 23:03:02 -05:00
Tony Murray 37ca98abfa Changelog for 1.62 2020-03-31 20:51:04 -05:00
Wheel 3e0e359f5b Ubiquiti Edgepower OS definition (#11315)
* Initial adding Ubiquiti EdgePower sensors

* Initial adding Ubiquiti EdgePower sensors

* Create airos-ep OS

* Added sensors

* Travis

* Added test / snmprec data

* Codeclimate

* minors

* Update ubnt.inc.php

* Update UBNT-EdgeMAX-MIB

* Update ubnt.inc.php

* Change Airos to EdgeOS

* Add forgotten files

* Test data

* Change os yaml

* Travis

* Update edgeos-ep.inc.php

* Create edgeos-ep.json

* Update edgeos-ep.yaml

* Update ubnt.inc.php

* Update airos.yaml

* Battery and PSU quantity not beeing displayed

* Rerun OS tests to generate json file

* Add high low temp values recommended by factory

* Add high low temp values recommended by factory

* Travis

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-03-24 09:13:04 -05:00
Raphael Yancey c1672517c0 Update SMART extension documentation (#11330)
* Update SMART extension documentation

The documentation in the comments of the script (https://github.com/librenms/librenms-agent/raw/master/snmp/smart) is clearer regarding the device line format.

* Update Applications.md
2020-03-23 20:19:10 +01:00
Dag Bakke cc60d4f16b Update SNMP config example for Eaton MGE UPSe(#11334)
Added SNMP config info for Eaton MGE UPSes.
2020-03-23 18:41:26 +01:00
Dag Bakke 7e7320139a Update Performance.md (#11298)
Added link to the Dispatcher Service
2020-03-22 12:11:02 +01:00
Dag Bakke 299ae36cd1 Update Dispatcher-Service.md (#11297)
Added a few lines about tuning the number of worker threads. Hope I got it right.
2020-03-19 06:41:54 -05:00
SourceDoctor 4e349efd11 Rewrite Poller Management to Blade/Eloquent (#11277)
* Rewrite Poller Management to Blade/Eloquent

* remove further no more needed file

* Code Climate

* Code Climate

* hardcode tabs

* change URL style

* change prefix from poller-groups to poller

* .

* parameter fix

* Refactor to use more direct routing.
remove switch statement.

Co-authored-by: Tony Murray <murraytony@gmail.com>
2020-03-13 20:58:37 +01:00
Jozef Rebjak e7c40d756e Fix dockerized postfix app wrong url (#11285)
* fix dockerized postfix wrong url

* Update Applications.md
2020-03-13 19:32:43 +01:00
crcro 2ee2862357 app: mailcow-dockerized postfix stats (#11058)
* app-mailcow-dockerized-postfix

* fix docs

* updated niceCase

* test-data

* snmprec upload

* new test data

* new test data
2020-03-13 10:16:03 +01:00
Danislav 36dbe0484e Add quotes around the word mail (#11267)
* Add quotes around the word mail

The word 'mail' needs quotes around it so php will use it as a string instead of a variable name.

* Double quotes to Single as is in the rest
2020-03-10 15:48:15 +01:00
Jozef Rebjak ce7a454434 Update SNMP-Trap-Handler.md (#11263)
* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

* Update SNMP-Trap-Handler.md

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-03-10 11:05:22 +01:00
Fredrik Holmberg 6a97862211 Update SSL-Configuration.md (#11223)
Isn't this a typo?
2020-03-06 21:33:59 +01:00
PipoCanaja 6d56b9699b Fix autodiscovery vs discovery on LLDP/xDP links (#11189)
* Fix xdp autodiscovery consistency (discovery vs autodiscovery)

* Update documentation related to xDP autodiscovery
2020-03-05 13:27:20 +01:00
Dan Langille c69b4a5898 Fix includes/defaults.inc.php references (#11249)
Now that includes/defaults.inc.php has gone away, refer to
misc/config_definitions.json instead.
2020-03-04 09:18:56 +01:00
Heath Barnhart 12f8e72406 Doc: Health Sensor Advanced Discovery Example (#11179)
* Update Health-Information.md

Adding example

* Update Health-Information.md

Grammar and wording pass 1.

* Update Health-Information.md

Proofread pass 2

* shorter lines

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2020-03-03 06:19:23 -06:00
Tony Murray 4d917b7a5e Changelog for 1.61 2020-03-01 22:03:30 -06:00
pepperoni-pi c25551ac98 IOSXE ignore macSecControlledIF and macSecUncontrolledIF ifTypes (#11214)
* Added bad_iftype to iosxe.yaml definition

* Update Configuration.md

Updated file location from includes/defaults.inc.php to misc/config_definitions.json and added an example of OS specific bad_iftype entries.

* Added OS Specific example for ignoring interfaces and updated file location.

* Updated bad_if selection documentation
2020-02-27 14:50:36 -06:00
Mathieu Poussin baf2f9a4ce BGP API: Add filter by remote ASN (#11204)
* BGP API: Add filter by remote ASN

* Fix blocked merge
2020-02-26 14:29:44 +01:00
gabrielRojasNew 2d14a57986 Added documentation to edit, delete services and locations (#11193) 2020-02-25 19:57:54 -06:00
PipoCanaja 4c6b017035 Typo - Chromatic dispersion (#11188)
* Typo

* Update Health-Information.md

force re-run tests
2020-02-25 18:28:04 +01:00
gabrielRojasNew f023be1edf Document add and remove parents from API (#11148) 2020-02-13 23:58:01 +01:00
Atroskelis 2bd17690ba Added yum-config-manager to Remi install (#11033)
Hello,

If you follow the original Rumi config, the path to the binaries are not changed, so you cannot do php -v after the yum install line. 

If you install the yum-package-manager then apply the repo, all php packages become rumi php packages.

I hope the yum install line is correct, as i've tried to edit it and i hope i didnt miss any packages.
2020-02-13 22:22:41 +01:00
SourceDoctor 53dc564ef5 Puppet Agent Monitoring (#10827)
* puppet agent monitoring

* change position of last run graph

* device overview panel

* updating documentation

* mouseover for Overview Dashboard

* adding blank line for code climate
2020-02-12 08:26:02 +01:00
Guillermo c8fab3a13f Add alert_rule filtering to API ROUTE "list_alerts" (#11109)
* Add alert_rule filtering to API ROUTE "list_alerts"

* move alert_rule filter before "order by"

* $_GET to $request->get

* spacing

* multiple empty-lines
2020-02-11 19:04:55 +01:00
SourceDoctor 6fe840dc8d Added steps to split DB off to its own server (#11130)
I struggled to get this working, so thought I would add my steps to the FAQ to help future users. Thanks to @murrant for the step about the .env file, that was the last piece of the puzzle.

Co-authored-by: Hans Erasmus <erasmushans27@gmail.com>
2020-02-11 15:49:16 +01:00
Neil Lathwood 6e9329b4a9 Change log for 1.60 Release (#11099) 2020-02-04 10:29:59 +00:00
Martijn Schmidt a64bd45dbc Update IronWare sensors & bgp-peers discovery, allow skip_values to target a specific index appended to the OID (#10941)
* Migrate ironware sensor discovery from php to yaml.

* More sensors, add grouping.

* dynamic_discovery_get_value() becomes getValueFromData()

* Target a specific index with skip_values.

* Improve Brocade BGP session discovery/polling

This commit allows for the correct discovery of BGP sessions
with 32-bit ASNs, IPv6 neighbors using the BGP4V2-MIB which is
based on draft-ietf-idr-bgp4-mibv2-11 and also polls for IPv4
unicast received routes through the FOUNDRY-SN-BGP4-GROUP-MIB.

Copied most of the code from PR#8877 by @Mikeburke14, cleaned
up the code a little bit to match the normal LibreNMS style,
and fixed bgpPeers_cbgp discovery as well as polling for the
ipv4.unicast neighbors.

Note that older Brocade IronWare firmware versions are known
to have multiple defects relating to the BGP4V2-MIB which
might result in certain missing non-established neighbors.

Related vendor defect numbers:

- DEFECT000633962
-- Symptom: The OID bgp4V2PeerAdminStatus does not return the
            correct value
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00g

- DEFECT000583319
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display all the BGP entries
-- Reported: NI 05.6.00
-- Resolved: NI 05.8.00e

- DEFECT000550309
-- Symptom: SNMP polling on bgp4V2PeerTable (OID brcdIp.3.5.1.1.2)
            does not display the full information
-- Reported: NI 05.7.00
-- Resolved: NI 05.8.00c

* Add ironware CER & ICX platform test data.

* Re-add ironware.json compatible with current master branch.
2020-02-01 23:28:03 +01:00