Commit Graph

4384 Commits

Author SHA1 Message Date
Neil Lathwood
9e85f24b00 fix: Make irc bot to use authentication module for user info (#4372) 2016-09-12 11:24:22 -05:00
Neil Lathwood
9aaea7e64e fix: Missing include file for ajax_listports.php causing 500 (#4407) 2016-09-12 08:33:31 +01:00
Neil Lathwood
26fc825548 phpcs fixes 2016-09-12 07:51:49 +01:00
Tony Murray
122aae85bf webui: Relocate Alerts menu
Plugins menu is moved to the Overview menu (this is basically just weathermap anyway)
2016-09-11 23:41:41 -05:00
Tony Murray
195a8ee349 Small cleanups (#4405)
* Small cleanups

* Small cleanups
2016-09-11 22:11:16 -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
Tamas Szabo
cc7d0fbbe0 Added logo for Alpine Linux & contributor agreement (#4394)
* Added logo for Alpine Linux

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.
2016-09-10 17:39:47 +01:00
jonathon-k
7c6130d1a7 fix: CSS typo -- gray to grey (#4397) 2016-09-10 16:55:11 +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
crcro
6bc67b421e fix generic v3 multiline graph total (#4388) 2016-09-09 11:33:48 -05:00
Neil Lathwood
d6d28564ae fix: Removed suggestion in install.php on installing php modules (#4377) 2016-09-09 10:26:52 -05:00
Tony Murray
956e18ffcd feature: Better error messages for ad_auth (#4385) 2016-09-09 08:04:03 -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
f00c383d60 fix: Stop irc bot crashing on .reload #4353
* Removed duplicate include

* Move set_debug into functions.php, and restore the (re)loading of includes/defaults

* Move debug call until after function has been included
2016-09-07 18:42:49 +01:00
Neil Lathwood
58599e95ba fix: Resolved namespace issue for form id in modal new_device_group (#4338) 2016-09-06 18:00:05 +01: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
Neil Lathwood
4001f8c60a webui: Updated bootgrid + added syslog colouring based on priority (#4287)
* Updated bootgrid + added syslog colouring based on priority

* Updated functions and removed uneeded file
2016-09-06 07:39:53 -05:00
crcro
d1130818dd fix functions.php, sql queries 2016-09-06 02:55:29 +03:00
crcro
23e31bd030 fix functions.php, sql queries 2016-09-06 02:54:13 +03:00
crcro
4e5bd343b5 fix #4275 - custom title 2016-09-06 02:44:55 +03:00
crcro
aad9b675c3 more options to amap 2016-09-06 02:01:15 +03:00
David Bell
f42406e2b0 fix: Added options to make temperature graphs display y-axis correctly #4350 2016-09-05 16:19:53 +01:00
David Bell
0b9b85c224 fix: Added options to make voltage graphs display y-axis correctly #4326 2016-09-05 14:47:31 +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
Søren Rosiak
7a3a785edb newdevice: Added support for Foundry Networks #4311
newdevice: Added support for Foundry Networks #4311
2016-09-04 16:28:06 +01:00
crcro
8ce1d81b71 amap device box reverted to original size, fixes for device groups (#4334) 2016-09-04 07:04:53 -05:00
Søren Rosiak
90b573d685 fix: Remove Cisco remote access stats graph transparency (#4331) 2016-09-03 08:50:58 -05:00
Søren Rosiak
b81e67c656 fix: Cisco remote access stats bugfix #4293 (#4309) 2016-09-02 13:12:01 -05:00
Søren Rosiak
657ee386e0 newdevice: Added support for PLANET Networking & Communication switches (#4308) 2016-09-02 13:02:01 -05: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
Søren Rosiak
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 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
Søren Rosiak
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 Lathwood
54daec39ca Merge pull request #4267 from HybridAU/master
newdevice: Added support for Lanier printers #4267
2016-08-30 14:27: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
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 Rosiak
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
crcro
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
crcro
49dbe3ea01 availability map updates (#4183)
webui: More updates to availability map #4183
2016-08-28 21:48:05 +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
b5e137869e Merge pull request #4215 from nerdalertdk/patch-1
Added service to api calls
2016-08-26 13:26:12 +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
nerdalertdk
8a6ad076e2 Update api_functions.inc.php 2016-08-26 11:45:25 +02: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
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