Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
stork
Commits
fad36034
Commit
fad36034
authored
Sep 10, 2019
by
Franciszek Gorski
Browse files
[11-Installation_script_for_Stork] add .sh script for Stork installation
parent
c6eda1f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.sh
0 → 100755
View file @
fad36034
#!/bin/bash
echo
-n
"Searching for Prometheus ..."
if
!
which prometheus
>
/dev/null
;
then
echo
-e
"
\n
Prometheus not found! Install? (y/n)
\c
"
read
if
"
$REPLY
"
=
"y"
;
then
sudo
apt-get
install
prometheus
echo
"Prometheus has been already installed."
fi
else
echo
" yes."
fi
echo
-n
"Searching for Grafana ..."
if
!
which grafana-server
>
/dev/null
;
then
echo
-e
"
\n
Grafana not found! Install? (y/n)
\c
"
read
if
"
$REPLY
"
=
"y"
;
then
sudo
apt-get
install
grafana
echo
"Grafana has been already installed."
fi
else
echo
" yes."
fi
echo
-n
"Searching for Kea-exporter ..."
if
!
which kea-exporter
>
/dev/null
;
then
echo
-e
"
\n
Kea-exporter not found! Install? (y/n)
\c
"
read
if
"
$REPLY
"
=
"y"
;
then
sudo
pip3
install
kea-exporter
echo
"Kea-exporter has been already installed."
fi
else
echo
" yes."
fi
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