Commit Graph

2508 Commits

Author SHA1 Message Date
Neil Lathwood
cf509f138b fix: Fixed the dbTest units so they work (#6293)
* fix: Fixed the dbTest units so they work

* fix schema, should now pass
2017-03-29 16:13:30 -05:00
Tony Murray
1ea7af424b feature: bind user for active_directory auth (#6255)
* feature: bind user for active_directory auth
Optional, allows the use of "remember me", API, and alerting.

* missing global (but still may not be working)

* always return a value from reauthenticate()

* Make sure the ldapbind credentials are correct on reauth.
Do not send output if they are incorrect (use d_echo) this breaks ajax calls, etc.
Add scripts/auth_test.php, to make it easier to debug authentication.

* Refine auth_test.php a bit more
A few small cleanups in other places of the auth

* Add auth_test.php to docs
Some more improvements in the auth_test.php output.

* Update Authentication.md
2017-03-29 08:22:02 -05:00
deepseth
0e0dc0743e webui: Update poller_modules_perf to not show OS disabled module graphs (#6276) 2017-03-28 16:13:31 +01:00
Ryan Medlyn
3712ca91fe Localizes alerts_grid variable to fix errors with multiple alerts tables (#6285) 2017-03-28 16:00:09 +01:00
Neil Lathwood
04beee6e22 webui: Do not show disabled devices in alerts list as they stale #6213 (#6263) 2017-03-24 17:06:09 -05:00
barryodonovan
8404eef42e newdevice: Added Rx levels on Ubiquiti Airfibre (#6160)
* poll and graph Rx levels

* some final(?) changes
2017-03-24 20:54:11 +00:00
Simon Mott
d8d0bb3d5b fix: Remove min value for ntp* graphs #6240 2017-03-22 22:13:20 +00:00
Tony Murray
e7057ecea5 feature: Application auto discovery (#6143) 2017-03-22 14:59:39 +00:00
VVelox
0a4b2658b5 feature: Added SMART application support (#6181) 2017-03-22 14:28:50 +00:00
Neil Lathwood
5f5dc2a854 feature: Peeringdb integration to show the Exchanges and peers for your AS' (#6178) 2017-03-22 10:17:13 +00:00
Neil Lathwood
f6d8859bb4 feature: Added support for sending alerts to Telegram #2114 (#6202) 2017-03-22 09:02:24 +00:00
Tony Murray
31b1c75353 fix: do not show overview graphs when user only has port permissions for device (#6230)
(were broken links before)
2017-03-22 08:04:50 +00:00
Neil Lathwood
73a9092c82 fix: Display username in eventlog + allow for searching #6200 (#6205) 2017-03-16 09:20:28 -05:00
Neil Lathwood
c2ce20e3c0 fix: graphs $auth check was too strict (#6195)
* graphs $auth bool check was too strict

* Remove extra verbage
2017-03-14 09:36:27 -05:00
Neil Lathwood
c4ca5023a7 fixed auth when proxy is involved #6183 (#6192) 2017-03-14 08:04:47 +00:00
markabrahams
54deb1d429 fix: API call for graphs not working (#6184) (#6186)
* fix: API call for graphs not working (#6184)

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md

* updated set_image_type to use new function
2017-03-13 16:39:43 +00:00
Neil Lathwood
014682b60b api: Added new route for multiport bit graphs + asn list_bgp filter (#6129)
* api: Added new route for multiport bit graphs + asn list_bgp filter

* fixed scrut errors
2017-03-12 21:17:09 -05:00
Tony Murray
4ae4847a60 fix: Change rfc1628 'state' (est. runtime and on battery) to runtime (#6158)
* fix: Change rfc1628 'state' (est. runtime and on battery) to runtime

* Fix up the graph error ( : in ds name).
Change seconds on battery to minutes so the value is in minutes

* wrong scale for limits

* Don't use snmp_walk
2017-03-12 21:44:24 +00:00
Tony Murray
58495a3910 Add php docs for log_event, small cleanups (#6141)
* Add php docs for log_event, clean up eventlog_severity a bit.

* Update functions.php
2017-03-12 13:05:31 +00:00
Neil Lathwood
e2962adac8 fix: Updated http-auth to work with nginx http auth #6102 (#6174) 2017-03-12 07:54:59 -05:00
Neil Lathwood
fe130ea278 fix: Fix the displaying of alert info for historical alerts #6092 (#6107) 2017-03-11 23:21:30 +00:00
Xavier Beaudouin
fa29839d36 newdevice: Added Coriant support (#6026)
* Added Coriant TNMS MIB and MEF (Metro Ethernet Forum) MIB

* Coriant Logo

* Added Basic Librenms Support and MEF support

* Forgot snmpsim

* Better like this

* Spaces !

* Renamed sql file

* Space

* Fix spaces

* svgo optimized logo

* Removed modules that are by default to 0

* Added sysDescr as requested

* Fix conflict file

* Setting right severity id in the discovery log_event()

* Since MEF-EVC can be used on other devices than Coriant's one, lets this be used by the poller/discovery itself

* Fixed spaces

* Rename 173.sql to 174.sql

* Moved logo from os/  to logos/
Addd Icon

* Fix name

* minimize file

* Change l/w to viewbox and minify

* Renamed mef-evc to mef on request from @laf

* Rename 174.sql to 175.sql
2017-03-11 07:30:31 -06:00
towster
7bb9d58a07 feature: Store the username in eventlog for any entries created through the Webui (#6032)
* Added identification of user who removed a device to eventlog entry

* Fixed spaces

* updated to store username for all eventlog where applicable

* moved sql file

* updated
2017-03-11 07:03:52 -06:00
pblasquez
5a5c96b118 Uncomment header declaration for reverse proxies (#6142) 2017-03-10 00:19:05 +00:00
Neil Lathwood
296ddcabad security: Stop multiport_bits_separate graphs for showing regardless of auth #6101 (#6109)
* security: Stop multiport_bits_separate graphs for showing regardless of auth #6101

* updated
2017-03-08 23:07:59 -06:00
Tony Murray
9c780a46cb webui: Improve sensor graph legend alignment 2017-03-08 22:32:05 +00:00
VVelox
59ed2e31c1 sync with ntp-server_freq.inc.php (#6138) 2017-03-08 22:05:38 +00:00
VVelox
b7021bc0d7 remove graph min (#6136) 2017-03-08 21:56:36 +00:00
VVelox
9ff105f4a1 remove $scale_min (#6137) 2017-03-08 21:56:19 +00:00
Søren Rosiak
3c3a906c68 fix: Ping perf is in milliseconds, not seconds (#6140) 2017-03-08 15:53:21 -06:00
Neil Lathwood
b30161b80c fix: Correct the use of GetContacts() #5012 (#6059)
* fix: Correct the use of GetContacts() #5012

* small update

* array set

* Properly check the results
2017-03-07 22:14:51 -06:00
VVelox
97dc50d3e1 Graph fix (#6120)
* actually increment $i so it does not fail after two RRDs

* actually increment $i so it does not fail after two RRDs

*  actually increment $i so it does not fail after two RRDs

*  actually increment $i so it does not fail after two RRDs

* doh! got over zelous when adding $i++;... this did not need it

* doh! remove overzerlously added $i++;

* doh! remove this $i++; as well
2017-03-07 13:56:09 +00:00
Neil Lathwood
ed02e39347 webui: Update device overview to not show hostname when certain conditions match #5984 (#6091) 2017-03-04 21:25:06 -06:00
Neil Lathwood
51b3a51ad6 fix: Fixed the previous graphs for diskio/bits #6077 (#6083) 2017-03-04 11:19:04 +00:00
VVelox
671654d155 feature: Added Nvidia GPU application support (#6024) 2017-03-03 20:41:20 +00:00
Mark Hughes
dc41c0eae1 api: Expose ports in API requests for bills (#6069)
* Expose ports in API requests for bills
2017-03-03 20:40:15 +00:00
philmd
ad6dafd3a5 webui: display sysnames/hostnames instead of ip addresses #4155
When a network is mostly assigned using RFC 1918, DNS resolution is not useful
and devices are displayed by IP address.

When $config['force_ip_to_sysname'] is enabled, use ip_to_sysname() to display
the device hostname or SNMP sysName if present instead of the device IP address.

UI modified by this patch:
- Hover in Dashboard Availability Map (/overview)
- Name in Availability Map (/availability-map/)
- Title of device page (/device/device=...)

* I agree to the conditions of the Contributor Agreement contained in
doc/General/Contributing.md.

GitHub-issue: #4155
Suggested-by: Andres Rahn <andreser@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-03-03 19:48:53 +00:00
VVelox
ab2043c634 feature: Add Squid application support (#6011) 2017-03-03 18:55:33 +00:00
Robbie Penziol
afb838bc10 webgui: Added ability to set warning percentage for CPU, mempools from device edit page (#5895) 2017-03-03 15:07:12 +00:00
VVelox
354bd2144d feature: Add FreeBSD NFS Client/Server application support (#6008) 2017-03-03 14:48:46 +00:00
VVelox
6844f29217 feature: add get_disks function (#6058) 2017-03-03 14:27:33 +00:00
VVelox
7f91fab663 webui: Cleanup white backgrounds on certain graphs 2017-03-02 18:07:55 +00:00
VVelox
41bf70dac9 feature: Updated Nfsen integration support (#6003)
* add single pool based poller for php-fpm

* add the page for php-fpm

* add graph for php-fpm

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md.

* use named OID as suggest by @laf

* document PHP-FPM monitoring

* link it in the index

* clean up the named oid

* add how to grab the script in question

* add f2b poller

* add f2b app page

* add f2b graph

* add fail2ban notes

* minor formatting cleanup

* ...more formatting cleanup

* rename it so it can be called via the app page

* Revert "rename it so it can be called via the app page"

This reverts commit 0bde88a038.

* *rename it so it can be called via the apps page
*setup the apps page to call it

* renamed the graph

* now include fail2ban in the apps properly

* correct the wget command so it does not stomp on phpfpm-sp

* update the fail2ban poller for the newest fail2ban script and now build multiple RRDs

* update for now graphing firewalled and banned

* update fail2ban docs to match the newest snmpd extend method

* search automatically for jails and graph them

* graphs the currently banned for a fail2ban jail

* change the tital of the graph for the total banned to make it more descriptive

* Add a explanation of the two variables in the total graph.

* misc. white space cleans ups

* misc. white space cleanup

* minor white space cleanup

* correct descr lenght

* correct descr lenght

* Update fail2ban.inc.php

* Use rrd_name properly

* note the cache file bits

* make caching optional and note why

* Update to new RrdDefinition class

* And the use statement ;/

* Messed the second rrd_def

* correct two minor errors that did not seem to be causing issues

* don't use $vars as per pull #5994

* don't use $vars as per pull #5994

* fix jails graphs

* Remove loops and temp variables

* whitespace

* Change graph so we don't get fractions

* add the common nfsen channel include

* add nfsen channel flows graph

* add nfsen channel packet graph

* add nfsen channel traffic graph

* update nfsen for channel support

* the nfsen general page

* add the nfsen channel page

* update the docs on nfsen to be more clear about configuring it

* white space cleanup

* white space cleanup

* misc code cleanup

* now consistently uses all the same quotes

* minor code cleanups

* Update nfsen_channel_common.inc.php

* minor white space cleanup
2017-03-02 09:03:45 -06:00
VVelox
de6b1d9722 feature: Add Postgres application support (#6004) 2017-03-01 23:46:03 +00:00
David Bell
56bb0a4d50 Add a space between BGP symbol, and IP address (#6050) 2017-03-01 21:32:18 +00:00
VVelox
002f4157b6 feature: Added support Postfix application 2017-03-01 18:34:22 +00:00
David Bell
179f852c21 webui: Fix BGP Icon for global search #6031 2017-02-28 15:18:39 +00:00
Søren Rosiak
db58fea2d2 feature: Add Basic Oxidized Node List (#6017)
* feature: Add Basic Oxidized Node List
2017-02-27 22:32:13 +00:00
Neil Lathwood
bbc7d71cf9 some small updates (#6022) 2017-02-27 14:39:02 +00:00
VVelox
252d0c1055 add a nicecase instance for PHP-FPM (#6007)
* add single pool based poller for php-fpm
2017-02-26 13:46:16 +00:00