Commit Graph

1308 Commits

Author SHA1 Message Date
laf
fa52fdc986 Added new function to tidy up for bootgrid output 2015-04-13 15:32:39 +01:00
Mike Rostermund
778865e639 Fixed wrong name in debug popup 2015-04-13 03:12:01 -07:00
laf
42acccd3fb started on schedule maintenance section 2015-04-13 10:18:15 +01:00
f0o
e25f91f311 Fixed menubar condition 2015-04-12 16:00:09 +00:00
f0o
36c9f845bf Fix missing link to errored or ignored ports 2015-04-12 15:56:54 +00:00
f0o
f55d57372b New global Object Cache 2015-04-12 11:22:43 +00:00
laf
71f5f22387 Fixed loading.... issue when no data returned 2015-04-12 11:47:21 +01:00
Daniel Preussker
d2bb7d7137 Merge pull request #761 from laf/bootgrid-devices
Updated the devices page to use bootgrid
2015-04-12 10:26:18 +00:00
Daniel Preussker
47932f14e5 Merge pull request #729 from laf/bootgrid-ipsearch
Updated search tables for ipv4,ipv6,mac and arp
2015-04-12 10:25:40 +00:00
Daniel Preussker
09522e83d7 Merge pull request #775 from laf/issue-652
Added redirect when a POST value is found
2015-04-12 10:01:32 +00:00
Neil Lathwood
e2ae0f59e4 Merge pull request #777 from Rosiak/master
Basic Alert Stats Page
2015-04-12 09:27:31 +01:00
laf
52004231a2 added exit after redirect 2015-04-12 09:22:08 +01:00
Søren Rosiak
8a68c91f4f Basic Alert Stats Page
- Diagrams from visjs
- Basic Alert Stats Global Page
- Basic Alert Stats Device Specific Page

Big thanks to lafwood for the help.
2015-04-12 01:10:48 +02:00
laf
cd5d18fa36 Added redirect when a POST value is found 2015-04-11 21:01:33 +01:00
laf
4873a83508 Added check for device_permitted to each device that is pulled out of the db 2015-04-11 10:17:27 +01:00
laf
b79b0b0d8f Updated devices table to use bootgrid 2015-04-08 21:17:48 +01:00
laf
2150ff1a3f Removed old include line 2015-04-08 18:29:17 +01:00
laf
86a3019e89 Updated include to include_once 2015-04-08 10:52:44 +01:00
Daniel Preussker
ea4fb9dbe9 Merge pull request #752 from laf/issue-743
Shorten interface names on map
2015-04-08 08:01:27 +00:00
Ultra2D
6f299a9679 Merge remote-tracking branch 'upstream/master' into issue-714
Conflicts:
	html/includes/authentication/ldap.inc.php
2015-04-08 08:43:24 +02:00
laf
7aa87224aa Couple of small issues fixed on alerts page 2015-04-08 03:01:15 +01:00
laf
bc285af35d Shorten interface names on map 2015-04-08 02:46:03 +01:00
Tyler Christiansen
1663b743db remove array_push is inefficient and we dont care about its return value 2015-04-07 14:03:30 -07:00
Tyler Christiansen
d4f472e9cb stop ldap_compare() from running against ldap_comparison, which would result in an error 2015-04-07 13:58:31 -07:00
Tyler Christiansen
b41605a13a clean up code and add more detection 2015-04-07 12:30:02 -07:00
Tyler Christiansen
cb5a62087e make code more backward-compatible 2015-04-07 12:21:52 -07:00
Tyler Christiansen
2e233e0d5c add global config, fix get_userlist 2015-04-07 12:10:55 -07:00
Tyler Christiansen
00f77f8bdf add feature to loop all groups for auth 2015-04-07 11:48:29 -07:00
Ultra2D
3eaaac4ce4 Add email address for LDAP users. 2015-04-07 09:52:21 +02:00
f0o
3abc93eba2 JS typo 2015-04-06 17:04:26 +00:00
Neil Lathwood
fdb9507800 Merge pull request #722 from f0o/issue-616-dynamic
Device-Groups + Alerting + Management
2015-04-04 19:36:26 +01:00
laf
ad024d9055 Updated search tables for ipv4,ipv6,mac and arp 2015-04-04 11:42:30 +01:00
laf
cf0ab45351 Updated alert-log table to use new header, also fixed sorting on time logged column 2015-04-04 00:54:50 +01:00
laf
97039768a6 Updated to fix scrut issues 2015-04-03 20:10:42 +01:00
f0o
ba99eb25a2 Device-Groups Draft 2015-04-03 18:22:29 +00:00
laf
ac4eba78e4 Added support for AirOS and AirFibre from UBNT 2015-04-03 18:59:58 +01:00
Daniel Preussker
fcd01254a1 Merge pull request #716 from laf/bootgrid-inventory
Updated inventory table to use bootgrid
2015-04-02 20:08:53 +00:00
laf
ca6c436cb7 Updated inventory table to use bootgrid 2015-04-02 18:05:24 +01:00
laf
469f5aa629 Updated the way the rule loop works 2015-04-02 16:19:30 +01:00
Ultra2D
0ab454fefc Add support for LDAP directories using member in stead of memberUid and dn in stead of username for group members.
Used the same variables as Observium, see http://www.observium.org/wiki/Authentication_modules#OpenLDAP
2015-04-01 16:10:50 +02:00
laf
272b8fc4ba Updated alertlog to use bootgrid 2015-04-01 00:21:56 +01:00
Daniel Preussker
9cb859f7c1 Merge pull request #693 from laf/bootgrid-alerts
Converted alerts table to use bootgrid
2015-03-31 20:47:55 +02:00
laf
85e83f5775 Updated alerts table to show status messages 2015-03-31 18:47:10 +01:00
laf
9e18ce34d2 Added mono theme - dark nav with white icons 2015-03-31 18:08:13 +01:00
Søren Rosiak
debf396081 Fix BGP Internal Icon
- Make black instead of white, icon is not visible when white.
2015-03-31 15:03:39 +02:00
Paul Gear
dc5cfda4ad Merge pull request #683 from laf/font-awesome-2-webui
WebUI update to support dark / light theme - dark is default
2015-03-31 22:25:56 +10:00
laf
97471cd79d Updated to only change main navbar icon colors 2015-03-31 12:17:41 +01:00
laf
65f82ba00e Adding files for final font-awesome PR 2015-03-30 12:22:24 +01:00
laf
24ac018114 Initial font awesome work 2015-03-30 12:21:59 +01:00
laf
49da368895 Added alerts file for table 2015-03-30 12:16:56 +01:00
laf
258c9d8882 Converted alerts table to use bootgrid 2015-03-30 01:05:57 +01:00
laf
0da3cb8996 Fix for maps now working when devices hostname != the same in the links table 2015-03-29 02:11:55 +01:00
f0o
8f46e730db Added JS 2015-03-28 15:40:53 +00:00
laf
374107b812 Final bits to the map
Conflicts:
	html/css/styles.css
	html/includes/print-map.inc.php
2015-03-28 14:02:00 +00:00
laf
60138aded5 Added webui files for new map pages 2015-03-28 13:59:23 +00:00
laf
47c59ddf14 Updated to show map only if links exist
Conflicts:
	html/includes/print-menubar.php
2015-03-28 13:53:00 +00:00
laf
79ae1acffa Updated tables to include other SQL queries in total count 2015-03-27 16:47:26 +00:00
laf
6207bae03a Switched to using Jquery Bootgrid for tables 2015-03-27 16:28:09 +00:00
Rosiak
c8f15119d1 Add Polling Information Page 2015-03-25 22:05:51 +01:00
laf
17019bd56b Added support for exporting pages via pdf: image is LGPL from: https://www.iconfinder.com/icons/3745/document_pdf_icon#size=16 and pdf library is GPLV3 http://www.tcpdf.org/license.php 2015-03-24 16:27:28 +00:00
Daniel Preussker
a236c2d12a Merge pull request #627 from laf/issue-laf-148
Updated adding devices for distributed poller
2015-03-23 16:29:32 +00:00
laf
5762e655e1 Updated for scrut issues 2015-03-23 15:30:09 +00:00
laf
28724cbae1 Added inventory endpoint to API 2015-03-23 15:15:05 +00:00
Daniel Preussker
0e2b88f3ec Merge pull request #598 from laf/issue-596
Updated menubar to try and shrink space down
2015-03-22 10:34:44 +00:00
laf
a404082d51 Updated some of the main pages to no longer refresh 2015-03-21 21:30:55 +00:00
laf
ab82effa3b Updated adding devices for distributed poller 2015-03-19 22:06:13 +00:00
Daniel Preussker
a1c99a2ff4 Merge pull request #620 from laf/issue-611
Updated the use of REMOTE_ADDR to a function then replaced its use
2015-03-19 16:48:17 +00:00
Neil Lathwood
6d33a98c75 Merge pull request #610 from laf/issue-608
Web UI components for dist poller
2015-03-19 16:34:12 +00:00
laf
e62f0bc7f4 Updated to remove the pollers menu if distributed poller is not set 2015-03-18 19:25:09 +00:00
laf
791fa19a88 Updated the use of REMOTE_ADDR to a function then replaced its use 2015-03-18 19:14:51 +00:00
laf
6d775a14ac Added alt and title to system icon 2015-03-18 09:32:00 +00:00
laf
ab71468c8f Added device_ before the graph name is returned 2015-03-17 12:51:59 +00:00
laf
d74a37c078 Added support for managing poller groups and viewing poller stats 2015-03-15 21:44:35 +00:00
laf
d780a4d214 Added Performance menu to System and add pollers page 2015-03-15 15:18:50 +00:00
laf
8fbba43e83 Updated menubar to try and shrink space down 2015-03-12 23:26:47 +00:00
laf
c6c2a77716 Added title popovers to the device quick links (ssh/telnet/https) 2015-03-12 21:55:46 +00:00
Daniel Preussker
be9d5118f0 Merge pull request #579 from laf/issue-578
Fixed Apps menu in topbar
2015-03-10 14:39:10 +00:00
laf
23b703ad90 Fixed Apps menu in topbar 2015-03-10 14:13:32 +00:00
laf
1126abc332 Fixed generic image and text 2015-03-10 14:07:40 +00:00
Markus Heberling
aeecf4a97a Fix display of icons in Devices menu bar 2015-03-09 22:29:28 +01:00
Paul Gear
e03934dffd Merge pull request #470 from laf/issue-laf-117
Added telnet/ssh/https links to device pages
2015-03-09 08:53:28 +10:00
Paul Gear
9a71270275 Merge pull request #557 from laf/issue-552
Adds a jquery refresh / pause option to the System menu so you can pause pages
2015-03-09 08:39:10 +10:00
laf
fa3944cd8f Final version of jquery pause / resume for page refresh 2015-03-08 21:33:40 +00:00
laf
7fd470925b Moved search box back to the right and aligned dropdown 2015-03-06 15:52:54 +00:00
laf
1238498696 Updated new_alert_rule modal to not die and instead only return the page for admins 2015-03-05 11:40:02 +00:00
Søren Rosiak
dbf0107827 Update print-alerts.inc.php
- Changed using lafwoods suggested changes.
2015-03-03 19:25:20 +01:00
Rosiak
d0997d09d4 Print alert state and a matching glyphic
- Print alert state on default front page and on alert-log page.
Prints the state and a matching glyphicon.
2015-03-03 18:48:40 +01:00
Rosiak
e1a5dd0110 Add ifAlias to graph view.
- Small visual improvement
2015-03-02 18:32:36 +01:00
laf
c1ef9b6808 Resolved a large number index issues and update Console_Color to V2 2015-03-01 18:04:57 +00:00
Daniel Preussker
7b43810f34 Merge pull request #484 from laf/issue-483
Updated the way debug=yes in url works to make it visually more appealing
2015-03-01 18:46:47 +01:00
Daniel Preussker
cb9d3d1cbb Merge pull request #521 from laf/issue-463-2
Fixing mysql_strict issues / errors
2015-03-01 13:40:31 +01:00
laf
dae96388e8 Fixed javascript event. issue - stopped Firefox working 2015-02-27 11:57:43 +00:00
mchasteen
984e4a8cab Fixed the global alert_rull add SQL. Added a default value for disabled (set to 0). This could probably be fixed in the schema if the default value is set. 2015-02-26 23:04:05 +00:00
mchasteen
a1ef2e0f69 Fixed the mysql auth include and the db schema. I set the desc field to be a varchar(200) and set it to be NULL by default (this is a personal preference but since it was not set in the code...). I fixed adduser function in html/includes/authentication/mysql.inc.php. I added $description and $twofactor to the function argument with default values and added descr and twofactor elements in the array passed to the dbInsert function call. OpenSuSE 13.2 2015-02-26 23:03:05 +00:00
mchasteen
c1c26bf831 Added new sensor - Battery Charge. Added discover and polling for APC UPSes. 2015-02-26 19:30:49 +00:00
laf
f4f204e801 Fixed resetting tags back to blank 2015-02-26 16:16:54 +00:00
laf
10293395b5 Added defining fault_detail variable 2015-02-26 12:45:31 +00:00
laf
213ef5fcf9 Final update from some comments from f0o 2015-02-26 12:32:54 +00:00
laf
814b289799 Small fix to get all triggered alerts and ui update 2015-02-26 12:24:37 +00:00
laf
d8cf061a30 Added alert details to alert page 2015-02-26 12:08:42 +00:00
Neil Lathwood
aa5d1e10a1 Clear out tags before adding current ones 2015-02-26 10:17:27 +00:00
Neil Lathwood
512334c7d2 Fixed event.Default which should be e.Default 2015-02-25 20:38:38 +00:00
Neil Lathwood
1f82280a60 Merge pull request #504 from laf/issue-laf-122
Shrunk the print_optionbar wells so they take up less space
2015-02-22 21:50:10 +00:00
laf
4c77b9a7c0 Shrunk the print_optionbar wells so they take up less space 2015-02-22 21:39:00 +00:00
laf
e34917977d Added logout icon 2015-02-22 21:15:09 +00:00
Neil Lathwood
cd43e11032 Fixed some scrut major issues 2015-02-22 19:28:09 +00:00
Neil Lathwood
2e7887f115 Merge pull request #501 from laf/scrut-performance
Fixed the performance issues in scrut
2015-02-22 18:16:10 +00:00
Neil Lathwood
6b985a2e59 Merge pull request #495 from Rosiak/master
Alert Log Creation
2015-02-22 17:52:21 +00:00
Neil Lathwood
2ef0cf8b80 Fixed the performance issues in scrut 2015-02-22 17:27:22 +00:00
Neil Lathwood
a4d3c8709d Fixed the scrut coding style issues 2015-02-22 16:45:40 +00:00
Søren Rosiak
97c244433a Alert Log Creation
- Creation of a alert log page
- Code from html/pages/eventlog.inc.php
2015-02-22 10:49:26 +01:00
Søren Rosiak
b68cfec27b Alerts subment change.
- Make alerts submenu entry available for non-admins too.
2015-02-22 10:15:32 +01:00
Søren Rosiak
82b5805643 Update print-menubar.php
Add alerts sub-menu entry, based on feedback from lafwood.
2015-02-21 19:47:52 +01:00
Søren Rosiak
a3edd69d54 Menubar Change - Make Alert Submenu
- Change the "overview" of alerts info, into a submenu in "overview".
2015-02-20 14:25:36 +01:00
Rosiak
8c2f629e14 Change Default Page View
- Add print-alerts code
 - Change the view of the lower part of the front page from 12 columns
