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
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
40253e12
Commit
40253e12
authored
Jun 12, 2014
by
Tristan Cavelier
Committed by
Cédric Le Ninivin
Jun 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
monitor: status monitor output improved
parent
c898d62c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
stack/monitor/buildout.cfg
stack/monitor/buildout.cfg
+1
-1
stack/monitor/webfiles/status.cgi.in
stack/monitor/webfiles/status.cgi.in
+1
-1
No files found.
stack/monitor/buildout.cfg
View file @
40253e12
...
...
@@ -76,7 +76,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/webfiles/${:filename}
download-only = true
md5sum =
aa2764cab87e457410435974f729e906
md5sum =
f3eac23f78ec0d7e132db921def44a98
destination = ${buildout:directory}/parts/monitor-template-status-cgi
filename = status.cgi.in
mode = 0644
...
...
stack/monitor/webfiles/status.cgi.in
View file @
40253e12
...
...
@@ -45,7 +45,7 @@ print "<br/>"
print "
<h2>
These scripts and promises have failed :
</h2>
"
for r in result:
if result[r] != '':
print "
<h3>
%s
</h3><p
style=
\"padding-left:30px;\"
>
%s
</p>
" % (r, result[r]
)
print "
<h3>
%s
</h3><p
re
style=
\"padding-left:30px;\"
>
%s
</pre>
" % (cgi.escape(r), cgi.escape(result[r])
)
print "
<br/>
"
print "
<h2>
These scripts and promises were successful :
</h2>
"
...
...
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