Commit Graph

1228 Commits

Author SHA1 Message Date
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
Neil Lathwood
078d63b3f3 Update print-alert-rules.php 2014-12-23 15:56:39 +00:00
Neil Lathwood
3669a6e824 Update print-alert-rules.php 2014-12-23 15:56:17 +00:00
laf
b476514b7d Updated ability to acknowledge alerts 2014-12-22 20:31:52 +00:00
laf
1d217df791 Set device_id to -1 2014-12-22 19:38:45 +00:00
laf
84eb81c23a Setting default delay to 300 seconds so alerts are every 5 minutes 2014-12-22 19:01:23 +00:00
laf
a3c180868b Updated default rules 2014-12-22 17:41:05 +00:00
laf
6f0b9478a8 Added ability to create default global alert rules 2014-12-22 16:58:58 +00:00
Neil Lathwood
51616844bc Added ability to name alert rules 2014-12-21 15:44:50 +00:00
Paul Gear
56aa518608 Merge pull request #369 from laf/alert-api
API for alerting
2014-12-21 12:54:36 +10:00
Neil Lathwood
51db1af74d Clear out rule entries now when modal form closes 2014-12-19 21:32:05 +00:00
Neil Lathwood
7cd8cf7ecf Update to enabled calculations to be put into entity 2014-12-19 20:30:51 +00:00
Neil Lathwood
ef28a9fe03 Scrutinizer issues fixed 2014-12-16 21:10:11 +00:00
Neil Lathwood
613391ca8f Scrutinizer issues fixed 2014-12-16 20:58:31 +00:00
Neil Lathwood
1140768bd2 Scrutinizer issues fixed 2014-12-16 20:49:55 +00:00
Neil Lathwood
b6d935e608 API for alerting 2014-12-16 20:39:58 +00:00
laf
807fc9a3ba Alerts gui commit 2014-12-16 20:03:19 +00:00
laf
1108ef7939 Added new api route for billing 2014-12-02 23:43:11 +00:00
Paul Gear
9b609c5869 Merge pull request #357 from laf/issue-laf-91
Fixed global search box bootstrap code
2014-12-01 20:35:41 +00:00
Paul Gear
05d998c1f8 Merge remote-tracking branch 'laf/issue-laf-90'
Conflicts:
	html/api_v0.php
	html/includes/api_functions.inc.php