to 2 x 6 columns
 - Add alertlog entries to the new column
2015-02-20 00:33:49 +01:00
Rosiak
c5e95baa9b Small visual change to print-alerts.php
- Prints a link to the device instead of just text.
- Prints rule name instead of definition. Definition will appear if you
hover the mouse over the rule name.
2015-02-19 17:50:41 +01:00
Neil Lathwood
d593710fc5 Updated the way debug=yes in url works to make it visually more appealing 2015-02-18 23:03:23 +00:00
Neil Lathwood
0596643b55 Fixed sql query for port stats call to include the device_id :/ 2015-02-18 16:22:52 +00:00
Paul Gear
42881d3124 Merge pull request #472 from laf/issue-laf-119
Added support for api demo account
2015-02-17 10:46:44 +10:00
Neil Lathwood
ae43e39074 Added support for api demo account 2015-02-17 00:10:36 +00:00
Neil Lathwood
2cb5d727b4 Updated to support a demo user 2015-02-16 23:45:28 +00:00
Neil Lathwood
04a4d7fef8 Added telnet/ssh/https links to device pages 2015-02-16 21:05:02 +00:00
Neil Lathwood
da49912239 Removing badge for now, looks wrong 2015-02-16 20:19:04 +00:00
Neil Lathwood
a5c12ff3b8 Moved badge position in menu 2015-02-16 19:24:08 +00:00
Neil Lathwood
e85925df4f Updated All Devices menu to include the specific devices 2015-02-16 17:47:00 +00:00
Neil Lathwood
7f7b5cdfd4 Merge pull request #459 from laf/issue-laf-115
Updated Global Search css to remove width style
2015-02-15 21:16:44 +00:00
Neil Lathwood
5f46e218ae Added icon for Plugin menu 2015-02-15 20:48:23 +00:00
Neil Lathwood
1a5a741a44 Updated Global Search css to remove width style 2015-02-15 20:24:44 +00:00
Rosiak
e4f42ec220 Menubar port search output change.
Small change that add’s the port desc/alias to the output.
2015-02-15 15:30:40 +01:00
Rosiak
70324f588b Revert "Menubar port search output change."
This reverts commit 68ce77d3e5.
2015-02-15 14:50:04 +01:00
Rosiak
68ce77d3e5 Menubar port search output change.
Small change that add’s the port desc/alias to the output.
2015-02-15 14:36:44 +01:00
laf
1c14179406 Updated sub-menu to be icons 2015-02-03 22:25:28 +00:00
laf
6e7c095bde Added a sub-menu on the device list page to enable quick access to features 2015-02-03 21:35:34 +00:00
laf
12fc20f8a2 Removed un-needed header redirect 2015-02-01 17:34:06 +00:00
laf
ddbc2a7304 Updated alerts interface to support inverted rules, worse/better alerts 2015-01-26 22:07:42 +00:00
laf
9b94548039 Fixed bug when mute was selected for an alert rule 2015-01-25 21:05:36 +00:00
f0o
c0d3d73f01 Use bootstrap's progressbar to display bars 2015-01-22 16:22:19 +00:00
f0o
3be0b85846 Resolved upstream-conflicts:
html/pages/apps.inc.php
	includes/polling/unix-agent.inc.php
