Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
fe2c9c21
Commit
fe2c9c21
authored
May 24, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add example apache/ldap proxy config, fixed timepicker init bug, removed debug statement from stack
parent
ccc1eafa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
4 deletions
+64
-4
common/lib/panels/jquery.flot.stack.js
+0
-1
panels/timepicker/module.js
+3
-3
sample/apache_ldap.conf
+61
-0
sample/nginx.conf
+0
-0
No files found.
common/lib/panels/jquery.flot.stack.js
View file @
fe2c9c21
...
@@ -203,7 +203,6 @@ charts or filled areas).
...
@@ -203,7 +203,6 @@ charts or filled areas).
//set percentage for stacked chart
//set percentage for stacked chart
function
processRawData
(
plot
,
series
,
data
,
datapoints
)
{
function
processRawData
(
plot
,
series
,
data
,
datapoints
)
{
console
.
log
(
plot
)
if
(
!
processed
)
{
if
(
!
processed
)
{
processed
=
true
;
processed
=
true
;
stackSums
=
getStackSums
(
plot
.
getData
());
stackSums
=
getStackSums
(
plot
.
getData
());
...
...
panels/timepicker/module.js
View file @
fe2c9c21
...
@@ -61,13 +61,13 @@ angular.module('kibana.timepicker', [])
...
@@ -61,13 +61,13 @@ angular.module('kibana.timepicker', [])
switch
(
$scope
.
panel
.
mode
)
{
switch
(
$scope
.
panel
.
mode
)
{
case
'absolute'
:
case
'absolute'
:
$scope
.
time
=
{
$scope
.
time
=
{
from
:
moment
(
$scope
.
panel
.
time
.
from
,
'
YYYY-MM-DD
HH:mm:ss'
)
||
moment
(
time_ago
(
$scope
.
panel
.
timespan
)),
from
:
moment
(
$scope
.
panel
.
time
.
from
,
'
MM/DD/YYYY
HH:mm:ss'
)
||
moment
(
time_ago
(
$scope
.
panel
.
timespan
)),
to
:
moment
(
$scope
.
panel
.
time
.
to
,
'
YYYY-MM-DD
HH:mm:ss'
)
||
moment
()
to
:
moment
(
$scope
.
panel
.
time
.
to
,
'
MM/DD/YYYY
HH:mm:ss'
)
||
moment
()
}
}
break
;
break
;
case
'since'
:
case
'since'
:
$scope
.
time
=
{
$scope
.
time
=
{
from
:
moment
(
$scope
.
panel
.
time
.
from
,
'
YYYY-MM-DD
HH:mm:ss'
)
||
moment
(
time_ago
(
$scope
.
panel
.
timespan
)),
from
:
moment
(
$scope
.
panel
.
time
.
from
,
'
MM/DD/YYYY
HH:mm:ss'
)
||
moment
(
time_ago
(
$scope
.
panel
.
timespan
)),
to
:
moment
()
to
:
moment
()
}
}
break
;
break
;
...
...
sample/apache_ldap.conf
0 → 100644
View file @
fe2c9c21
# Courtesy of https://github.com/sgzijl
# config.js includes elasticsearch: "https://"+window.location.hostname+":443",
<
VirtualHost
1
.
2
.
3
.
4
:
80
>
ServerName
your
.
domain
.
tld
RewriteEngine
On
RewriteCond
%{
HTTPS
}
off
RewriteRule
(.*)
https
://%{
HTTP_HOST
}%{
REQUEST_URI
}
</
VirtualHost
>
<
VirtualHost
1
.
2
.
3
.
4
:
443
>
ServerName
your
.
domain
.
tld
SSLEngine
on
SSLCertificateFile
/
path
/
to
/
public
.
crt
SSLCertificateKeyFile
/
path
/
to
/
private
.
key
DocumentRoot
/
path
/
to
/
kibana3
<
Directory
/
path
/
to
/
kibana3
>
Allow
from
all
Options
-
Multiviews
</
Directory
>
LogLevel
debug
ErrorLog
/
path
/
to
/
logs
/
error_log
CustomLog
/
path
/
to
/
logs
/
access_log
combined
# Set global proxy timeouts
<
Proxy
http
://
127
.
0
.
0
.
1
:
9200
>
ProxySet
connectiontimeout
=
5
timeout
=
90
</
Proxy
>
# Proxy for _aliases and .*/_search
<
LocationMatch
"^(/_aliases|.*/_search)$"
>
ProxyPass
http
://
127
.
0
.
0
.
1
:
9200
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
</
LocationMatch
>
# Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected)
<
LocationMatch
"^(/kibana-int/dashboard/|/kibana-int/temp).*$"
>
ProxyPass
http
://
127
.
0
.
0
.
1
:
9200
ProxyPassReverse
http
://
127
.
0
.
0
.
1
:
9200
</
LocationMatch
>
# Optional disable auth for a src IP (eg: your monitoring host or subnet)
<
Location
/>
Allow
from
5
.
6
.
7
.
8
Deny
from
all
Satisfy
any
AuthLDAPBindDN
"CN=_ldapbinduser,OU=Users,DC=example,DC=com"
AuthLDAPBindPassword
"ldapbindpass"
AuthLDAPURL
"ldaps://ldap01.example.com ldap02.example.com/OU=Users,DC=example,DC=com?sAMAccountName?sub?(objectClass=*)"
AuthType
Basic
AuthBasicProvider
ldap
AuthName
"Please authenticate for Example dot com"
AuthLDAPGroupAttributeIsDN
on
require
valid
-
user
</
Location
>
</
VirtualHost
>
sample/
kibana
.conf
→
sample/
nginx
.conf
View file @
fe2c9c21
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment