Commit Graph

1697 Commits

Author SHA1 Message Date
Tony Murray 1ea7af424b feature: bind user for active_directory auth (#6255)
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.

* missing global (but still may not be working)

* always return a value from reauthenticate()

* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.

* Refine auth_test.php a bit more
A few small cleanups in other places of the auth

* Add auth_test.php to docs
Some more improvements in the auth_test.php output.

* Update Authentication.md
2017-03-29 08:22:02 -05:00
Tony Murray 5d2aa30153 Update Poller-Service.md (#6291) 2017-03-28 22:14:57 +01:00
Neil Lathwood e165565413 removed -p from doc (#6274) 2017-03-26 13:45:27 +01:00
Neil Lathwood 737865c94f updated changelog (#6273) 2017-03-26 13:06:00 +01:00
Tyler b6c2648f44 Update Installation-CentOS-7-Apache.md (#6271)
The -p option is not needed by the default installation of mariadb-server on CentOS Linux release 7.3.1611 (Core)

Including it without knowing to press enter for no password results in an authentication error:

root@netmon ~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Alternatively, it could be noted to leave the password field blank when asked.
2017-03-26 13:02:23 +01:00
pblasquez c2cdf14223 feature: Added syslog alert transport (#6246)
* Add syslog alert transport and docs

* Remove redundant priority variable

* Log syslog transport events as critical
2017-03-23 08:46:28 +00:00
Falk Stern affe5090f4 feature: Send collected data to graphite server (#6201)
* Initial support for graphite

* Enable graphite include

* fixed typos.

* Fixed port naming to graphite metric names

* Added documentation for Graphite

* added documentation for graphite

* fixed style

* replace / with _ in interface names for graphite

* sets default graphite port

* adds rrd-name tags to the metric, otherwise metrics get lost

* add suggested storage schema for graphite

* add whitespace

* Updated to show some output

* bad english
2017-03-22 10:35:44 -05:00
VVelox 0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
Neil Lathwood 5f5dc2a854 feature: Peeringdb integration to show the Exchanges and peers for your AS' (#6178) 2017-03-22 10:17:13 +00:00
Neil Lathwood f6d8859bb4 feature: Added support for sending alerts to Telegram #2114 (#6202) 2017-03-22 09:02:24 +00:00
Tony Murray 124fee657e remove useless apache restart (#6226) 2017-03-22 08:14:18 +00:00
Tony Murray 35e33d629c docs: php-fpm grant access (#6227)
php-fpm runs as the apache user, add it to the librenms group too.
Changing the user of php-fpm breaks other things, so this is the better fix
Primarily broken when using rrdcached.
2017-03-21 19:31:40 -05:00
VVelox cd16a071ef update Unbound to work with SNMP polling as well (#6151)
* enable polling via SNMP

* document doing Unbound as a SNMP extend
2017-03-19 18:03:51 +00:00
Neil Lathwood dad2a5e9cc Updated bitly link in validate and updated docs to use pastebin service (#6179)
* replaced bitly link

* updated docs for adding new OS
2017-03-12 21:21:26 -05:00
Neil Lathwood 014682b60b api: Added new route for multiport bit graphs + asn list_bgp filter (#6129)
* api: Added new route for multiport bit graphs + asn list_bgp filter

* fixed scrut errors
2017-03-12 21:17:09 -05:00
Neil Lathwood 1d243c40c7 feature: Added pbin.sh to upload text to p.libren.ms (#6175)
* feature: Added pbin.sh to upload text to p.libren.ms

* added ack
2017-03-11 21:12:49 -06:00
Neil Lathwood 8ca1f169b3 feature: Added rrd step conversion script (#6081)
* feature: Added rrd step conversion script

* updated to support all for hostname

* update docs + code

* small updates as per murrant
2017-03-11 07:32:43 -06:00
VVelox d56489b0e7 alphabatize doc/Extensions/Applications.md (#6127)
* remove small typo

* alphabatize index

* sort everything

* Move agent back down to the bottom

And add a separator.

* Fix my mess up

* Create Agent-Setup.md

* Update Applications.md

* Update mkdocs.yml

* Remove agent setup content from this page.
2017-03-09 15:41:52 -06:00
Tony Murray 1c48fe399f docs: Renamed the mysql extend script to just mysql (#6126)
Move extend above the agent.
2017-03-08 00:47:35 -06:00
JꙨdцӍoηҬ d468fc301e systemctl enable mariadb (#6117)
* systemctl enable mariadb

It might be practical to start on boot the DB ;)

* Update Installation-CentOS-7-Apache.md
2017-03-07 21:01:51 +00:00
JꙨdцӍoηҬ 15c4a332e1 replace /var/run/php/ by /var/run/php-fpm (#6116)
* replace /var/run/php/ by /var/run/php-fpm

on CentOS 7 with PHP 7.0 /var/run/php don't exist
it's /var/run/php-fpm/

* Update Installation-CentOS-7-Nginx.md
2017-03-07 21:01:42 +00:00
VVelox 6e17662608 docs: Added MySQL as a SNMP extend to applications doc (#6115) 2017-03-07 08:15:40 +00:00
VVelox 671654d155 feature: Added Nvidia GPU application support (#6024) 2017-03-03 20:41:20 +00:00
Mark Hughes dc41c0eae1 api: Expose ports in API requests for bills (#6069)
* Expose ports in API requests for bills
2017-03-03 20:40:15 +00:00
Tony Murray 5dc595e260 doc: Try to explain how OS discovery works with the yaml definition (#6075) 2017-03-03 19:18:09 +00:00
VVelox ab2043c634 feature: Add Squid application support (#6011) 2017-03-03 18:55:33 +00:00
VVelox 354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
VVelox 41bf70dac9 feature: Updated Nfsen integration support (#6003)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question

* add f2b poller

* add f2b app page

* add f2b graph

* add fail2ban notes

* minor formatting cleanup

* ...more formatting cleanup

* rename it so it can be called via the app page

* Revert "rename it so it can be called via the app page"

This reverts commit 0bde88a038.

* *rename it so it can be called via the apps page
*setup the apps page to call it

* renamed the graph

* now include fail2ban in the apps properly

* correct the wget command so it does not stomp on phpfpm-sp

* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs

* update for now graphing firewalled and banned

* update fail2ban docs to match the newest snmpd extend method

* search automatically for jails and graph them

* graphs the currently banned for a fail2ban jail

* change the tital of the graph for the total banned to make it more descriptive

* Add a explanation of the two variables in the total graph.

* misc. white space cleans ups

* misc. white space cleanup

* minor white space cleanup

* correct descr lenght

* correct descr lenght

* Update fail2ban.inc.php

* Use rrd_name properly

* note the cache file bits

* make caching optional and note why

* Update to new RrdDefinition class

* And the use statement ;/

* Messed the second rrd_def

* correct two minor errors that did not seem to be causing issues

* don't use $vars as per pull #5994

* don't use $vars as per pull #5994

* fix jails graphs

* Remove loops and temp variables

* whitespace

* Change graph so we don't get fractions

* add the common nfsen channel include

* add nfsen channel flows graph

* add nfsen channel packet graph

* add nfsen channel traffic graph

* update nfsen for channel support

* the nfsen general page

* add the nfsen channel page

* update the docs on nfsen to be more clear about configuring it

* white space cleanup

* white space cleanup

* misc code cleanup

* now consistently uses all the same quotes

* minor code cleanups

* Update nfsen_channel_common.inc.php

* minor white space cleanup
2017-03-02 09:03:45 -06:00
Avery Payne fd21bee0e2 docs: Update lighttpd docs to include svg config
With SVG introduced, the icons for hosts are broken.  The pattern match has been revised to support more image formats, including SVG.  This resolves the icons showing up as broken images when running lighttpd.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
2017-03-02 01:13:29 +00:00
VVelox de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00:00
VVelox 002f4157b6 feature: Added support Postfix application 2017-03-01 18:34:22 +00:00
Neil Lathwood 24a5f6bd37 Db collation standardisation (#5932)
* initial work to standardise collation

* more updates

* final bits for collation update (famous last words)

* Rename 165.sql to 166.sql

* Update schema version inside 166.sql

* moved schema file 166->171
2017-02-27 18:28:01 +00:00
David Bell bc62e1ac54 Update 1-Minute-Polling.md 2017-02-27 14:51:17 +00:00
Neil Lathwood bbc7d71cf9 some small updates (#6022) 2017-02-27 14:39:02 +00:00
Neil Lathwood 3f5bf56b55 added changelog for v1.25 (#6018) 2017-02-26 22:14:06 +00:00
pep-un 7956f94eb8 Add a title for the RANCID section (#6012)
* Remote monitoring using tinc VPN

* Added 2 # command-pefixes

* Add bash source code highlighting

* Updated file name + some commands

* update docs

* Add a title for the RANCID section
2017-02-26 13:44:21 +00:00
VVelox 6cf5add528 feature: add fail2ban application support (#5924)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question

* add f2b poller

* add f2b app page

* add f2b graph

* add fail2ban notes

* minor formatting cleanup

* ...more formatting cleanup

* rename it so it can be called via the app page

* Revert "rename it so it can be called via the app page"

This reverts commit 0bde88a038.

* *rename it so it can be called via the apps page
*setup the apps page to call it

* renamed the graph

* now include fail2ban in the apps properly

* correct the wget command so it does not stomp on phpfpm-sp

* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs

* update for now graphing firewalled and banned

* update fail2ban docs to match the newest snmpd extend method

* search automatically for jails and graph them

* graphs the currently banned for a fail2ban jail

* change the tital of the graph for the total banned to make it more descriptive

* Add a explanation of the two variables in the total graph.

* misc. white space cleans ups

* misc. white space cleanup

* minor white space cleanup

* correct descr lenght

* correct descr lenght

* Update fail2ban.inc.php

* Use rrd_name properly

* note the cache file bits

* make caching optional and note why

* Update to new RrdDefinition class

* And the use statement ;/

* Messed the second rrd_def

* correct two minor errors that did not seem to be causing issues

* don't use $vars as per pull #5994

* don't use $vars as per pull #5994

* fix jails graphs

* Remove loops and temp variables

* whitespace

* Change graph so we don't get fractions
2017-02-24 11:50:33 -06:00
Neil Lathwood dfac70be69 1min polling doc (#5995)
* added doc link

* added doc link
2017-02-24 13:00:09 +00:00
barryodonovan 0f663b3a82 feature: Add Smseagle transport support (#5989)
* added alert transport for SMSEagle hardware gateway (smseagle.eu)

* added newline

* schema file update + small code refactor

* added docs
2017-02-24 11:55:53 +00:00
Neil Lathwood fad5aca1b7 feature: Allow customisation of rrd step/heartbeat when creating new rrd files (#5947)
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files

* revert defaults

* added docs + webui config option

* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.

* Fix style/lint issues and missing use statements

* 3 more missing use statements

* updated doc + moved schema file
2017-02-23 22:45:50 +00:00
Neil Lathwood a8691680ab feature: Added ability to output graphs as svg (#5959)
* feature: Added ability to output graphs as svg

* Update graph.inc.php

* added ability to gzip various files for web servers
2017-02-22 06:08:18 -06:00
gilrim 1c9cbc42f5 api: Add ability to return all device info for get_devices_by_group() (#5971)
* Changed GetDevicesFromGroup to output all columns if  is defined in url
2017-02-22 09:37:40 +00:00
VVelox 872eac10aa feature: add PHP-FPM support for snmpd (#5912)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question
2017-02-16 15:10:42 +00:00
deutor cdd9238b32 Installation-CentOS-7-Apache.md - fixed typo (#5918)
Fixed typo
2017-02-16 15:08:30 +00:00
Craig 3fd56d7297 fix Indentation (#5902) 2017-02-15 09:33:03 +00:00
Craig 6850bd15ad docs: fix unbound, config options were missing (#5899)
This wasn't working, as relevant config options were missing. Also, statistics-interval: 0 just dumps stats to the log, if someone decides they want to do it; ok. It has no influence on functionality.
2017-02-15 00:40:55 +00:00
Neil Lathwood cc51a68f85 feature: Optional partial port polling (#5805)
* feature: Added ability to switch port polling mode

* update, speed things up slightly by walking certain tables

* more fixes

* updates

* updates

* update to exclude ports that are down

* wrong variable used

* update to set previous port status when null

* small update to port disco
2017-02-14 17:26:07 -06:00
Richard Mayhew d6495dcac9 newdevice: Added more Linux Server hardware detection (#5866)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* Added hardware information through snmp extend

* formatting

* Added some documentation in the examples

* changes

* formatting

* removed the mib reference
2017-02-14 08:51:46 +00:00
Michał Margula a44d4254f8 docs: Update Applications to use correct link for exim-stats (#5876)
Changed link for exim-stats.sh that should point to the latest (not broken) version.
2017-02-13 16:17:11 +00:00
Neil Lathwood 9384d306ac docs: Added info on using munin scripts #2916 (#5871) 2017-02-13 00:17:21 +00:00