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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos
Commits
2899aa4f
Commit
2899aa4f
authored
Jun 13, 2014
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apache-frontend: monitor add apache configuration viewer
NOTE: If the configuration is wrong the output is null
parent
40253e12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
software/apache-frontend/instance-apache-frontend.cfg
software/apache-frontend/instance-apache-frontend.cfg
+11
-0
No files found.
software/apache-frontend/instance-apache-frontend.cfg
View file @
2899aa4f
...
@@ -51,6 +51,7 @@ parts =
...
@@ -51,6 +51,7 @@ parts =
monitor-current-log-access
monitor-current-log-access
monitor-backup-log-access
monitor-backup-log-access
monitor-ats-cache-stats-wrapper
monitor-ats-cache-stats-wrapper
monitor-apache-configuration-verification
extends = ${monitor-template:output}
extends = ${monitor-template:output}
...
@@ -618,3 +619,13 @@ rendered = $${trafficserver-configuration-directory:target}/cache-config.stats
...
@@ -618,3 +619,13 @@ rendered = $${trafficserver-configuration-directory:target}/cache-config.stats
mode = 644
mode = 644
context =
context =
raw content show:cache-stats
raw content show:cache-stats
# Display result of apache configuration check
[monitor-apache-configuration-verification]
< = jinja2-template-base
template = ${template-wrapper:output}
rendered = $${monitor-directory:monitoring-cgi}/front-httpd-configuration
mode = 0700
command = echo "<pre>$($${apache-configuration:frontend-configuration-verification})</pre>"
extra-context =
key content :command
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