Commit Graph
2075 Commits
Author SHA1 Message Date
Neil LathwoodandTony Murray faeb5e4984 webui: Individual devices now use bootgrid syslog (#4584) 2016-09-28 14:15:57 -05:00
crcroandNeil Lathwood f06b0ffb66 fix: device with no uptime (#4625)
fix: Add checks for devices with no uptime over snmp #4587
2016-09-27 21:07:42 +01:00
Bennett BlodingerandNeil Lathwood 6becfd65eb align to class (#4602)
bootstraping when possible
2016-09-27 20:04:32 +01:00
Tony MurrayandNeil Lathwood 02b84cf3f7 Support device group definitions from v2 (#4591)
* Support device group definitions from v2
Disable editing v2 groups.

V2 Device groups are defined as follows:
pattern = WHERE query with ? placeholders for values
params = json encoded array of values

* Can't array_unshift something that isn't an array...
2016-09-27 17:50:52 +01:00
Neil LathwoodandTony Murray 9936aa77ff Feature: Added alerts output to capture system (#4574)
* Feature: Added alerts output to capture system

* Renamed $output to $content

* removed duplicate functions
2016-09-26 16:27:27 -05:00
crcro b0491b698e new line in files 2016-09-25 00:00:06 +03:00
crcro 7f8f302686 rewrite ups-apcups 2016-09-24 23:49:35 +03:00
Neil LathwoodandGitHub be611e6f16 Merge pull request #4448 from crcro/app-ups-nut-update1
app: ups-nut update 1
2016-09-24 18:29:25 +01:00
Neil LathwoodandGitHub 47b97d5d1b Merge pull request #4558 from boudreau/master
fix: APC runtime graph missing in device>health>overview
2016-09-23 22:19:09 +01:00
Neil LathwoodandGitHub f94b352dbe Merge pull request #4429 from crcro/availability-map-update-5
webui: More updates for availability map
2016-09-23 19:32:21 +01:00
boudreauandGitHub 9a5b5c41a4 cosmetic change runtime 2016-09-23 09:31:10 -04:00
Bennett Blodinger ac2b878607 font-awesome datetimepicker
Forces jquery-datetimepicker to use font-awesome icons
2016-09-22 10:47:25 -04:00
Bennett Blodinger 07574b27d8 Move to Font Awesome
Keeps the look more in line with the navigation bar icons.
In the future with Bootstrap 4, Glyphicons will not be included, so this
starts the transistions away.
2016-09-22 10:44:17 -04:00
crcro 63f42acda6 general updates 2016-09-22 00:11:16 +03:00
Tony Murray 299f4d91d3 feature: Add last changed, connected, and mtu to all ports data
Thanks to sysvival on reddit for the idea and help with the calculations
2016-09-21 13:19:52 -05:00
crcro 780d8b2139 removed snmp query from webui, changed and added echo if file is missing 2016-09-20 22:01:29 +03:00
Neil LathwoodandGitHub a8e712070f Merge pull request #4490 from boudreau/master
feature: Added Runtime support for APC ups
2016-09-20 18:09:40 +01:00
Neil LathwoodandGitHub 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
boudreauandGitHub 692109c1e6 Create runtime.inc.php 2016-09-19 11:04:39 -04:00
boudreauandGitHub 0cb674c7cd Update health.inc.php 2016-09-19 11:04:02 -04:00
boudreauandGitHub ae9d36175b Create runtime.inc.php 2016-09-19 11:02:15 -04:00
boudreauandGitHub a9a2e7e742 Update overview.inc.php 2016-09-19 11:01:29 -04:00
boudreauandGitHub 4bd0e75b18 Create runtime.inc.php 2016-09-19 11:00:15 -04:00
boudreauandGitHub 7a0085d410 Update health.inc.php 2016-09-19 10:59:20 -04:00
crcro 7d7621fd3e removed file versions from comments 2016-09-15 23:24:25 +03:00
crcro 0dd523be45 app-ups-nut update 1 2016-09-15 19:37:52 +03:00
Tony MurrayandNeil Lathwood 36f6338ad6 fix: Clean up errors in the webui (#4438) 2016-09-15 08:46:26 +01:00
crcro 52693426bc changed webui and sql from old availability map to compact availability map 2016-09-15 00:07:03 +03:00
Neil LathwoodandTony Murray 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 LathwoodandTony Murray fe9d0c18ce fix: Call was always being done to check for local files (#4427) 2016-09-13 20:26:28 -05:00
crcro 2927550a88 Merge branch 'availability-map-update-5' of https://github.com/crcro/librenms into availability-map-update-5 2016-09-14 01:23:48 +03:00
crcroandTony Murray 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 MurrayandNeil Lathwood 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
crcroandTony Murray 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 LathwoodandTony Murray 7dec670494 refactor: Updated a lot of references to LibreNMS - copyright still left intact (#4339) 2016-09-08 08:12:23 -05:00
David BellandNeil Lathwood 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 DanielsandNeil Lathwood 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
crcro aad9b675c3 more options to amap 2016-09-06 02:01:15 +03:00
Aaron DanielsandNeil Lathwood 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
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
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
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
crcroandNeil Lathwood 49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +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
Neil LathwoodandTony Murray dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05: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