Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
francois
slapos
Commits
5a84f622
Commit
5a84f622
authored
10 years ago
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack-monitor: user has to define by himself monitor_password
parent
7b3bd742
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
stack/monitor/monitor.cfg.in
stack/monitor/monitor.cfg.in
+12
-8
No files found.
stack/monitor/monitor.cfg.in
View file @
5a84f622
...
@@ -72,7 +72,7 @@ filename = monitor.cgi
...
@@ -72,7 +72,7 @@ filename = monitor.cgi
mode = 0744
mode = 0744
context =
context =
key json_file monitor-parameters:json-path
key json_file monitor-parameters:json-path
key password
cgi-password:passw
d
key password
zero-parameters:cgi-passwor
d
raw python_executable ${buildout:executable}
raw python_executable ${buildout:executable}
key this_filename :filename
key this_filename :filename
...
@@ -84,7 +84,7 @@ filename = control.cgi
...
@@ -84,7 +84,7 @@ filename = control.cgi
mode = 0744
mode = 0744
context =
context =
raw config_cfg $${buildout:directory}/knowledge0.cfg
raw config_cfg $${buildout:directory}/knowledge0.cfg
key password
cgi-password:passw
d
key password
zero-parameters:cgi-passwor
d
raw python_executable ${buildout:executable}
raw python_executable ${buildout:executable}
key this_filename :filename
key this_filename :filename
...
@@ -147,10 +147,14 @@ name = example.com
...
@@ -147,10 +147,14 @@ name = example.com
###########
###########
# Deploy a webserver running cgi scripts for monitoring
# Deploy a webserver running cgi scripts for monitoring
###########
###########
[cgi-password]
[public]
recipe = slapos.cookbook:generate.password
recipe = slapos.cookbook:zeroknown.write
storage-path = $${directory:etc}/cgi-passwd
filename = knowledge0.cfg
bytes = 8
cgi-password = passwordtochange
[zero-parameters]
recipe = slapos.cookbook:zeroknown.read
filename = $${public:filename}
# XXX could it be something lighter?
# XXX could it be something lighter?
[cgi-httpd-configuration-file]
[cgi-httpd-configuration-file]
...
@@ -210,5 +214,5 @@ wrapper-path = $${directory:bin}/cgi-httpd
...
@@ -210,5 +214,5 @@ wrapper-path = $${directory:bin}/cgi-httpd
[publish-connection-parameter]
[publish-connection-parameter]
recipe = slapos.cookbook:publish
recipe = slapos.cookbook:publish
monitor_url = http://[$${cgi-httpd-configuration-file:listening-ip}]:$${cgi-httpd-configuration-file:listening-port}
monitor_url = https://[$${cgi-httpd-configuration-file:listening-ip}]:$${cgi-httpd-configuration-file:listening-port}/index.html
monitor_password = $${cgi-password:passwd}
IMPORTANT_monitor_info = change the password as soon as possible ! Default is : passwordtochange
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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