Commit Graph
17185 Commits
Author SHA1 Message Date
TatermenandNeil Lathwood 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
nerdalertdkandGitHub cd7cf30c00 services docs 2016-08-26 12:01:33 +02:00
nerdalertdkandGitHub 8a6ad076e2 Update api_functions.inc.php 2016-08-26 11:45:25 +02:00
Tony MurrayandNeil Lathwood f042f9aa56 Use pre-commit.php in for travis-ci tests (#4212) 2016-08-26 10:30:43 +01:00
Tony MurrayandNeil Lathwood 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
nerdalertdkandGitHub feb6696026 tabs to spaces 2016-08-26 10:11:20 +02:00
nerdalertdkandGitHub 4db541cc32 tabs to spaces 2016-08-26 10:10:29 +02:00
nerdalertdkandGitHub c873a3556e use space not tabs 2016-08-26 09:26:52 +02:00
nerdalertdkandGitHub 1bf6ed6bd6 Update AUTHORS.md 2016-08-26 09:22:20 +02:00
nerdalertdkandGitHub 0f12c61259 list_services
/services?state = filter by service state
/service?type = filter by service type
2016-08-26 09:19:05 +02:00
nerdalertdkandGitHub d26a1ff2a8 Get services from API
/services = list all services
/services/:hostname = get services by host
2016-08-26 09:17:01 +02:00
Daniel PreusskerandGitHub 9c3d398b63 Merge pull request #4214 from murrant/fix-constructors
Fix deprecated constructors
2016-08-26 06:58:49 +00:00
Daniel PreusskerandGitHub 795985d00c Merge pull request #4204 from deutor/master
IRC bot - allow to disable ssl check
2016-08-26 06:55:49 +00:00
Tony MurrayandNeil Lathwood 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
deutorandGitHub 79b8df4ef6 Merge pull request #1 from deutor/patch-1
Patch 1 - testing merge
2016-08-26 08:21:30 +02:00
Tony Murray e588c171e2 Don't allow php7 failures anymore 2016-08-26 00:36:46 -05:00
Tony Murray 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
Tony MurrayandGitHub 3d0edb46cc Add ntpd to the list of agentapps (#4194) 2016-08-25 18:43:56 -05:00
Neil LathwoodandTony Murray 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
Neil LathwoodandGitHub 7fffcf3792 Merge pull request #4205 from murrant/toc-pushdown 2016-08-25 18:56:59 +01:00
Tony Murray 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
deutorandGitHub 12c45d1106 Update irc.php 2016-08-25 14:06:53 +02:00
deutorandGitHub 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
Mickael MarchandandNeil Lathwood 63cdd8210d fix ifName randomly defined, breaking influxdb updates (#4202) 2016-08-25 11:55:27 +01:00
deutorandGitHub 7547f4905c Update irc.php 2016-08-25 11:48:20 +02:00
deutorandGitHub 55a962e02f Update irc.php 2016-08-25 11:44:04 +02:00
deutorandGitHub 7c9a176d63 Update irc.php 2016-08-25 11:42:05 +02:00
deutorandGitHub f69954e29f Update irc.php 2016-08-25 11:38:32 +02:00
deutorandGitHub 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
Daniel PreusskerandNeil Lathwood ec12273aa7 check for no motd line (#4200)
Fixes #4199
2016-08-25 09:02:10 +01:00
Tony MurrayandNeil Lathwood 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
Neil LathwoodandTony Murray 1055003d3f Remove requirement for ['enable_printers'] (#4192) 2016-08-24 12:42:06 -05:00
Neil LathwoodandTony Murray dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05:00
crcroandNeil Lathwood 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
Neil LathwoodandTony Murray e112302e40 Fixed not sending port_descr_type (#4188) 2016-08-24 11:01:56 -05:00
zaryaandNeil Lathwood 8a654359c9 Hytera new (#4191)
* Hytera repeater support

* Fixed Hytera Repeater OS detection
2016-08-24 14:45:03 +01:00
crcroandNeil Lathwood 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
crcroandNeil Lathwood 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
Neil LathwoodandGitHub 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
crcroandNeil Lathwood e54341857f misspelled var name (#4186) 2016-08-24 08:11:58 +01:00
Tony MurrayandNeil Lathwood 32b9d82220 Docs: avoid scrollbar on mobile (#4184) 2016-08-23 19:58:32 +01:00
crcroandNeil Lathwood 88512f156d hwg-ste2 sysObectId os definition fix (#4173) 2016-08-23 19:47:39 +01:00
Tony MurrayandNeil Lathwood 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
zaryaandNeil Lathwood 10d7451a74 Hytera repeater support (#4163) 2016-08-23 19:44:45 +01:00
Eldon KoyleandNeil Lathwood 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
Neil LathwoodandTony Murray 0b57b1ef69 Docs update (#4182) 2016-08-23 13:32:24 -05:00
Tony MurrayandNeil Lathwood e6d3228d6f Add old doc redirects (#4181)
Hide "hidden" menu
Push down docs below nav header
2016-08-23 19:24:03 +01:00
Tony MurrayandGitHub eeca67e155 Restore the older docs to the menu so they get generated (#4179) 2016-08-23 10:02:05 -05:00
Tony MurrayandNeil Lathwood 228857d2da Use proc_terminate instead of proc_close to protect against zombies (#4178) 2016-08-23 15:23:55 +01:00
Tony MurrayandNeil Lathwood 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