Commit Graph
1723 Commits
Author SHA1 Message Date
SourceDoctor 1093315700 Merge branch 'master' into app_dhcp_enhancement 2020-06-08 20:51:41 +02:00
RobJE f590e63d3a Doc debian 10 updates (#11488)
* add package acl to required list

There are ways to install debian without the acl package. Add it to the
required list

* replace systemctl with more generic service

Debian does not require systemd. This makes calling systemctl to restart
processes a problem. The more generic way in Debian is to call service

* rm command allows multiple parameters

* use nginx config in a more Debian way

In Debian webservers are configured using -available and -enabled
directories. Make better use of this stucture.

* better snmpd.conf handling

Instead of overwriting snmpd.conf inform Debian of the change.

Because snmpd.conf contains sensitive info make it only user accessible

* replace nano with users preferred editor

* revert back to nano as editor

* remove dpkg-divert as per PR discussion
2020-06-06 18:43:42 +02:00
pepperoni-pi 28ae37c406 Added ability to use JSON directly in Msteams Transport (#11129)
* Added ability to use JSON directly in Msteams Transport

* Update Transports.md

* Update Msteams.php

* Update Msteams.php

Added boolean to fix test transport button

* Update Templates.md

Added JSON example and modified titles slightly.

* Update Templates.md

Moved MS Teams examples under "Examples" header since they are no longer formatted in HTML

* Update Templates.md

* Update Templates.md

* Update Msteams.php

changed condition to use $obj['id'] rather than $obj['msg']

* Update Msteams.php
2020-06-04 22:18:49 -05:00
Tony Murray 2a5b1fd071 Clearer python-memcached info (#11772) 2020-06-04 20:36:25 -05:00
Tony Murray 75e36fbffb Changelog for 1.64 2020-05-31 10:47:58 -05:00
PelliX 5f3b82de6f Added discovery and graphing for JunOS (SRX) RPM probes (#11187)
* Added discovery and graphing for JunOS (SRX) RPM probes

* Proposed changes for a percent based sensor type

* Fixed missing MIB declaration in JunOS YAML discovery file

* Updated Health-information.md to reflect the new percentage value type

* Added separate test data for junos_rpm type

* Update sensors.php

* Update sensors.php

* Update functions.inc.php

* test re-run

* Update junos_rpm.json

* percentage -> loss

* add ifSpeed prev test data

* mis-merge

* update sensors

* and bgp...

Co-authored-by: PipoCanaja <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
2020-05-30 18:24:43 -05:00
Tony Murray 90e95f160d fix bullets (#11732) 2020-05-30 06:36:17 +02:00
Hans Erasmus b2d6540ff2 Update rrdtool setting explanation (#11724)
After some users said it was not clear.
2020-05-28 11:13:02 +02:00
Tony Murray b767c61836 Update distributed poller docs intro (#11721)
Add info about config sharing
2020-05-28 08:43:10 +02:00
gardar 14193253fe Add support for windows librenms(check_mk) agent (#11691)
* Allow agent to run against windows os

* Display processes from windows check_mk agent

* Replace tabs with spaces

* Fix indent

* Add documentation for windows agent
2020-05-26 16:04:38 +02:00
SourceDoctor 73e2649712 Hardware examples SourceDoctor (#11680) 2020-05-25 02:10:16 +02:00
hachpai 4bb064c7ad Enabling general search for ports, devices, and more (#11571)
* Search engine for device, through API

* reviewed port search through API

* fixed die

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api_functions.inc.php

* Update api.php

* Update api.php

* Update Ports.md

Co-authored-by: Tony Murray <[email protected]>
2020-05-24 17:16:07 -05:00
Unknown acd090da81 Corrected wrong path in documentation (#11675) 2020-05-24 13:51:52 -05:00
SourceDoctor 6d855b9e6f Merge remote-tracking branch 'upstream/master' into app_dhcp_enhancement 2020-05-23 09:51:32 +02:00
TheGreatDoc 0b7373d973 Update Installation-CentOS-7-Nginx.md (#11629) 2020-05-22 20:27:16 -05:00
SourceDoctor cbe572f959 Application DHCP Upgrade 2020-05-22 23:02:19 +02:00
craig-nokia bffa46f34a Update the options for distributed_poller (#11655)
Added $config[] and enabled the remi repository for redis.
2020-05-22 01:16:56 +02:00
jonasblomq caf1cd3707 Update Fast-Ping-Check.md (#11645)
Added stopping and starting RRDCached during the change of the rrd files step.
This will prevent data loss and corruption of the rrd files.
2020-05-20 08:09:23 -05:00
SourceDoctor 4edff1e88a Application - Redis (#11612)
* Application - Redis

* Travis fix
2020-05-15 22:05:40 +02:00
lazyb0nes e87f590232 Update Example-Hardware-Setup.md (#11611)
* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md

* Update Example-Hardware-Setup.md
2020-05-14 21:07:33 -05:00
gardar f62216fdc5 Add missing python3 modules from repo, remove pip (#11594)
* Add missing python3 modules from repo, remove pip

Added missing python3 modules from official debian repos and thus removing the need for pip

* Add python3-setuptools
2020-05-13 08:58:18 -05:00
Luca Olivetti 5e6d371e42 Added example for the alerta transport (#11596) 2020-05-12 15:45:00 -05:00
Hans Erasmus a9f6c935a4 Removed reference to deprecated poller-service.py (#11598)
* Removed reference to deprecated poller-service.py

* Update Dispatcher-Service.md

Co-authored-by: Tony Murray <[email protected]>
2020-05-12 15:39:44 -05:00
PipoCanaja 7a2424c524 Correct sensor ignore documentation (#11591) 2020-05-12 09:22:47 -05:00
VTS 60552d96ae Copy and modify the syslog transport for sending alerts to Splunk in an easy to parse format (#11176)
* Create Splunk.php

* add documentation

add documentation for splunk transport rule

Co-authored-by: Tony Murray <[email protected]>
2020-05-11 23:11:45 -05:00
Munzy e37cf6fc64 Typo Fix (#11588) 2020-05-11 17:44:21 +02:00
CrazyMax c6c7b3c5cc Update Docker installation doc (#11579)
Co-authored-by: CrazyMax <[email protected]>
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 <[email protected]>
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 <[email protected]>
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