Commit Graph

686 Commits

Author SHA1 Message Date
PipoCanaja
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
Hans Erasmus
9559b09f5e Update Oxidized docs (#12116) 2020-09-21 23:07:23 +02:00
Avinash Kumar
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
Adam Bishop
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
SourceDoctor
dbd2b06b80 MySQL Documentation Update (#12085) 2020-09-11 13:09:29 +02:00
Nathan Lam
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
TheGreatDoc
6495a9284b Update Smokeping.md (#12048) 2020-09-02 15:21:40 +02:00
Hans Erasmus
94fae616a4 Update Fast Ping Check docs (#12024) 2020-08-25 08:14:44 -05:00
Hans Erasmus
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
Hans Erasmus
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
Hans Erasmus
fe79029494 Update RRDCached.md (#11967)
Tested the steps for CentOS 7 on CentOS8 today, worked for me?
2020-07-28 23:09:55 +02:00
Tony Murray
020c5fd7e1 Remove legacy code and fix missing device graphs (#11950)
* removing $graphs global

* remove unused things

* fix some additional graphs

* Fix graphs persisting too soon

* correct name for poller module performance graph

* only one type of graph is used here
2020-07-23 09:57:22 -05:00
Anael Mobilia
0b5a9106d8 Update Smokeping.md (#11956)
* Update Smokeping.md

Add smokeping URL path on the config example

* fix quote
2020-07-22 16:01:14 +02:00
Tony Murray
5f0388f0e3 Remove DB credentials from config.php
Better validation when config.php does not exist

Update docs and quote password

only populate legacy vars in config_to_json
drop .travis.yml config copy
remove credentials from config.php.default

Check for existance of .env instead of config.php in python scripts

legacy credential cleanup

tiny cleanups

consistent env for artisan server and artisan dusk
2020-06-27 07:47:08 -05:00
ZoLuSs
fc55830c7a Fix Application Sudo Example (#11707)
* Update Proxmox Process

On latest version of Debian (9.1 and later) snmpd run ad Debian-snmp user.
In visudo change snmp to Debian-snmp

* fix typo

Co-authored-by: SourceDoctor <sourcehhdoctor@gmail.com>
2020-06-22 12:34:25 +02:00
Tony Murray
867aa132c1 Merge pull request #11661 from SourceDoctor/app_dhcp_enhancement
Application DHCP Upgrade
2020-06-16 17:03:45 -05:00
Slashdoom
53f378a900 Update Services.md (#11834)
Add CHECK_MRPE section for https://github.com/librenms/librenms-agent/pull/192
2020-06-16 21:56:04 +02:00
Anael Mobilia
22916afb9e Apps - backupninja (#11010)
* GUI - graphs

* GUI - Apps

* Polling

* GUI - apps

* Add backupninja to documentation

* Apps - backupninja : add link to librenmsagent script

* Add backupninja snmprec file

* Delete backupninja.snmprec

No Regression tests on apps (yet), only on devices.

* Remove old debug

* Update language : FR -> EN

* Add debug informations

* File path moved to /etc/snmp/

* Python script now use json

* Update following example on puppet script

* Update installation instructions following puppet example

* Update apps.inc.php

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: SourceDoctor <sourcehhdoctor@gmail.com>
2020-06-16 01:04:30 +02:00
Tony Murray
8c19cfeadd Merge pull request #11516 from SourceDoctor/rrdcached_doc_update
Update RRDCached Documentation
2020-06-15 13:26:36 -05:00
Tony Murray
9bf91f7153 Merge pull request #11741 from SourceDoctor/agent_sudo_fix
Application sudo correction
2020-06-14 16:39:03 -05:00
SourceDoctor
1093315700 Merge branch 'master' into app_dhcp_enhancement 2020-06-08 20:51:41 +02:00
Tony Murray
2a5b1fd071 Clearer python-memcached info (#11772) 2020-06-04 20:36:25 -05:00
SourceDoctor
adf7e54204 Application sudo correction 2020-05-30 19:19:13 +02: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
Unknown
acd090da81 Corrected wrong path in documentation (#11675) 2020-05-24 13:51:52 -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
f5d537ff18 equalize socket location 2020-05-18 22:50:26 +02:00
SourceDoctor
2d31e9583a remove Debian Jessi howto 2020-05-18 22:42:42 +02:00
SourceDoctor
09c69056c9 user mode 2020-05-18 22:21:01 +02:00
SourceDoctor
b0f75da05d path fix 2020-05-18 22:17:38 +02:00
SourceDoctor
4edff1e88a Application - Redis (#11612)
* Application - Redis

* Travis fix
2020-05-15 22:05:40 +02: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 <murraytony@gmail.com>
2020-05-12 15:39:44 -05:00
Munzy
e37cf6fc64 Typo Fix (#11588) 2020-05-11 17:44:21 +02: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
SourceDoctor
784ca04314 . 2020-05-01 16:32:20 +02:00
SourceDoctor
ed580b0f6b . 2020-05-01 13:52:40 +02:00
SourceDoctor
4173c75b1c remove spaces 2020-05-01 13:50:55 +02:00
SourceDoctor
f83bdbf9af remove spaces 2020-05-01 13:50:01 +02:00
SourceDoctor
75e4b63a51 remove spaces 2020-05-01 13:48:25 +02:00
SourceDoctor
f3043fe7df update RRDCached Documentation - socket fix 2020-05-01 13:41:26 +02: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
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
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
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