2054 Commits

Author SHA1 Message Date
Neil Lathwood
a8e712070f Merge pull request #4490 from boudreau/master
feature: Added Runtime support for APC ups
2016-09-20 18:09:40 +01:00
Neil Lathwood
f0b7813709 Merge pull request #4501 from murrant/disable-resize-refresh
fix: Disable refreshing on window resize when $no_refresh is set.
2016-09-20 16:28:10 +01:00
Tony Murray
e0cc8dfb48 Disable refreshing on window resize when $no_refresh is set. 2016-09-20 10:16:22 -05:00
Tony Murray
c5ea25a7d4 Disable horizontal resizing of textarea, bootstrap takes care of this for us 2016-09-20 09:03:12 -05:00
Neil Lathwood
eb2078b04d Some small visual updates 2016-09-20 14:40:53 +01:00
Tony Murray
d5105e29da feature: Capture device troubleshooting info (discovery, poller, snmpwalk)
Admins can capture device troubleshooting info from the webui by clicking the gear and selecting Capture.
2016-09-19 23:36:41 -05:00
boudreau
692109c1e6 Create runtime.inc.php 2016-09-19 11:04:39 -04:00
boudreau
0cb674c7cd Update health.inc.php 2016-09-19 11:04:02 -04:00
boudreau
ae9d36175b Create runtime.inc.php 2016-09-19 11:02:15 -04:00
boudreau
a9a2e7e742 Update overview.inc.php 2016-09-19 11:01:29 -04:00
boudreau
4bd0e75b18 Create runtime.inc.php 2016-09-19 11:00:15 -04:00
boudreau
7a0085d410 Update health.inc.php 2016-09-19 10:59:20 -04:00
Tony Murray
36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
Neil Lathwood
05b728bb80 Webui: Updated force add option for addhost.php to be present in all instances (#4428) 2016-09-13 20:32:45 -05:00
Neil Lathwood
fe9d0c18ce fix: Call was always being done to check for local files (#4427) 2016-09-13 20:26:28 -05:00
crcro
7da4cca4e4 feature: new app: ups-nut (#4386)
* app: ups-nut

* newline ...

* removed code from another pr

* added battery charge status

* added battery charge status

* be happy travis...

* added UPS-nut to Applications
2016-09-12 21:59:33 -05:00
Tony Murray
d1ae83a378 webui: Paginate the all ports pages (#4401)
* feature: Paginate the all ports pages
fixes: #2705

* Stopped ports not belonging to any devices from showing up

* phpcs fix
2016-09-11 16:23:16 +01:00
crcro
de707a259f refactor: ntp apps (#4333)
* updated nicecase function for ntp server and client app

* ntp applications refactoring

* removed agent for ntp-server: reported as not working

* removed ntpd from agent polling. thx @murrant
2016-09-10 07:37:00 -05:00
Neil Lathwood
7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
David Bell
c61f2c183a webui: Add check to display make bill on port page only if billing is enabled (#4361) 2016-09-06 17:42:31 +01:00
Aaron Daniels
948d4f67a1 feature: extended graphing for sla - icmp-jitter #4341
* - Added more graphs for rtt_type: icmpjitter

* - use $fields as that is the standard throughout the code.
2016-09-06 17:19:10 +01:00
Aaron Daniels
705a73bda2 webui: Added Pagination and server side search via Ajax to NTP (#4330)
webui: Added Pagination and server side search via Ajax to NTP (#4330)
2016-09-04 16:32:03 +01:00
crcro
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
Neil Lathwood
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
Guillaume Coeugnet
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
crcro
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +01: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
Neil Lathwood
dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05:00
Eldon Koyle
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
crcro
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 Blodinger
2fd6a9f0fb Fix button jumping for dashboard tooltips (#4164)
http://getbootstrap.com/javascript/#callout-tooltip-groups
2016-08-22 19:09:22 +01:00
Søren Rosiak
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 Murray
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
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
laf
2a54c096af Fixed namespace issue 2016-08-18 22:06:00 +01:00
Daniel Preussker
ac41ca980b Merge pull request #4049 from laf/issue-3847
Added predicated usage to bills, basic at present
2016-08-18 05:39:59 +00:00
laf
36987d80c4 Escape data for syslog page 2016-08-17 21:52:10 +01:00
Neil Lathwood
ac2ff295d8 Merge pull request #4071 from murrant/move-libs
Move third party software to html/lib from html/includes
2016-08-17 20:59:02 +01:00
Neil Lathwood
73ff21fca2 Merge pull request #4043 from crcro/availability-map-remake
rewrite of availability-map
2016-08-17 21:20:02 +02:00
Neil Lathwood
a42ba9a221 Merge pull request #4005 from adaniels21487/issue-3999
CISCO-NTP-MIB
2016-08-17 21:09:50 +02:00
Tony Murray
fe784aec83 Merge pull request #4074 from OpcaoTelecom/unbound
Added Unbound graph support
2016-08-17 10:01:48 -05:00
Tony Murray
232fdc2516 Merge pull request #4006 from adaniels21487/issue-3550
Change the IPSLA feature to allow different metrics to be collected…
2016-08-16 08:55:44 -05:00
Alan Gregory
772d7fa28d Added Unbound Support 2016-08-15 17:46:10 -03:00
Tony Murray
bf2c522c89 Move third party software to html/lib form html/includes 2016-08-15 13:16:10 -05:00
laf
11d91215cb Added predicated usage to bills, basic at present 2016-08-13 01:11:20 +01:00
crcro
655363082c rewrite of availability-map 2016-08-12 22:51:29 +03:00