Commit Graph
4257 Commits
Author SHA1 Message Date
Søren RosiakandTony Murray 90b573d685 fix: Remove Cisco remote access stats graph transparency (#4331) 2016-09-03 08:50:58 -05:00
Søren RosiakandTony Murray b81e67c656 fix: Cisco remote access stats bugfix #4293 (#4309) 2016-09-02 13:12:01 -05:00
Søren RosiakandTony Murray 657ee386e0 newdevice: Added support for PLANET Networking & Communication switches (#4308) 2016-09-02 13:02:01 -05:00
crcroandTony Murray 921d5b9ed5 webui: availability map update (#4300)
* a-map update 3

* pre-commit.php fixes

* moved group query inside if
2016-09-02 12:42:45 -05:00
Søren RosiakandTony Murray f278a9281c newdevice: Added support for Nimble OS #4159 (#4298)
* newdevice: Added support for Nimble OS #4159

* Use Tony’s awesome stuff

* move image
2016-09-01 06:22:01 -05:00
Neil LathwoodandGitHub 3a0487088c fix: Always validate the default dashboard_id to make sure it still exists
fix: Always validate the default dashboard_id to make sure it still exists
2016-08-30 22:03:23 +01:00
Søren RosiakandNeil Lathwood 583411046f newdevice: Added support for Fujitsu Primergy switches #4277 (#4280)
* newdevice: Added support for Fujitsu Primergy switches #4277
2016-08-30 17:31:58 +01:00
Neil LathwoodandGitHub 54daec39ca Merge pull request #4267 from HybridAU/master
newdevice: Added support for Lanier printers #4267
2016-08-30 14:27:23 +01:00
Guillaume CoeugnetandNeil Lathwood d2db74c44e [Bugfix] Dashboards redirecting and widgets not adding (#4272)
bug: Fixes dashboards redirecting #4213 and adding new widgets #4255
2016-08-30 13:56:28 +01:00
Michael Van Delft e531253e42 Add Lanier printers
Lanier printers are rebadged richo so I've copied the settings for ricoh
printers
2016-08-30 12:14:56 +08:00
Søren RosiakandNeil Lathwood 16ae3cf9be newdevice: Added support for DDN Storage #2737 (#4261)
newdevice: Added support for DDN Storage #2737 (#4261)
2016-08-29 21:42:42 +01:00
crcroandNeil Lathwood a37b878bf5 cleanup: unused css class (#4248)
* reduce code duplication, cleaned up

* Revert "reduce code duplication, cleaned up"

This reverts commit 8366bf3326.

* css cleanup
2016-08-29 21:25:14 +01:00
crcroandNeil Lathwood 49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01:00
nerdalertdkandNeil Lathwood 8924e954c4 Missing variable in services api call
fix: Missing variable in services api call
2016-08-27 14:46:54 +01:00
Neil LathwoodandGitHub b5e137869e Merge pull request #4215 from nerdalertdk/patch-1
Added service to api calls
2016-08-26 13:26:12 +01:00
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 8a6ad076e2 Update api_functions.inc.php 2016-08-26 11:45:25 +02: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 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
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
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
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 LathwoodandTony Murray dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05: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
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
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
Tony Murray 70a0e17a2b Re-fix realtime 2016-08-22 15:13:41 -05:00
crcroandNeil Lathwood 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
Bennett BlodingerandNeil Lathwood 2fd6a9f0fb Fix button jumping for dashboard tooltips (#4164)
http://getbootstrap.com/javascript/#callout-tooltip-groups
2016-08-22 19:09:22 +01:00
Tony MurrayandNeil 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
Neil LathwoodandGitHub 27c1c72b19 Fixed realtime graphs (#4162) 2016-08-22 11:46:22 +01:00
arrmoandNeil Lathwood 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
Søren RosiakandGitHub edab8aa191 Merge pull request #4153 from laf/issue-4152 2016-08-21 17:05:15 +03:00
laf ab8acf2773 Fixed ntpd application graphs 2016-08-21 14:58:02 +01:00
Tony MurrayandNeil 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 5ce1fd207e Fix code style 2016-08-20 11:06:27 -05:00
Tony Murray 9babc10820 Use tabs for global settings 2016-08-20 10:16:56 -05:00
Tony Murray 7b7d7b3bfa Extra settings buttons
Fix issues with extra buttons from using v2, which doesn't set config_group
2016-08-20 08:08:24 -05:00
laf 5f8705bd37 Changed package names 2016-08-20 12:21:13 +01:00
Neil LathwoodandGitHub aefa24385e Merge pull request #4139 from benwa/fix-widget-bootgrid
Bootgrid alignment
2016-08-20 11:49:53 +01:00
Neil LathwoodandGitHub fb935cdb30 Merge pull request #4122 from murrant/more-avail
Availability: small changes
2016-08-20 01:13:58 +01:00
Bennett Blodinger 509978172e Fixes bootgrid alignment
The dropdown li inherit text alignment.
2016-08-19 20:11:35 -04:00
Tony Murray cfe2cf8069 Merge remote-tracking branch 'upstream/master' into psr2-html 2016-08-19 13:54:45 -05:00
Bennett BlodingerandGitHub 60e13a5d15 Update device-summary-vert.inc.php 2016-08-19 13:45:04 -04:00
Bennett BlodingerandGitHub aeb1c1fc43 Keep theme consistent on tables
Makes the tables a bit more uniform
2016-08-19 13:39:58 -04:00