2014-12-01 20:27:50 +00:00
laf
e4e2cfe3cf Fixed global search box bootstrap code 2014-11-30 17:49:52 +00:00
laf
1a3f5504d0 Added new API route to obtain available ports for a device 2014-11-30 15:45:10 +00:00
laf
4d7b4ef432 Added new route for retrieving available device graphs 2014-11-29 15:43:19 +00:00
Neil Lathwood
744f3d81c9 Removed check for image/png content-type
14:08 <lafwood> blahdeblah: Quick question about the portgroups api route, you added a check for image/png
14:09 <lafwood> I'm not sure that's what that function is meant for. Event sending -H "Accept: image/png" on a curl request fails. I think this is for checking if you send an image to the api rather than what's to be output
14:27 <lafwood> Sending -H "Content-type: image/png" works but this for defining what content-type the request will send.
14:29 <lafwood> I think the curl request needs to send an Accept and then the API check for this, I'll put a PR through to remove the current code until it can be looked at in more detail.
2014-11-29 14:29:58 +00:00
Paul Gear
9930670119 Tidy API entry points & doc; error if something other than image/png is asked for from portgroup graphs 2014-11-25 21:45:15 +10:00
laf
213ba09f9f Fixed some scrutinizer issues 2014-11-12 23:19:57 +00:00
laf
3522f66f69 Added new route to display graphs for peering,transit and core 2014-11-12 23:05:47 +00:00
Paul Gear
de52585796 Merge pull request #335 from laf/issue-laf-74
Added bgp peers route to display all bgp peers
2014-11-12 19:13:12 +10:00
Paul Gear
3f29197f4b Merge pull request #334 from laf/issue-laf-73
Fixed BGP session count to exclude sessions that no longer have a device associated
2014-11-12 19:10:16 +10:00
laf
b4b160ead4 Updates from scrutinizer recommendations 2014-10-29 21:30:35 +00:00
laf
a792d10a76 Fixed BGP session count to exclude sessions that no longer have a device associated 2014-10-29 19:52:50 +00:00
laf
9eafe9af2a Added function to generate pagination for mysql results 2014-10-29 18:30:42 +00:00
Paul Gear
8ab0bcb324 Remove unused jqplot functions (was PR#306) 2014-10-28 08:39:19 +10:00
laf
3e4a494047 Added bgp peers route to display all bgp peers 2014-10-26 15:48:51 +00:00
Paul Gear
208ac0b104 Merge remote-tracking branch 'laf/issue-laf-47' 2014-10-25 08:49:28 +10:00
Paul Gear
69c3d926ff Merge pull request #315 from laf/issue-laf-58
Added the ability to call the api for a list of endpoints
2014-10-22 21:46:34 +10:00
Paul Gear
15392ecf40 Merge pull request #313 from laf/issue-laf-61
Added a response code when things are ok - oops
2014-10-22 21:37:39 +10:00
Paul Gear
9bf617b586 Merge pull request #310 from laf/issue-laf-54
Updated authToken response code to be 401
2014-10-22 21:34:21 +10:00
Paul Gear
b400ff839d Merge pull request #307 from laf/issue-laf-53
Updated adduser to check for existing user and use password hashing
2014-10-11 16:16:41 +10:00
Neil Lathwood
24ee2541ee Defining output array as per scrutinizer 2014-10-09 16:47:11 +00:00
Neil Lathwood
0be049fde9 Added the ability to call the api for a list of endpoints 2014-10-09 16:20:04 +00:00
Neil Lathwood
b6db82d8af Added a response code when things are ok - oops 2014-10-09 16:14:06 +00:00
Neil Lathwood
cd8b2299df Updated authToken response code to be 401 2014-10-07 23:53:26 +00:00
Paul Gear
5887009b63 Merge pull request #300 from laf/issue-laf-44
Added a route to the API that will get vlans for a given device
2014-10-07 19:56:01 +10:00
Paul Gear
d665a101ac Merge pull request #297 from laf/issue-laf-42
Fixed the placement of overlib popup images
2014-10-07 19:32:41 +10:00
Paul Gear
b4cc92475d Merge pull request #295 from laf/issue-laf-37
Adding ping and poller graphs for devices
2014-10-07 19:31:21 +10:00
laf
7f95922160 Updated adduser to check for existing user and use password hashing 2014-10-06 18:39:48 +01:00
laf
2be63b2041 Added an option to rediscover a device from the web page 2014-10-02 20:17:45 +01:00
laf
c55c1a71ba missed out the response code and header 2014-10-01 21:12:21 +01:00
laf
a87dd794e4 Updated vlans returned, was a double array by accident 2014-10-01 21:00:07 +01:00
laf
d2f727cfcb Added a total vlan response in api 2014-10-01 20:53:15 +01:00
laf
b8a2b7c291 Added /vlans/:hostname route to the API 2014-10-01 20:49:34 +01:00
laf
9ba4b464ea Added urldecode/encode support 2014-09-30 21:30:22 +01:00
laf
5519f97d35 Fixed the placement of overlib popup images 2014-09-30 21:24:47 +01:00
laf
9a178363a0 Added ping response graphs and some small updates 2014-09-30 19:13:50 +01:00
laf
6a1ebd9db4 Updated graph from area to line 2014-09-30 19:13:50 +01:00
laf
6c28f6367e Poller run time graphing 2014-09-30 19:13:50 +01:00
laf
40ffbe03e8 Fixed the device image in the devices list (now shows image) 2014-09-30 02:27:52 +01:00
Paul Gear
11f475b405 Syntaxy fix 2014-09-28 09:56:33 +10:00
Paul Gear
508e0b816d Fix Scrutinizer errors 2014-09-28 09:30:36 +10:00
Paul Gear
8a3117f0dc Rewrite ugly if-else one-liners as ternary operator 2014-09-28 09:30:18 +10:00
Paul Gear
d6245fd6ba Correctly set error code for missing SNMP version 2014-09-27 18:34:23 +10:00
Paul Gear
82613f17ee keep scrutinizer from complaining about snmpver not being set for all execution paths 2014-09-27 18:27:45 +10:00
Paul Gear
e48c1a6730 Use more accurate HTTP status code for device add 2014-09-27 16:34:43 +10:00
Paul Gear
9d4a9dfa30 Re-implement get_device using existing primitives 2014-09-27 16:34:36 +10:00
Paul Gear
48d3a43669 Tidy device deletion 2014-09-27 16:32:55 +10:00
Paul Gear
76f5ab87a9 Add function to get information about a single device 2014-09-27 15:25:43 +10:00
Paul Gear
a58c857ed2 Provide more useful diagnostics when adding a device via the API 2014-09-27 15:23:32 +10:00
Paul Gear
0a351ecf58 Supply more specific error code when API token is missing or invalid 2014-09-27 14:48:08 +10:00
laf
8790bfee0a Added api call to delete device 2014-09-17 21:03:02 +01:00
laf
e81ce9ff60 Removed one of the router variables as it was not needed 2014-09-17 18:45:44 +01:00
laf
a0b52743d0 Updated api routes to new format + moved includes file to correct location 2014-09-16 22:19:29 +01:00
laf
070f4d60bd Added documentation and a function to tidy up json output 2014-09-16 22:19:28 +01:00
laf
edec1c0c7d Initial API release 2014-09-16 22:19:28 +01:00
laf
b563b8425d Updated null to false for secure cookie 2014-08-20 16:42:09 +01:00
laf
183c69e304 Removed session regeneration 2014-08-20 16:24:27 +01:00
laf
7d2ee3bc56 Added support for Cisco ASA Connection graphs 2014-07-03 15:27:52 +01:00
bohdan-s
4818e7d687 Fix Copyright Notice(s) 2014-06-25 03:19:12 -04:00
bohdan-s
9fb82b844d Cleaned up code and changed to jquery, re: laf suggestions 2014-06-21 22:02:16 -04:00
bohdan-s
c9ea8fb69a Move status and logon pages to same page,
remove kernel version from status page
2014-06-21 20:24:44 -04:00
laf
d1fc8968f9 Moved global search and system menus to the left 2014-06-16 23:08:56 +01:00