Commit Graph

11959 Commits

Author SHA1 Message Date
Tony Murray
aadd627863 Move IRCBot class to LibreNMS namespace. (#4246)
refactor: Moved IRCBot class to LibreNMS namespace #4246
2016-08-28 21:53:52 +01:00
crcro
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01:00
Tony Murray
b7d0b97c64 More pre-commit.php improvements (#4224)
* more pre-commit.php improvements
do not check influx-db on hhvm
Use parallel-lint to increase lint check speed and improve output
Add option to print out the commands that would be executed, makes it easier to modify them and run by hand
Fixed a couple of bugs

* Integrate the environment check
Flip it so we don't interfere with command line users
2016-08-28 21:44:36 +01:00
ospfbgp
316bfb52ab Update AUTHORS.md (#4236)
* Update AUTHORS.md

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* Update AUTHORS.md

I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2016-08-28 21:13:49 +01:00
cromagdk
a8fce2808f Update snmpd setup in Installation-Ubuntu-1604 docs (#4243)
docs: Update snmpd setup in Installation-Ubuntu-1604 docs #4243
2016-08-28 18:42:41 +01:00
Tony Murray
9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Tony Murray
3c0fcdd46b Spelling corrections 2016-08-28 09:43:35 -05:00
Neil Lathwood
60332cd919 August changelog (#4234) 20160828 1.19 2016-08-28 14:56:02 +01:00
Neil Lathwood
dcff4d3ed1 Revert "Some more doc updates" (#4231) 2016-08-27 22:12:44 +01:00
Daniel Preussker
4b434bf956 Merge pull request #4229 from laf/more-more-docs-4
Some more doc updates
2016-08-27 17:33:13 +00:00
Neil Lathwood
87745cad7a Removed option to mkdocs build from creating-documentation.md 2016-08-27 15:31:51 +01:00
nerdalertdk
8924e954c4 Missing variable in services api call
fix: Missing variable in services api call
2016-08-27 14:46:54 +01:00
Neil Lathwood
2c0b57d61e chore(release): 201607 2016-08-27 13:53:45 +01:00
Neil Lathwood
5d51d888f6 Corrected link 2016-08-27 13:42:45 +01:00
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