Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flame
flame-clmc
Commits
2569f8ae
Commit
2569f8ae
authored
6 years ago
by
Nikolay Stanchev
Browse files
Options
Downloads
Patches
Plain Diff
Updated tick stack installation to create alert templates when kapacitor is installed
parent
93f64487
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/clmc-service/install-tick-stack.sh
+16
-0
16 additions, 0 deletions
scripts/clmc-service/install-tick-stack.sh
with
16 additions
and
0 deletions
scripts/clmc-service/install-tick-stack.sh
+
16
−
0
View file @
2569f8ae
...
...
@@ -49,3 +49,19 @@ systemctl start influxdb
systemctl start kapacitor
systemctl start chronograf
# wait for kapacitor to start
while
!
nc
-z
localhost 9092
do
echo
"Waiting for kapacitor port 9092 to be ready on localhost..."
sleep
1
done
# define the TICK script templates within Kapacitor
echo
"----> Creating alert templates in Kapacitor"
cd
${
REPO_ROOT
}
/src/service/clmcservice/resources/TICKscript
for
template_file
in
*
.tick
;
do
template_id
=
$(
basename
${
template_file
}
.tick
)
echo
${
template_id
}
${
template_file
}
kapacitor define-template
${
template_id
}
-tick
${
template_file
}
done
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment