Commit Graph

642 Commits

Author SHA1 Message Date
Tony Murray b8e9b2d917 Implement an autoloader (#4140)
* Implement an autoloader

When cleaning up classes for psr2, things got a bit unwieldy, so I implemented a class autoloader.
I created a PSR-0 compliant LibreNMS directory and moved all classes there that made sense.
Implemented LibreNMS\ClassLoader which supports adding manual class mappings

This reduces the file includes needed and only loads classes when needed.

* Add teh autoloader to graph.php

* Add a small bit of docs
Fix incomplete class in includes/discovery/functions.inc.php
2016-08-21 14:07:14 +01:00
crcro af07c38efb docs update for rpi local agent 2016-08-21 03:00:42 +03:00
laf e7ba6d9ade Updated sub-directory docs 2016-08-20 11:47:24 +01:00
Tony Murray 1b0e783b44 Update Applications.md
Fix spacing
2016-08-19 15:37:20 -05:00
Tony Murray 0074d5a6d2 Arch linux alternate db suggestion 2016-08-19 15:35:04 -05:00
Tony Murray 9a66326fcf Merge pull request #4115 from laf/install-docs-upd
Update install doc file names to be clearer
2016-08-19 11:02:11 -05:00
laf ae7d13d299 Ready for new docs site 2016-08-19 14:37:44 +01:00
laf 29870b1bc1 Update install doc file names to be clearer 2016-08-18 23:46:15 +01:00
Neil Lathwood 637d01cd13 Merge pull request #4077 from murrant/ntpd-app
NTPD Application
2016-08-18 21:30:33 +01:00
crcro 76fa9833c3 fix github markup in files 2 2016-08-18 03:34:10 +03:00
crcro 207ca03ed4 fix github markup in files 2016-08-18 03:32:46 +03:00
crcro 72856bac07 fix rebase 2016-08-18 03:28:59 +03:00
crcro cce24a4d33 changed docs to sudo only the required command 2016-08-18 03:27:11 +03:00
crcro 70c93fe9e6 added docs for pi host snmp extend script 2016-08-18 03:27:11 +03:00
Tony Murray 984dafda4b Merge remote-tracking branch 'upstream/master' into ntpd-app 2016-08-17 15:40:38 -05:00
Florian Beer a61c1b2ebf Add snmp polling capability for Proxmox 2016-08-17 21:56:23 +02:00
Alan Gregory 8e7d40c121 Removed comment and set default value to yes acording to poller 2016-08-17 09:34:30 -03:00
Alan Gregory cee72a4cd6 Fix tipo 2016-08-16 11:00:37 -03:00
Alan Gregory 40984943c0 Added menu entry 2016-08-16 10:51:53 -03:00
Alan Gregory 1f15bc6486 Adeed unbound App setup docs 2016-08-16 10:48:57 -03:00
Tony Murray f3a78d8136 NTPD Application
Support the unix agent
Add to documention.
Renamed so it will be automatically enabled by the unix-agent.
2016-08-15 23:54:13 -05:00
Tony Murray ead28f6acd Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-07 08:22:32 -05:00
Tony Murray 08a2005acd Merge pull request #3949 from florianbeer/memcached
Add snmp polling capability for Memcached
2016-08-05 14:01:17 -05:00
Neil Lathwood cdac67ddd8 Merge pull request #3972 from florianbeer/patch-1
Update rsyslog 5 template
2016-08-05 19:58:24 +01:00
Florian Beer 69166e37a9 Resolve merge conflicts 2016-08-05 20:51:22 +02:00
Florian Beer 695f7b70c4 Update rsyslog 5 template
We want textual representations of "syslogfacility" and "syslogpriority".

Also I think it's better to use "timereported" than "timegenerated". Otherwise your log messages would be out of order if the servers don't all run in the same timezone (localtime).
2016-08-05 14:42:46 +02:00
crcro 1476650740 app-dhcp-stats initial release 2016-08-05 14:46:29 +03:00
Florian Beer 1c5dd3f2c6 OS Updates apt-get documentation 2016-08-04 13:34:40 +02:00
Daniel Preussker c63728c552 Merge pull request #3932 from murrant/spelling-fix
PowerDNS-Recursor improvements
2016-08-04 05:38:26 +00:00
laf 4116b2af90 Added more clarification + snmp-scan usage 2016-08-03 22:01:05 +01:00
laf 333c6bab2a Updated auto discovery docs and pointed users to them on install 2016-08-03 21:45:54 +01:00
crcro 7dfc4db15a app-os-updates initial release 2016-08-02 18:42:31 +03:00
Tony Murray e8af37ef03 PowerDNS-Recurosor improvements
Add config variables for direct connection
Fix spelling
2016-08-02 08:27:06 -05:00
Tony Murray 61669be531 Application doc updates
Mysql requires php-cli and mysql extension
Older versions of systemd don't support --now
2016-08-01 14:59:09 -05:00
Tony Murray 97daf3dd54 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-08-01 10:18:28 -05:00
Florian Beer 7e02dfc5e3 Add rsyslog 5 example to syslog documentation 2016-07-31 19:12:07 +02:00
Tony Murray 8553646aa7 Merge pull request #3885 from laf/issue-3860
Added support for multiple emails
2016-07-28 16:46:49 -05:00
laf 13f07fe0da Updated out of date link 2016-07-28 21:21:43 +01:00
Neil Lathwood f501fa73bf Merge pull request #3886 from murrant/doc-applications
Rename Agent Setup to Applications
2016-07-28 20:23:14 +01:00
Neil Lathwood db00e262ec Merge pull request #3852 from pblasquez/patch-7
Change slack format to attachment style
2016-07-27 08:47:52 +01:00
Tony Murray 66a500cd28 Rename Agent Setup to Applications
This is to make the document easier to find.  No one sets out with a goal to set up an agent (unless they are told to).  They want to monitor an application.  Coming to this doc will give them a list of applications they can monitor and ways they can collect the data from the application.  (Direct, SNMP Extend, or Agent)

There needs to be a lot of expansion here, but this is a start.  I'd like to see most applications support 2-3 ways of collecting data.
2016-07-26 21:27:12 -05:00
pblasquez a5383b9806 Adding new slack information 2016-07-26 18:03:08 -07:00
Tony Murray 2c98fd7426 Merge remote-tracking branch 'upstream/master' into rrd-create-remote 2016-07-26 19:29:11 -05:00
laf c162b42763 Updated alerting doc 2016-07-26 22:31:28 +01:00
Neil Lathwood 57499c456f Merge pull request #3869 from murrant/app-pdns-recursor
New App: Powerdns Recursor
2016-07-26 20:51:19 +01:00
Tony Murray 8d950a4ed7 More compact debug output.
RRDC_USER is not used in the systemd unit file (this isn't how you set an environment variable), so remove it.
2016-07-25 20:12:40 -05:00
Tony Murray e3772e2653 Don't use $config['rrdcached_dir'] anymore, always use relative directories when using rrdcached.
Wait for output on every command, this prevents input left in the buffer from messing up subsequent commands.
It doesn't seem like there is a penalty, but I'd have to do more testing.
2016-07-25 16:24:09 -05:00
Tony Murray ab8452e7f8 Add PowerDNS Recursor docs to Agent-Setup.md 2016-07-24 22:20:43 -05:00
Tony Murray 52d5e82379 Remove my Applications.md 2016-07-24 21:45:11 -05:00
Tony Murray a8d66ddf72 Add Applications docs 2016-07-22 15:36:19 -05:00