2015-01-18 06:37:22 +00:00
f0o
dd6f1f63ff Added TinyDNS (djbdns) Graphs & Application.
Data obtained by tinystats (http://www.morettoni.net/tinystats.en.html) via check_mk
2015-01-17 19:27:44 +00:00
f0o
c9dcc96649 Added Documentation, Scrut-fixes 2015-01-17 14:09:59 +00:00
f0o
e4a1ff5b7c Added named/bind9 Application, Graphs, Check_MK-script 2015-01-16 18:30:53 +00:00
Neil Lathwood
a4ad199a6a Merge pull request #395 from f0o/issue-387
Added Package Search
2015-01-11 11:47:33 +00:00
f0o
75d37fe478 Replace Packages-link in menubar with Packages-Search.
Rewrote inclusion code in `html/pages/search.inc.php`.
Added replacement for `:` character in versions to level out debian-version oddities.
2015-01-07 09:22:39 +00:00
Paul Gear
9d7bea4b06 Merge pull request #376 from laf/issue-laf-100
Updated location of API docs
2015-01-06 19:11:34 +10:00
f0o
eadbb50695 Added Package Search 2015-01-04 19:58:37 +00:00
Neil Lathwood
e0b4562b51 Merge pull request #383 from f0o/issue-365
Added TwoFactor Authentication (RFC4226)
2014-12-28 15:52:56 +00:00
f0o
d66cec7017 Added TwoFactor Authentication (RFC4226)
Tested against Google-Authenticator app on Android 4.4.4

Made `verify_hotp` more efficient.

Added autofocus on twofactor input

Added GUI Unlock and Remove for TwoFactor credentials in /edituser/

Allow additional tries after elapsed time from last try exceeds configured parameter `$config['twofactor_lock']`.
If `$config['twofactor_lock']` is not defined or is set to `0`, administrators have to unlock accounts that exceed 3 failures via GUI.

Added Documentation

Moved TwoFactor form to logon.inc.php
Disabled autocomplete on twofactor input field
Updated Docs to include link to Google-Authenticator's install-guides

Moved authentication logic from authenticate.inc.php to twofactor.lib.php

typo in docblock for `twofactor_auth()`

Fixed scrutinizer bugs

To please scrutinizer
2014-12-28 15:40:40 +00:00
Neil Lathwood
cbaf3cacec Merge pull request #375 from laf/issue-laf-98
Updated ability to acknowledge alerts
2014-12-23 16:57:16 +00:00
Neil Lathwood
ff833a508d Merge pull request #373 from laf/issue-laf-97
Added ability to create default global alert rules
2014-12-23 16:36:18 +00:00
laf
9d1fd5adb4 Updated location of API docs 2014-12-23 16:35:09 +00:00