Commit Graph

11945 Commits

Author SHA1 Message Date
Neil Lathwood
acde0db434 More doc updates 2016-08-27 13:41:26 +01:00
Tony Murray
aee05e858f Fix wget option
wget -o -> wget -O
2016-08-26 13:08:31 -05:00
cromagdk
4838f905e3 Update Applications.md (#4226) 2016-08-26 13:07:16 -05:00
Tony Murray
e2a043125b influx-db, commas should be periods (#4222)
Noticed this while looking at psr-2 changes
2016-08-26 15:37:00 +01:00
Tony Murray
15b0cd68ea Move libraries in /includes to /lib (#4217) 2016-08-26 14:04:21 +01:00
nerdalertdk
8973a78664 Update API-Docs.md (#4218) 2016-08-26 13:40:05 +01:00
Neil Lathwood
99f5ce1436 Merge pull request #4219 from librenms/laf-patch-1
Update mkdocs.yml
2016-08-26 13:39:38 +01:00
Neil Lathwood
de84a8142f Update mkdocs.yml 2016-08-26 13:39:24 +01:00
Neil Lathwood
b5e137869e Merge pull request #4215 from nerdalertdk/patch-1
Added service to api calls
2016-08-26 13:26:12 +01:00
nerdalertdk
863073915f I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. 2016-08-26 13:17:46 +02:00
Tatermen
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
nerdalertdk
cd7cf30c00 services docs 2016-08-26 12:01:33 +02:00
nerdalertdk
8a6ad076e2 Update api_functions.inc.php 2016-08-26 11:45:25 +02:00
Tony Murray
f042f9aa56 Use pre-commit.php in for travis-ci tests (#4212) 2016-08-26 10:30:43 +01:00
Tony Murray
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
nerdalertdk
feb6696026 tabs to spaces 2016-08-26 10:11:20 +02:00
nerdalertdk
4db541cc32 tabs to spaces 2016-08-26 10:10:29 +02:00
nerdalertdk
c873a3556e use space not tabs 2016-08-26 09:26:52 +02:00
nerdalertdk
1bf6ed6bd6 Update AUTHORS.md 2016-08-26 09:22:20 +02:00
nerdalertdk
0f12c61259 list_services
/services?state = filter by service state
/service?type = filter by service type
2016-08-26 09:19:05 +02:00
nerdalertdk
d26a1ff2a8 Get services from API
/services = list all services
/services/:hostname = get services by host
2016-08-26 09:17:01 +02:00
Daniel Preussker
9c3d398b63 Merge pull request #4214 from murrant/fix-constructors
Fix deprecated constructors
2016-08-26 06:58:49 +00:00
Daniel Preussker
795985d00c Merge pull request #4204 from deutor/master
IRC bot - allow to disable ssl check
2016-08-26 06:55:49 +00:00
Tony Murray
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
deutor
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 Murray
3d0edb46cc Add ntpd to the list of agentapps (#4194) 2016-08-25 18:43:56 -05:00
Neil Lathwood
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 Lathwood
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
deutor
12c45d1106 Update irc.php 2016-08-25 14:06:53 +02:00
deutor
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 Marchand
63cdd8210d fix ifName randomly defined, breaking influxdb updates (#4202) 2016-08-25 11:55:27 +01:00
deutor
7547f4905c Update irc.php 2016-08-25 11:48:20 +02:00
deutor
55a962e02f Update irc.php 2016-08-25 11:44:04 +02:00
deutor
7c9a176d63 Update irc.php 2016-08-25 11:42:05 +02:00
deutor
f69954e29f Update irc.php 2016-08-25 11:38:32 +02:00
deutor
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 Preussker
ec12273aa7 check for no motd line (#4200)
Fixes #4199
2016-08-25 09:02:10 +01:00
Tony Murray
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 Lathwood
1055003d3f Remove requirement for ['enable_printers'] (#4192) 2016-08-24 12:42:06 -05:00
Neil Lathwood
dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05:00
crcro
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 Lathwood
e112302e40 Fixed not sending port_descr_type (#4188) 2016-08-24 11:01:56 -05:00
zarya
8a654359c9 Hytera new (#4191)
* Hytera repeater support

* Fixed Hytera Repeater OS detection
2016-08-24 14:45:03 +01:00
crcro
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
crcro
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 Lathwood
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
crcro
e54341857f misspelled var name (#4186) 2016-08-24 08:11:58 +01:00