11927 Commits

Author SHA1 Message Date
19f231d408 Freeswitch support (#4203)
* Added support for freeswitch via unix_agent

* Fixed display of graphs on apps overview

* Removed tab indents

* Fixed not sending port_descr_type (#4188)

* Removed / Updated version info to just be LibreNMS (#4193)

* Remove requirement for ['enable_printers'] (#4192)

* ricoh devices returning garbage as toner level (#4180)

* ricoh devices returning garbage as toner level

* ricoh toner extra check

* more ricoh rules

* 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.

* check for no motd line (#4200)

Fixes #4199

* Only push the toc down, not the content
the toc is on top when the header switches to two lines, so we only need to push that down.

* 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).

* Update irc.php

* Update irc.php

* Update irc.php

* Update irc.php

* fix ifName randomly defined, breaking influxdb updates (#4202)

* IRC bot - allow to disable ssl check

In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true; 
It is useful when you want to use self generated certificate for your own IRC server.

* Update irc.php

* More more docs (#4197)

* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements

* Add ntpd to the list of agentapps (#4194)

* Fix deprecated constructors
This small change should't prevent easy updates to libraries and fixes the lint check on php7

* Don't allow php7 failures anymore

* Fix defunct process issues: create Proc class (#4210)

* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.

* Fix rrdtool_last checks failing

* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output

* phpdocs added
several cleanups
should still be functioning the same
Only open one  rrdtool process for graph.php

* include common.php in definitions.inc.php (#4198)

definitions.inc.php makes a call to dbFetchRow, which uses c_echo()
It is safe to include common.php here as it only has function definitions.

* Use pre-commit.php in for travis-ci tests (#4212)
2016-08-26 12:08:48 +01:00
f042f9aa56 Use pre-commit.php in for travis-ci tests (#4212) 2016-08-26 10:30:43 +01:00
562737a528 include common.php in definitions.inc.php (#4198)
definitions.inc.php makes a call to dbFetchRow, which uses c_echo()
It is safe to include common.php here as it only has function definitions.
2016-08-26 10:13:56 +01:00
9c3d398b63 Merge pull request #4214 from murrant/fix-constructors
Fix deprecated constructors
2016-08-26 06:58:49 +00:00
795985d00c Merge pull request #4204 from deutor/master
IRC bot - allow to disable ssl check
2016-08-26 06:55:49 +00:00
200e670315 Fix defunct process issues: create Proc class (#4210)
* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.

* Fix rrdtool_last checks failing

* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output

* phpdocs added
several cleanups
should still be functioning the same
Only open one  rrdtool process for graph.php
2016-08-26 07:50:29 +01:00
79b8df4ef6 Merge pull request #1 from deutor/patch-1
Patch 1 - testing merge
2016-08-26 08:21:30 +02:00
e588c171e2 Don't allow php7 failures anymore 2016-08-26 00:36:46 -05:00
53b07d7a2a Fix deprecated constructors
This small change should't prevent easy updates to libraries and fixes the lint check on php7
2016-08-26 00:35:09 -05:00
3d0edb46cc Add ntpd to the list of agentapps (#4194) 2016-08-25 18:43:56 -05:00
9f1930a81e More more docs (#4197)
* Updated docs + some small code changes

* Added validating code doc for developers

* Doc updates

* Updates and improvements
2016-08-25 18:40:11 -05:00
7fffcf3792 Merge pull request #4205 from murrant/toc-pushdown 2016-08-25 18:56:59 +01:00
f119a7c362 Only push the toc down, not the content
the toc is on top when the header switches to two lines, so we only need to push that down.
2016-08-25 09:42:18 -05:00
12c45d1106 Update irc.php 2016-08-25 14:06:53 +02:00
c72b39cbf4 IRC bot - allow to disable ssl check
In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true; 
It is useful when you want to use self generated certificate for your own IRC server.
2016-08-25 13:58:32 +02:00
63cdd8210d fix ifName randomly defined, breaking influxdb updates (#4202) 2016-08-25 11:55:27 +01:00
7547f4905c Update irc.php 2016-08-25 11:48:20 +02:00
55a962e02f Update irc.php 2016-08-25 11:44:04 +02:00
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