12009 Commits

Author SHA1 Message Date
7c9a176d63 Update irc.php 2016-08-25 11:42:05 +02:00
f69954e29f Update irc.php 2016-08-25 11:38:32 +02:00
a685b5af7a IRC bot - detect lost communication
Force reconnect if no data received from server for config['irc_conn_timeout'] seconds (that may happen when network/VPN goes down - in such case IRC bot won't get immediately notification that connection was lost, at least till it tries to send anything).
2016-08-25 11:34:54 +02:00
ec12273aa7 check for no motd line (#4200)
Fixes #4199
2016-08-25 09:02:10 +01:00
111d967e7d Fix remote rrdtool_check_rrd_exists() calls (#4196)
It was comparing with the full name when rrdcached only printed out the relative name.
Thanks mikmak on irc for lots of troubleshooting.
2016-08-24 22:42:50 +01:00
1055003d3f Remove requirement for ['enable_printers'] (#4192) 2016-08-24 12:42:06 -05:00
dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05:00
6b2ac09be6 ricoh devices returning garbage as toner level (#4180)
* ricoh devices returning garbage as toner level

* ricoh toner extra check

* more ricoh rules
2016-08-24 17:47:06 +01:00
e112302e40 Fixed not sending port_descr_type (#4188) 2016-08-24 11:01:56 -05:00
8a654359c9 Hytera new (#4191)
* Hytera repeater support

* Fixed Hytera Repeater OS detection
2016-08-24 14:45:03 +01:00
7634c085c0 Hwg ste2 (#4190)
* misspelled var name

* HWg-group STE2 fully working - tested

* not so noisy definitions.inc.php

* implemented scrutinizer best practices
2016-08-24 14:37:35 +01:00
f30c3907a8 initial sonus support (#4176)
* initial sonus support, tidy definitions.inc.php

* proper copyright in files

* limiting the noise

* used too old definitions.inc.php
2016-08-24 14:33:00 +01:00
383c50b4f4 Updated docs to have source to use for edit github (#4185)
* Added source link for edit on github

* Updated formatting issues

* Updated formatting issues

* Updated formatting issues
2016-08-24 08:12:20 +01:00
e54341857f misspelled var name (#4186) 2016-08-24 08:11:58 +01:00
32b9d82220 Docs: avoid scrollbar on mobile (#4184) 2016-08-23 19:58:32 +01:00
88512f156d hwg-ste2 sysObectId os definition fix (#4173) 2016-08-23 19:47:39 +01:00
27382b157b Update Applications docs (#4171)
Move scripts to librenms-agent repo
Remove LibreNMS.zip from scripts, update docs to point to the extracted folder
2016-08-23 19:46:56 +01:00
10d7451a74 Hytera repeater support (#4163) 2016-08-23 19:44:45 +01:00
787c4f09f7 Config option for global default dashboard (#4080)
* Config option for global default dashboard

Add config option to set a global default dashbord.  This will be used
instead of the user's "Default" dashboard unless they have changed their
default dashboard in their user settings.

* Use a dropdown for the default_dashboard option

Update generate_dynamic_config_panel to allow assoc arrays with
`'value'` and `'description'` as keys and change to a select box.

* Fix PHP style issues lost during merge
2016-08-23 19:37:12 +01:00
0b57b1ef69 Docs update (#4182) 2016-08-23 13:32:24 -05:00
e6d3228d6f Add old doc redirects (#4181)
Hide "hidden" menu
Push down docs below nav header
2016-08-23 19:24:03 +01:00
eeca67e155 Restore the older docs to the menu so they get generated (#4179) 2016-08-23 10:02:05 -05:00
228857d2da Use proc_terminate instead of proc_close to protect against zombies (#4178) 2016-08-23 15:23:55 +01:00
7b93b564da Centralize class loader (#4169)
Move the classloader to as early as possible in defaults.inc.php
This should cover all application entrances.
Set install_dir based on the location of defaults.inc.php
2016-08-22 23:59:59 +01:00
e920e28e48 Change the default error_reporting level to include all fatal errors (#4165)
* Change the default error_reporting level
This will hopefully save confusion when there are things like syntax errors and missing required files.

* Add E_PARSE error as well.
This is a fatal error too.
2016-08-22 23:55:21 +01:00
9b3fbfbb5e Merge pull request #4168 from murrant/fix-realtime
Re-fix realtime
2016-08-22 15:14:50 -05:00
70a0e17a2b Re-fix realtime 2016-08-22 15:13:41 -05:00
6190562d9a availability map updates (#4160)
* fix for services visibility if no service available or not enabled in config

* availability map option to switch to old view

* updates as guided by @laf
2016-08-22 19:12:44 +01:00
2fd6a9f0fb Fix button jumping for dashboard tooltips (#4164)
http://getbootstrap.com/javascript/#callout-tooltip-groups
2016-08-22 19:09:22 +01:00
e80a385b7f RRDtool dual process (remote creation/check) (#4104)
* Prepare for dual rrdtool processes
Disabled at this time
Split out rrdtool version checks into rrdtool_create_command()
Tests for rrdtool_create_command()
Fixes a few small issues.

* Enable dual process and remote rrd check/creation

* remove full path for remote commands

* Doc updates
minor fix to rrdtool_tune()

* Set up bootstrap for phpunit
Fix issues with FileExistsException

* Attempt to fix phpunit

* Fix classloader and bootstrap to use full paths only (not depending on $config)

* Fix phpunit tests, config.php does not exist.
2016-08-22 16:32:05 +01:00
27c1c72b19 Fixed realtime graphs (#4162) 2016-08-22 11:46:22 +01:00
b1cfaa7ec0 OS Icon Updates + Added Info to AUTHORS.md (#4058)
* Updated OS Icons

Cleaned up image for Lenovo - new images for asuswrt-merlin, swos,
tomato. Minor update for MikroTik RB260GS.

* Added Contact Information to AUTHORS.md

* Update Lenovo Icon (32x32), Revert SwOS Change

* Added Text per Contributor Agreement

I agree to the conditions of the Contributor Agreement
contained in doc/General/Contributing.md.
2016-08-21 21:11:10 +01:00
15ef8bbd23 Updated themes doc + added Google analytics (#4158) 2016-08-21 21:10:01 +01:00
ead3f24008 fix hwg-ste2 bad oid (#4157) 2016-08-21 18:51:02 +01:00
edab8aa191 Merge pull request #4153 from laf/issue-4152 2016-08-21 17:05:15 +03:00
laf
be1ab5fcdc Small update 2016-08-21 15:00:52 +01:00
laf
ab8acf2773 Fixed ntpd application graphs 2016-08-21 14:58:02 +01:00
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
c2f7602cc5 Merge pull request #4151 from murrant/ntp-fixes
Fix ntpd rrd_name
2016-08-21 08:07:07 -05:00
de9c02d66e Fix rrd_name 2016-08-21 08:06:15 -05:00
f750db64fe Merge pull request #4150 from laf/duplicate-doc-line
Removed duplicate line in mkdocs.yml
2016-08-21 13:45:14 +01:00
laf
a9fd884d04 Removed duplicate line in mkdocs.yml 2016-08-21 13:44:48 +01:00
f7b59293c2 Merge pull request #4149 from murrant/docs-updates
Custom ordering for docs
2016-08-21 13:44:05 +01:00
5970d961c1 Custom ordering for docs
I only really ordered the top level nav and installation, others could be customized if desired.
Shorten the header to LibreNMS Docs, so the menu stays nice on smaller screens, maybe even should shorten it to LibreNMS
Add some links on the index.md page
2016-08-20 22:49:23 -05:00
936191cae9 Merge pull request #4146 from laf/docs-n-docs
Updated some docs
2016-08-20 21:11:30 -05:00
4361da605f Merge pull request #4147 from crcro/rpi-doc-update
docs update for rpi local agent
2016-08-20 21:00:26 -05:00
af07c38efb docs update for rpi local agent 2016-08-21 03:00:42 +03:00
laf
d2b00a87d9 Updated some docs 2016-08-20 20:39:07 +01:00
f7ccd509e7 Merge pull request #4145 from murrant/extra-settings
Settings: tabs, fix extra settings
2016-08-20 19:13:58 +01:00
5ce1fd207e Fix code style 2016-08-20 11:06:27 -05:00