Daniel Preussker and GitHub
9c3d398b63
Merge pull request #4214 from murrant/fix-constructors
...
Fix deprecated constructors
2016-08-26 06:58:49 +00:00
Tony Murray and Neil 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
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 and GitHub
3d0edb46cc
Add ntpd to the list of agentapps ( #4194 )
2016-08-25 18:43:56 -05:00
Mickael Marchand and Neil Lathwood
63cdd8210d
fix ifName randomly defined, breaking influxdb updates ( #4202 )
2016-08-25 11:55:27 +01:00
Tony Murray and Neil 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 Lathwood and Tony Murray
1055003d3f
Remove requirement for ['enable_printers'] ( #4192 )
2016-08-24 12:42:06 -05:00
Neil Lathwood and Tony Murray
dda6bf7576
Removed / Updated version info to just be LibreNMS ( #4193 )
2016-08-24 12:39:57 -05:00
crcro and Neil 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 Lathwood and Tony Murray
e112302e40
Fixed not sending port_descr_type ( #4188 )
2016-08-24 11:01:56 -05:00
zarya and Neil Lathwood
8a654359c9
Hytera new ( #4191 )
...
* Hytera repeater support
* Fixed Hytera Repeater OS detection
2016-08-24 14:45:03 +01:00
crcro and Neil 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
crcro and Neil 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
crcro and Neil Lathwood
e54341857f
misspelled var name ( #4186 )
2016-08-24 08:11:58 +01:00
crcro and Neil Lathwood
88512f156d
hwg-ste2 sysObectId os definition fix ( #4173 )
2016-08-23 19:47:39 +01:00
zarya and Neil Lathwood
10d7451a74
Hytera repeater support ( #4163 )
2016-08-23 19:44:45 +01:00
Tony Murray and Neil Lathwood
228857d2da
Use proc_terminate instead of proc_close to protect against zombies ( #4178 )
2016-08-23 15:23:55 +01:00
Tony Murray and Neil 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
Tony Murray and Neil Lathwood
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
Tony Murray and Neil Lathwood
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
crcro and Neil Lathwood
ead3f24008
fix hwg-ste2 bad oid ( #4157 )
2016-08-21 18:51:02 +01:00
Tony Murray and Neil Lathwood
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
Tony Murray
de9c02d66e
Fix rrd_name
2016-08-21 08:06:15 -05:00
Tony Murray and GitHub
d9797f7a86
Merge pull request #4141 from laf/brother-printer
...
Updated support for Brother printers
2016-08-20 07:12:01 -05:00
Tony Murray and GitHub
4a0a7ec302
Merge pull request #4099 from laf/issue-4090
...
Update of ifSpeed checking in ports poller
2016-08-20 06:55:53 -05:00
laf
03af171f22
Updated support for Brother printers
2016-08-20 11:42:05 +01:00
Neil Lathwood and GitHub
c763d4deff
Merge pull request #4137 from crcro/emc-flare-os-fix
...
emc flareos definitions update
2016-08-20 01:17:41 +01:00
Neil Lathwood and GitHub
7f2cb23acb
Merge pull request #4133 from murrant/str-helpers
...
String helper functions
2016-08-20 01:15:23 +01:00
Neil Lathwood and GitHub
d7f6f0b428
Merge pull request #4119 from crcro/hp2530
...
hp 2530 series procurve/aruba detection
2016-08-20 01:09:08 +01:00
Neil Lathwood and GitHub
87c793f2c3
Merge pull request #4116 from crcro/hwg-ste2
...
HWGroup STE2 support
2016-08-20 01:08:01 +01:00
Neil Lathwood and GitHub
6531bb7bb8
Merge pull request #4088 from adaniels21487/issue-4083
...
Added OS detection for Cisco Prime Infrastructure
2016-08-20 00:22:21 +01:00
crcro
ea38d55b9e
removed top graph for cpu/mem/storage as they won't get anydata from flareos via snmp
2016-08-20 02:02:33 +03:00
crcro
1de76192c5
Revert "added to arubaos"
...
This reverts commit 29d5b8a5af .
2016-08-20 01:42:49 +03:00
Tony Murray
fd34c24f5c
String helper functions
...
Bring some sanity to the madness
2016-08-19 14:57:08 -05:00
Tony Murray
7941768933
Quick and dirty fix for #4102
...
Real fix is in #4104
2016-08-19 10:25:38 -05:00
crcro
29d5b8a5af
added to arubaos
2016-08-19 12:25:54 +03:00
crcro
bd14338fec
fix for issue #4089
2016-08-19 12:08:19 +03:00
crcro
a7441e6459
initial hw group ste2 device support
2016-08-19 02:21:00 +03:00
Aaron Daniels
a77536ba4b
Merge branch 'master' into issue-4083
...
Conflicts:
includes/definitions.inc.php
2016-08-19 07:13:46 +10:00
laf
ef7fac9a91
Fixed errors
2016-08-18 21:38:06 +01:00
Neil Lathwood and GitHub
5ecef5c4df
Merge pull request #4082 from murrant/rrd-check
...
c_echo
2016-08-18 21:32:20 +01:00
Neil Lathwood and GitHub
637d01cd13
Merge pull request #4077 from murrant/ntpd-app
...
NTPD Application
2016-08-18 21:30:33 +01:00
Neil Lathwood and GitHub
20932bd832
Merge pull request #4057 from crcro/raspberry-sensors
...
Raspberry sensors
2016-08-18 21:28:32 +01:00
Søren Rosiak and GitHub
aabc0eb7ab
Merge pull request #4065 from adaniels21487/issue-4062
2016-08-18 22:51:28 +03:00
Daniel Preussker and GitHub
1e1a0172fb
Revert "Changed swos detection + more dsm support"
2016-08-18 18:37:28 +02:00
Tony Murray and GitHub
22de3fca31
Merge pull request #4103 from vitalisator/issue-4094
...
DSname too long
2016-08-18 07:45:07 -05:00
vitalisator
2ecc764c8a
trim to 19 characters
2016-08-18 14:35:48 +02:00
vitalisator
6f7c62ce50
DSname too long
2016-08-18 11:26:52 +02:00
Daniel Preussker and GitHub
c01eec8f26
Merge pull request #4048 from laf/issue-3982
...
Added support for Avaya VSP
2016-08-18 05:56:53 +00:00
Daniel Preussker and GitHub
d5bc3b4b4b
Merge pull request #4044 from laf/issue-4020
...
Changed swos detection + more dsm support
2016-08-18 05:46:25 +00:00